@azure/arm-commitmentplans 2.0.0-beta.2 → 2.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -4
- package/LICENSE +4 -4
- package/README.md +30 -20
- package/{dist-esm/src → dist/browser}/azureMLCommitmentPlansManagementClient.d.ts +4 -2
- package/dist/browser/azureMLCommitmentPlansManagementClient.d.ts.map +1 -0
- package/dist/browser/azureMLCommitmentPlansManagementClient.js +114 -0
- package/dist/browser/azureMLCommitmentPlansManagementClient.js.map +1 -0
- package/dist/browser/index.d.ts +5 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/index.js +4 -3
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.d.ts +29 -22
- package/{dist-esm/src → dist/browser}/models/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/models/index.js +7 -0
- package/dist/browser/models/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.js +16 -7
- 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 +30 -33
- 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 +56 -63
- 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 +16 -27
- 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 +16 -27
- 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 +30 -33
- 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.d.ts +13 -0
- package/dist/browser/pagingHelper.d.ts.map +1 -0
- package/dist/browser/pagingHelper.js +30 -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 +119 -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 -706
- 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 +753 -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 +205 -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 +330 -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 +81 -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 +81 -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 +133 -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 +34 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
- package/dist/esm/azureMLCommitmentPlansManagementClient.d.ts +24 -0
- package/dist/esm/azureMLCommitmentPlansManagementClient.d.ts.map +1 -0
- package/dist/esm/azureMLCommitmentPlansManagementClient.js +114 -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 -4
- 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 +750 -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 +200 -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 +325 -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 +76 -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 +76 -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 +128 -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 +30 -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 +114 -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 +750 -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 +200 -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 +325 -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 +76 -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 +76 -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 +128 -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 +30 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +86 -73
- package/review/{arm-commitmentplans.api.md → arm-commitmentplans-node.api.md} +7 -11
- package/dist/index.js +0 -1839
- 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 +0 -73
- package/dist-esm/src/azureMLCommitmentPlansManagementClient.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.d.ts.map +0 -1
- 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/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -40
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/rollup.config.js +0 -122
- package/src/azureMLCommitmentPlansManagementClient.ts +0 -120
- package/src/models/index.ts +0 -579
- package/src/models/mappers.ts +0 -773
- package/src/models/parameters.ts +0 -147
- package/src/operations/commitmentAssociations.ts +0 -281
- package/src/operations/commitmentPlans.ts +0 -420
- package/src/operations/index.ts +0 -13
- package/src/operations/operations.ts +0 -95
- package/src/operations/skus.ts +0 -94
- package/src/operations/usageHistory.ts +0 -183
- 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/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/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
|
@@ -700,42 +700,51 @@ export const CommitmentAssociation = {
|
|
|
700
700
|
type: {
|
|
701
701
|
name: "Composite",
|
|
702
702
|
className: "CommitmentAssociation",
|
|
703
|
-
modelProperties:
|
|
703
|
+
modelProperties: {
|
|
704
|
+
...Resource.type.modelProperties,
|
|
705
|
+
etag: {
|
|
704
706
|
serializedName: "etag",
|
|
705
707
|
type: {
|
|
706
708
|
name: "String"
|
|
707
709
|
}
|
|
708
|
-
},
|
|
710
|
+
},
|
|
711
|
+
properties: {
|
|
709
712
|
serializedName: "properties",
|
|
710
713
|
type: {
|
|
711
714
|
name: "Composite",
|
|
712
715
|
className: "CommitmentAssociationProperties"
|
|
713
716
|
}
|
|
714
|
-
}
|
|
717
|
+
}
|
|
718
|
+
}
|
|
715
719
|
}
|
|
716
720
|
};
|
|
717
721
|
export const CommitmentPlan = {
|
|
718
722
|
type: {
|
|
719
723
|
name: "Composite",
|
|
720
724
|
className: "CommitmentPlan",
|
|
721
|
-
modelProperties:
|
|
725
|
+
modelProperties: {
|
|
726
|
+
...Resource.type.modelProperties,
|
|
727
|
+
etag: {
|
|
722
728
|
serializedName: "etag",
|
|
723
729
|
type: {
|
|
724
730
|
name: "String"
|
|
725
731
|
}
|
|
726
|
-
},
|
|
732
|
+
},
|
|
733
|
+
properties: {
|
|
727
734
|
serializedName: "properties",
|
|
728
735
|
type: {
|
|
729
736
|
name: "Composite",
|
|
730
737
|
className: "CommitmentPlanProperties"
|
|
731
738
|
}
|
|
732
|
-
},
|
|
739
|
+
},
|
|
740
|
+
sku: {
|
|
733
741
|
serializedName: "sku",
|
|
734
742
|
type: {
|
|
735
743
|
name: "Composite",
|
|
736
744
|
className: "ResourceSku"
|
|
737
745
|
}
|
|
738
|
-
}
|
|
746
|
+
}
|
|
747
|
+
}
|
|
739
748
|
}
|
|
740
749
|
};
|
|
741
750
|
//# sourceMappingURL=mappers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,yBAAyB,GAA+B;IACnE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,2BAA2B;QACtC,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,iBAAiB;yBAC7B;qBACF;iBACF;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAA+B;IACzD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,iBAAiB;QAC5B,eAAe,EAAE;YACf,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,OAAO,EAAE;gBACP,cAAc,EAAE,SAAS;gBACz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F;YACD,UAAU,EAAE;gBACV,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,iCAAiC;iBAC7C;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAA+B;IACxD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,gBAAgB;QAC3B,eAAe,EAAE;YACf,GAAG,QAAQ,CAAC,IAAI,CAAC,eAAe;YAChC,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,UAAU,EAAE;gBACV,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,0BAA0B;iBACtC;aACF;YACD,GAAG,EAAE;gBACH,cAAc,EAAE,KAAK;gBACrB,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,aAAa;iBACzB;aACF;SACF;KACF;CACF,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 * as coreClient from \"@azure/core-client\";\n\nexport const OperationEntityListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationEntityListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"OperationEntity\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const OperationEntity: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationEntity\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationDisplayInfo\"\n }\n }\n }\n }\n};\n\nexport const OperationDisplayInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplayInfo\",\n modelProperties: {\n description: {\n serializedName: \"description\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n operation: {\n serializedName: \"operation\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n provider: {\n serializedName: \"provider\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n resource: {\n serializedName: \"resource\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SkuListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SkuListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CatalogSku\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const CatalogSku: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CatalogSku\",\n modelProperties: {\n resourceType: {\n serializedName: \"resourceType\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n tier: {\n serializedName: \"tier\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n locations: {\n serializedName: \"locations\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n capacity: {\n serializedName: \"capacity\",\n type: {\n name: \"Composite\",\n className: \"SkuCapacity\"\n }\n },\n capabilities: {\n serializedName: \"capabilities\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SkuCapability\"\n }\n }\n }\n },\n costs: {\n serializedName: \"costs\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SkuCost\"\n }\n }\n }\n },\n restrictions: {\n serializedName: \"restrictions\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SkuRestrictions\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const SkuCapacity: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SkuCapacity\",\n modelProperties: {\n minimum: {\n serializedName: \"minimum\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n maximum: {\n serializedName: \"maximum\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n default: {\n serializedName: \"default\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n scaleType: {\n serializedName: \"scaleType\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SkuCapability: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SkuCapability\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SkuCost: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SkuCost\",\n modelProperties: {\n meterID: {\n serializedName: \"meterID\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n quantity: {\n serializedName: \"quantity\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n extendedUnit: {\n serializedName: \"extendedUnit\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SkuRestrictions: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SkuRestrictions\",\n modelProperties: {\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n values: {\n serializedName: \"values\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n reasonCode: {\n serializedName: \"reasonCode\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CommitmentAssociationProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CommitmentAssociationProperties\",\n modelProperties: {\n associatedResourceId: {\n serializedName: \"associatedResourceId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n commitmentPlanId: {\n serializedName: \"commitmentPlanId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n creationDate: {\n serializedName: \"creationDate\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n location: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const CommitmentAssociationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CommitmentAssociationListResult\",\n modelProperties: {\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n },\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CommitmentAssociation\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const MoveCommitmentAssociationRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MoveCommitmentAssociationRequest\",\n modelProperties: {\n destinationPlanId: {\n serializedName: \"destinationPlanId\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CommitmentPlanProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CommitmentPlanProperties\",\n modelProperties: {\n chargeForOverage: {\n serializedName: \"chargeForOverage\",\n readOnly: true,\n type: {\n name: \"Boolean\"\n }\n },\n chargeForPlan: {\n serializedName: \"chargeForPlan\",\n readOnly: true,\n type: {\n name: \"Boolean\"\n }\n },\n creationDate: {\n serializedName: \"creationDate\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n includedQuantities: {\n serializedName: \"includedQuantities\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"Composite\", className: \"PlanQuantity\" } }\n }\n },\n maxAssociationLimit: {\n serializedName: \"maxAssociationLimit\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n maxCapacityLimit: {\n serializedName: \"maxCapacityLimit\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n minCapacityLimit: {\n serializedName: \"minCapacityLimit\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n planMeter: {\n serializedName: \"planMeter\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n refillFrequencyInDays: {\n serializedName: \"refillFrequencyInDays\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n suspendPlanOnOverage: {\n serializedName: \"suspendPlanOnOverage\",\n readOnly: true,\n type: {\n name: \"Boolean\"\n }\n }\n }\n }\n};\n\nexport const PlanQuantity: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PlanQuantity\",\n modelProperties: {\n allowance: {\n serializedName: \"allowance\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n amount: {\n serializedName: \"amount\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n includedQuantityMeter: {\n serializedName: \"includedQuantityMeter\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n overageMeter: {\n serializedName: \"overageMeter\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ResourceSku: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceSku\",\n modelProperties: {\n capacity: {\n serializedName: \"capacity\",\n type: {\n name: \"Number\"\n }\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n tier: {\n serializedName: \"tier\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CommitmentPlanPatchPayload: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CommitmentPlanPatchPayload\",\n modelProperties: {\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n sku: {\n serializedName: \"sku\",\n type: {\n name: \"Composite\",\n className: \"ResourceSku\"\n }\n }\n }\n }\n};\n\nexport const CommitmentPlanListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CommitmentPlanListResult\",\n modelProperties: {\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n },\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CommitmentPlan\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const PlanUsageHistoryListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PlanUsageHistoryListResult\",\n modelProperties: {\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n },\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"PlanUsageHistory\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const PlanUsageHistory: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PlanUsageHistory\",\n modelProperties: {\n planDeletionOverage: {\n serializedName: \"planDeletionOverage\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"Number\" } }\n }\n },\n planMigrationOverage: {\n serializedName: \"planMigrationOverage\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"Number\" } }\n }\n },\n planQuantitiesAfterUsage: {\n serializedName: \"planQuantitiesAfterUsage\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"Number\" } }\n }\n },\n planQuantitiesBeforeUsage: {\n serializedName: \"planQuantitiesBeforeUsage\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"Number\" } }\n }\n },\n planUsageOverage: {\n serializedName: \"planUsageOverage\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"Number\" } }\n }\n },\n usage: {\n serializedName: \"usage\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"Number\" } }\n }\n },\n usageDate: {\n serializedName: \"usageDate\",\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const CommitmentAssociation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CommitmentAssociation\",\n modelProperties: {\n ...Resource.type.modelProperties,\n etag: {\n serializedName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"CommitmentAssociationProperties\"\n }\n }\n }\n }\n};\n\nexport const CommitmentPlan: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CommitmentPlan\",\n modelProperties: {\n ...Resource.type.modelProperties,\n etag: {\n serializedName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"CommitmentPlanProperties\"\n }\n },\n sku: {\n serializedName: \"sku\",\n type: {\n name: \"Composite\",\n className: \"ResourceSku\"\n }\n }\n }\n }\n};\n"]}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { MoveCommitmentAssociationRequest as MoveCommitmentAssociationRequestMapper, CommitmentPlan as CommitmentPlanMapper, CommitmentPlanPatchPayload as CommitmentPlanPatchPayloadMapper } from "../models/mappers";
|
|
8
|
+
import { MoveCommitmentAssociationRequest as MoveCommitmentAssociationRequestMapper, CommitmentPlan as CommitmentPlanMapper, CommitmentPlanPatchPayload as CommitmentPlanPatchPayloadMapper } from "../models/mappers.js";
|
|
9
9
|
export const accept = {
|
|
10
10
|
parameterPath: "accept",
|
|
11
11
|
mapper: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,gCAAgC,IAAI,sCAAsC,EAC1E,cAAc,IAAI,oBAAoB,EACtC,0BAA0B,IAAI,gCAAgC,EAC/D,MAAM,sBAAsB,CAAC;AAE9B,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA4B;IACjD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,YAAY,EAAE,oBAAoB;QAClC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,aAAa;QAC7B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAA0B;IACnD,aAAa,EAAE,gBAAgB;IAC/B,MAAM,EAAE;QACN,cAAc,EAAE,gBAAgB;QAChC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,M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,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAuB;IACvD,aAAa,EAAE,uBAAuB;IACtC,MAAM,EAAE,oBAAoB;CAC7B,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAuB;IAC9C,aAAa,EAAE,cAAc;IAC7B,MAAM,EAAE,gCAAgC;CACzC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n MoveCommitmentAssociationRequest as MoveCommitmentAssociationRequestMapper,\n CommitmentPlan as CommitmentPlanMapper,\n CommitmentPlanPatchPayload as CommitmentPlanPatchPayloadMapper\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2016-05-01-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const commitmentPlanName: OperationURLParameter = {\n parameterPath: \"commitmentPlanName\",\n mapper: {\n serializedName: \"commitmentPlanName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const commitmentAssociationName: OperationURLParameter = {\n parameterPath: \"commitmentAssociationName\",\n mapper: {\n serializedName: \"commitmentAssociationName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const skipToken: OperationQueryParameter = {\n parameterPath: [\"options\", \"skipToken\"],\n mapper: {\n serializedName: \"$skipToken\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const movePayload: OperationParameter = {\n parameterPath: \"movePayload\",\n mapper: MoveCommitmentAssociationRequestMapper\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const createOrUpdatePayload: OperationParameter = {\n parameterPath: \"createOrUpdatePayload\",\n mapper: CommitmentPlanMapper\n};\n\nexport const patchPayload: OperationParameter = {\n parameterPath: \"patchPayload\",\n mapper: CommitmentPlanPatchPayloadMapper\n};\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { CommitmentAssociations } from "../operationsInterfaces";
|
|
3
|
-
import { AzureMLCommitmentPlansManagementClient } from "../azureMLCommitmentPlansManagementClient";
|
|
4
|
-
import { CommitmentAssociation, CommitmentAssociationsListOptionalParams, CommitmentAssociationsGetOptionalParams, CommitmentAssociationsGetResponse, MoveCommitmentAssociationRequest, CommitmentAssociationsMoveOptionalParams, CommitmentAssociationsMoveResponse } from "../models";
|
|
2
|
+
import { CommitmentAssociations } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { AzureMLCommitmentPlansManagementClient } from "../azureMLCommitmentPlansManagementClient.js";
|
|
4
|
+
import { CommitmentAssociation, CommitmentAssociationsListOptionalParams, CommitmentAssociationsGetOptionalParams, CommitmentAssociationsGetResponse, MoveCommitmentAssociationRequest, CommitmentAssociationsMoveOptionalParams, CommitmentAssociationsMoveResponse } from "../models/index.js";
|
|
5
5
|
/** Class containing CommitmentAssociations operations. */
|
|
6
6
|
export declare class CommitmentAssociationsImpl implements CommitmentAssociations {
|
|
7
7
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commitmentAssociations.d.ts","sourceRoot":"","sources":["../../../src/operations/commitmentAssociations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAI1E,OAAO,EAAE,sCAAsC,EAAE,MAAM,8CAA8C,CAAC;AACtG,OAAO,EACL,qBAAqB,EAErB,wCAAwC,EAExC,uCAAuC,EACvC,iCAAiC,EACjC,gCAAgC,EAChC,wCAAwC,EACxC,kCAAkC,EAEnC,MAAM,oBAAoB,CAAC;AAG5B,0DAA0D;AAC1D,qBAAa,0BAA2B,YAAW,sBAAsB;IACvE,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,wCAAwC,GACjD,0BAA0B,CAAC,qBAAqB,CAAC;YA2BrC,cAAc;YA6Bd,aAAa;IAc5B;;;;;;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;IAY7C;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;;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;IAa9C;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
|
|
@@ -5,13 +5,14 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
8
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
9
9
|
import * as coreClient from "@azure/core-client";
|
|
10
|
-
import * as Mappers from "../models/mappers";
|
|
11
|
-
import * as Parameters from "../models/parameters";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
12
12
|
/// <reference lib="esnext.asynciterable" />
|
|
13
13
|
/** Class containing CommitmentAssociations operations. */
|
|
14
14
|
export class CommitmentAssociationsImpl {
|
|
15
|
+
client;
|
|
15
16
|
/**
|
|
16
17
|
* Initialize a new instance of the class CommitmentAssociations class.
|
|
17
18
|
* @param client Reference to the service client
|
|
@@ -34,40 +35,36 @@ export class CommitmentAssociationsImpl {
|
|
|
34
35
|
[Symbol.asyncIterator]() {
|
|
35
36
|
return this;
|
|
36
37
|
},
|
|
37
|
-
byPage: () => {
|
|
38
|
-
|
|
38
|
+
byPage: (settings) => {
|
|
39
|
+
if (settings?.maxPageSize) {
|
|
40
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
41
|
+
}
|
|
42
|
+
return this.listPagingPage(resourceGroupName, commitmentPlanName, options, settings);
|
|
39
43
|
}
|
|
40
44
|
};
|
|
41
45
|
}
|
|
42
|
-
listPagingPage(resourceGroupName, commitmentPlanName, options) {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
46
|
+
async *listPagingPage(resourceGroupName, commitmentPlanName, options, settings) {
|
|
47
|
+
let result;
|
|
48
|
+
let continuationToken = settings?.continuationToken;
|
|
49
|
+
if (!continuationToken) {
|
|
50
|
+
result = await this._list(resourceGroupName, commitmentPlanName, options);
|
|
51
|
+
let page = result.value || [];
|
|
52
|
+
continuationToken = result.nextLink;
|
|
53
|
+
setContinuationToken(page, continuationToken);
|
|
54
|
+
yield page;
|
|
55
|
+
}
|
|
56
|
+
while (continuationToken) {
|
|
57
|
+
result = await this._listNext(resourceGroupName, commitmentPlanName, continuationToken, options);
|
|
58
|
+
continuationToken = result.nextLink;
|
|
59
|
+
let page = result.value || [];
|
|
60
|
+
setContinuationToken(page, continuationToken);
|
|
61
|
+
yield page;
|
|
62
|
+
}
|
|
53
63
|
}
|
|
54
|
-
listPagingAll(resourceGroupName, commitmentPlanName, options) {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
for (var _b = __asyncValues(this.listPagingPage(resourceGroupName, commitmentPlanName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
59
|
-
const page = _c.value;
|
|
60
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
64
|
-
finally {
|
|
65
|
-
try {
|
|
66
|
-
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
67
|
-
}
|
|
68
|
-
finally { if (e_1) throw e_1.error; }
|
|
69
|
-
}
|
|
70
|
-
});
|
|
64
|
+
async *listPagingAll(resourceGroupName, commitmentPlanName, options) {
|
|
65
|
+
for await (const page of this.listPagingPage(resourceGroupName, commitmentPlanName, options)) {
|
|
66
|
+
yield* page;
|
|
67
|
+
}
|
|
71
68
|
}
|
|
72
69
|
/**
|
|
73
70
|
* Get a commitment association.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commitmentAssociations.js","sourceRoot":"","sources":["../../../src/operations/commitmentAssociations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAetD,4CAA4C;AAC5C,0DAA0D;AAC1D,MAAM,OAAO,0BAA0B;IACpB,MAAM,CAAyC;IAEhE;;;OAGG;IACH,YAAY,MAA8C;QACxD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,kBAA0B,EAC1B,OAAkD;QAElD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAC7B,iBAAiB,EACjB,kBAAkB,EAClB,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CACxB,iBAAiB,EACjB,kBAAkB,EAClB,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,cAAc,CAC3B,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C,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 { CommitmentAssociations } 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 CommitmentAssociation,\n CommitmentAssociationsListNextOptionalParams,\n CommitmentAssociationsListOptionalParams,\n CommitmentAssociationsListResponse,\n CommitmentAssociationsGetOptionalParams,\n CommitmentAssociationsGetResponse,\n MoveCommitmentAssociationRequest,\n CommitmentAssociationsMoveOptionalParams,\n CommitmentAssociationsMoveResponse,\n CommitmentAssociationsListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing CommitmentAssociations operations. */\nexport class CommitmentAssociationsImpl implements CommitmentAssociations {\n private readonly client: AzureMLCommitmentPlansManagementClient;\n\n /**\n * Initialize a new instance of the class CommitmentAssociations class.\n * @param client Reference to the service client\n */\n constructor(client: AzureMLCommitmentPlansManagementClient) {\n this.client = client;\n }\n\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 public list(\n resourceGroupName: string,\n commitmentPlanName: string,\n options?: CommitmentAssociationsListOptionalParams\n ): PagedAsyncIterableIterator<CommitmentAssociation> {\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?: CommitmentAssociationsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<CommitmentAssociation[]> {\n let result: CommitmentAssociationsListResponse;\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?: CommitmentAssociationsListOptionalParams\n ): AsyncIterableIterator<CommitmentAssociation> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n commitmentPlanName,\n options\n )) {\n yield* page;\n }\n }\n\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 return this.client.sendOperationRequest(\n {\n resourceGroupName,\n commitmentPlanName,\n commitmentAssociationName,\n options\n },\n getOperationSpec\n );\n }\n\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 private _list(\n resourceGroupName: string,\n commitmentPlanName: string,\n options?: CommitmentAssociationsListOptionalParams\n ): Promise<CommitmentAssociationsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, commitmentPlanName, options },\n listOperationSpec\n );\n }\n\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 return this.client.sendOperationRequest(\n {\n resourceGroupName,\n commitmentPlanName,\n commitmentAssociationName,\n movePayload,\n options\n },\n moveOperationSpec\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?: CommitmentAssociationsListNextOptionalParams\n ): Promise<CommitmentAssociationsListNextResponse> {\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 getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/commitmentPlans/{commitmentPlanName}/commitmentAssociations/{commitmentAssociationName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CommitmentAssociation\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.commitmentPlanName,\n Parameters.commitmentAssociationName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/commitmentPlans/{commitmentPlanName}/commitmentAssociations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CommitmentAssociationListResult\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 moveOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/commitmentPlans/{commitmentPlanName}/commitmentAssociations/{commitmentAssociationName}/move\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CommitmentAssociation\n }\n },\n requestBody: Parameters.movePayload,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.commitmentPlanName,\n Parameters.commitmentAssociationName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CommitmentAssociationListResult\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"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { CommitmentPlans } from "../operationsInterfaces";
|
|
3
|
-
import { AzureMLCommitmentPlansManagementClient } from "../azureMLCommitmentPlansManagementClient";
|
|
4
|
-
import { CommitmentPlan, CommitmentPlansListOptionalParams, CommitmentPlansListInResourceGroupOptionalParams, CommitmentPlansGetOptionalParams, CommitmentPlansGetResponse, CommitmentPlansCreateOrUpdateOptionalParams, CommitmentPlansCreateOrUpdateResponse, CommitmentPlansRemoveOptionalParams, CommitmentPlanPatchPayload, CommitmentPlansPatchOptionalParams, CommitmentPlansPatchResponse } from "../models";
|
|
2
|
+
import { CommitmentPlans } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { AzureMLCommitmentPlansManagementClient } from "../azureMLCommitmentPlansManagementClient.js";
|
|
4
|
+
import { CommitmentPlan, CommitmentPlansListOptionalParams, CommitmentPlansListInResourceGroupOptionalParams, CommitmentPlansGetOptionalParams, CommitmentPlansGetResponse, CommitmentPlansCreateOrUpdateOptionalParams, CommitmentPlansCreateOrUpdateResponse, CommitmentPlansRemoveOptionalParams, CommitmentPlanPatchPayload, CommitmentPlansPatchOptionalParams, CommitmentPlansPatchResponse } from "../models/index.js";
|
|
5
5
|
/** Class containing CommitmentPlans operations. */
|
|
6
6
|
export declare class CommitmentPlansImpl implements CommitmentPlans {
|
|
7
7
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commitmentPlans.d.ts","sourceRoot":"","sources":["../../../src/operations/commitmentPlans.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAInE,OAAO,EAAE,sCAAsC,EAAE,MAAM,8CAA8C,CAAC;AACtG,OAAO,EACL,cAAc,EAEd,iCAAiC,EAGjC,gDAAgD,EAEhD,gCAAgC,EAChC,0BAA0B,EAC1B,2CAA2C,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BAAoB;IAU5B;;;;OAIG;IACH,OAAO,CAAC,SAAS;IAUjB;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;CAUjC"}
|
|
@@ -5,13 +5,14 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
8
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
9
9
|
import * as coreClient from "@azure/core-client";
|
|
10
|
-
import * as Mappers from "../models/mappers";
|
|
11
|
-
import * as Parameters from "../models/parameters";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
12
12
|
/// <reference lib="esnext.asynciterable" />
|
|
13
13
|
/** Class containing CommitmentPlans operations. */
|
|
14
14
|
export class CommitmentPlansImpl {
|
|
15
|
+
client;
|
|
15
16
|
/**
|
|
16
17
|
* Initialize a new instance of the class CommitmentPlans class.
|
|
17
18
|
* @param client Reference to the service client
|
|
@@ -32,40 +33,36 @@ export class CommitmentPlansImpl {
|
|
|
32
33
|
[Symbol.asyncIterator]() {
|
|
33
34
|
return this;
|
|
34
35
|
},
|
|
35
|
-
byPage: () => {
|
|
36
|
-
|
|
36
|
+
byPage: (settings) => {
|
|
37
|
+
if (settings?.maxPageSize) {
|
|
38
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
39
|
+
}
|
|
40
|
+
return this.listPagingPage(options, settings);
|
|
37
41
|
}
|
|
38
42
|
};
|
|
39
43
|
}
|
|
40
|
-
listPagingPage(options) {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
44
|
+
async *listPagingPage(options, settings) {
|
|
45
|
+
let result;
|
|
46
|
+
let continuationToken = settings?.continuationToken;
|
|
47
|
+
if (!continuationToken) {
|
|
48
|
+
result = await this._list(options);
|
|
49
|
+
let page = result.value || [];
|
|
50
|
+
continuationToken = result.nextLink;
|
|
51
|
+
setContinuationToken(page, continuationToken);
|
|
52
|
+
yield page;
|
|
53
|
+
}
|
|
54
|
+
while (continuationToken) {
|
|
55
|
+
result = await this._listNext(continuationToken, options);
|
|
56
|
+
continuationToken = result.nextLink;
|
|
57
|
+
let page = result.value || [];
|
|
58
|
+
setContinuationToken(page, continuationToken);
|
|
59
|
+
yield page;
|
|
60
|
+
}
|
|
51
61
|
}
|
|
52
|
-
listPagingAll(options) {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
57
|
-
const page = _c.value;
|
|
58
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
62
|
-
finally {
|
|
63
|
-
try {
|
|
64
|
-
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
65
|
-
}
|
|
66
|
-
finally { if (e_1) throw e_1.error; }
|
|
67
|
-
}
|
|
68
|
-
});
|
|
62
|
+
async *listPagingAll(options) {
|
|
63
|
+
for await (const page of this.listPagingPage(options)) {
|
|
64
|
+
yield* page;
|
|
65
|
+
}
|
|
69
66
|
}
|
|
70
67
|
/**
|
|
71
68
|
* Retrieve all Azure ML commitment plans in a resource group.
|
|
@@ -81,40 +78,36 @@ export class CommitmentPlansImpl {
|
|
|
81
78
|
[Symbol.asyncIterator]() {
|
|
82
79
|
return this;
|
|
83
80
|
},
|
|
84
|
-
byPage: () => {
|
|
85
|
-
|
|
81
|
+
byPage: (settings) => {
|
|
82
|
+
if (settings?.maxPageSize) {
|
|
83
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
84
|
+
}
|
|
85
|
+
return this.listInResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
|
-
listInResourceGroupPagingPage(resourceGroupName, options) {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
89
|
+
async *listInResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
90
|
+
let result;
|
|
91
|
+
let continuationToken = settings?.continuationToken;
|
|
92
|
+
if (!continuationToken) {
|
|
93
|
+
result = await this._listInResourceGroup(resourceGroupName, options);
|
|
94
|
+
let page = result.value || [];
|
|
95
|
+
continuationToken = result.nextLink;
|
|
96
|
+
setContinuationToken(page, continuationToken);
|
|
97
|
+
yield page;
|
|
98
|
+
}
|
|
99
|
+
while (continuationToken) {
|
|
100
|
+
result = await this._listInResourceGroupNext(resourceGroupName, continuationToken, options);
|
|
101
|
+
continuationToken = result.nextLink;
|
|
102
|
+
let page = result.value || [];
|
|
103
|
+
setContinuationToken(page, continuationToken);
|
|
104
|
+
yield page;
|
|
105
|
+
}
|
|
100
106
|
}
|
|
101
|
-
listInResourceGroupPagingAll(resourceGroupName, options) {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
for (var _b = __asyncValues(this.listInResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
106
|
-
const page = _c.value;
|
|
107
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
111
|
-
finally {
|
|
112
|
-
try {
|
|
113
|
-
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
114
|
-
}
|
|
115
|
-
finally { if (e_2) throw e_2.error; }
|
|
116
|
-
}
|
|
117
|
-
});
|
|
107
|
+
async *listInResourceGroupPagingAll(resourceGroupName, options) {
|
|
108
|
+
for await (const page of this.listInResourceGroupPagingPage(resourceGroupName, options)) {
|
|
109
|
+
yield* page;
|
|
110
|
+
}
|
|
118
111
|
}
|
|
119
112
|
/**
|
|
120
113
|
* Retrieve an Azure ML commitment plan by its subscription, resource group and name.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commitmentPlans.js","sourceRoot":"","sources":["../../../src/operations/commitmentPlans.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAsBtD,4CAA4C;AAC5C,mDAAmD;AACnD,MAAM,OAAO,mBAAmB;IACb,MAAM,CAAyC;IAEhE;;;OAGG;IACH,YAAY,MAA8C;QACxD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAA2C;QAE3C,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAChD,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,cAAc,CAC3B,OAA2C,EAC3C,QAAuB;QAEvB,IAAI,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K;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,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 { CommitmentPlans } 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 CommitmentPlan,\n CommitmentPlansListNextOptionalParams,\n CommitmentPlansListOptionalParams,\n CommitmentPlansListResponse,\n CommitmentPlansListInResourceGroupNextOptionalParams,\n CommitmentPlansListInResourceGroupOptionalParams,\n CommitmentPlansListInResourceGroupResponse,\n CommitmentPlansGetOptionalParams,\n CommitmentPlansGetResponse,\n CommitmentPlansCreateOrUpdateOptionalParams,\n CommitmentPlansCreateOrUpdateResponse,\n CommitmentPlansRemoveOptionalParams,\n CommitmentPlanPatchPayload,\n CommitmentPlansPatchOptionalParams,\n CommitmentPlansPatchResponse,\n CommitmentPlansListNextResponse,\n CommitmentPlansListInResourceGroupNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing CommitmentPlans operations. */\nexport class CommitmentPlansImpl implements CommitmentPlans {\n private readonly client: AzureMLCommitmentPlansManagementClient;\n\n /**\n * Initialize a new instance of the class CommitmentPlans class.\n * @param client Reference to the service client\n */\n constructor(client: AzureMLCommitmentPlansManagementClient) {\n this.client = client;\n }\n\n /**\n * Retrieve all Azure ML commitment plans in a subscription.\n * @param options The options parameters.\n */\n public list(\n options?: CommitmentPlansListOptionalParams\n ): PagedAsyncIterableIterator<CommitmentPlan> {\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?: CommitmentPlansListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<CommitmentPlan[]> {\n let result: CommitmentPlansListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(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(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: CommitmentPlansListOptionalParams\n ): AsyncIterableIterator<CommitmentPlan> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\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 public listInResourceGroup(\n resourceGroupName: string,\n options?: CommitmentPlansListInResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<CommitmentPlan> {\n const iter = this.listInResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listInResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listInResourceGroupPagingPage(\n resourceGroupName: string,\n options?: CommitmentPlansListInResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<CommitmentPlan[]> {\n let result: CommitmentPlansListInResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listInResourceGroup(resourceGroupName, 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._listInResourceGroupNext(\n resourceGroupName,\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 *listInResourceGroupPagingAll(\n resourceGroupName: string,\n options?: CommitmentPlansListInResourceGroupOptionalParams\n ): AsyncIterableIterator<CommitmentPlan> {\n for await (const page of this.listInResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\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 return this.client.sendOperationRequest(\n { resourceGroupName, commitmentPlanName, options },\n getOperationSpec\n );\n }\n\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 return this.client.sendOperationRequest(\n { resourceGroupName, commitmentPlanName, createOrUpdatePayload, options },\n createOrUpdateOperationSpec\n );\n }\n\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 return this.client.sendOperationRequest(\n { resourceGroupName, commitmentPlanName, options },\n removeOperationSpec\n );\n }\n\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 return this.client.sendOperationRequest(\n { resourceGroupName, commitmentPlanName, patchPayload, options },\n patchOperationSpec\n );\n }\n\n /**\n * Retrieve all Azure ML commitment plans in a subscription.\n * @param options The options parameters.\n */\n private _list(\n options?: CommitmentPlansListOptionalParams\n ): Promise<CommitmentPlansListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\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 private _listInResourceGroup(\n resourceGroupName: string,\n options?: CommitmentPlansListInResourceGroupOptionalParams\n ): Promise<CommitmentPlansListInResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listInResourceGroupOperationSpec\n );\n }\n\n /**\n * ListNext\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 nextLink: string,\n options?: CommitmentPlansListNextOptionalParams\n ): Promise<CommitmentPlansListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n\n /**\n * ListInResourceGroupNext\n * @param resourceGroupName The resource group name.\n * @param nextLink The nextLink from the previous successful call to the ListInResourceGroup method.\n * @param options The options parameters.\n */\n private _listInResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: CommitmentPlansListInResourceGroupNextOptionalParams\n ): Promise<CommitmentPlansListInResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listInResourceGroupNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/commitmentPlans/{commitmentPlanName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CommitmentPlan\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.commitmentPlanName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/commitmentPlans/{commitmentPlanName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.CommitmentPlan\n },\n 201: {\n bodyMapper: Mappers.CommitmentPlan\n }\n },\n requestBody: Parameters.createOrUpdatePayload,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.commitmentPlanName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst removeOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/commitmentPlans/{commitmentPlanName}\",\n httpMethod: \"DELETE\",\n responses: { 200: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.commitmentPlanName\n ],\n serializer\n};\nconst patchOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/commitmentPlans/{commitmentPlanName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.CommitmentPlan\n }\n },\n requestBody: Parameters.patchPayload,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.commitmentPlanName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearning/commitmentPlans\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CommitmentPlanListResult\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.skipToken],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listInResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/commitmentPlans\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CommitmentPlanListResult\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.skipToken],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\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.CommitmentPlanListResult\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.skipToken],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listInResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CommitmentPlanListResult\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.skipToken],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC"}
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
export * from "./operations";
|
|
9
|
-
export * from "./skus";
|
|
10
|
-
export * from "./commitmentAssociations";
|
|
11
|
-
export * from "./commitmentPlans";
|
|
12
|
-
export * from "./usageHistory";
|
|
8
|
+
export * from "./operations.js";
|
|
9
|
+
export * from "./skus.js";
|
|
10
|
+
export * from "./commitmentAssociations.js";
|
|
11
|
+
export * from "./commitmentPlans.js";
|
|
12
|
+
export * from "./usageHistory.js";
|
|
13
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./operations.js\";\nexport * from \"./skus.js\";\nexport * from \"./commitmentAssociations.js\";\nexport * from \"./commitmentPlans.js\";\nexport * from \"./usageHistory.js\";\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Operations } from "../operationsInterfaces";
|
|
3
|
-
import { AzureMLCommitmentPlansManagementClient } from "../azureMLCommitmentPlansManagementClient";
|
|
4
|
-
import { OperationEntity, OperationsListOptionalParams } from "../models";
|
|
2
|
+
import { Operations } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { AzureMLCommitmentPlansManagementClient } from "../azureMLCommitmentPlansManagementClient.js";
|
|
4
|
+
import { OperationEntity, OperationsListOptionalParams } from "../models/index.js";
|
|
5
5
|
/** Class containing Operations operations. */
|
|
6
6
|
export declare class OperationsImpl implements Operations {
|
|
7
7
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,sCAAsC,EAAE,MAAM,8CAA8C,CAAC;AACtG,OAAO,EACL,eAAe,EACf,4BAA4B,EAE7B,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyC;IAEhE;;;OAGG;gBACS,MAAM,EAAE,sCAAsC;IAI1D;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,eAAe,CAAC;YAkB/B,cAAc;YASd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;CAKd"}
|