@azure/arm-operations 4.0.0-beta.3 → 4.0.0-beta.5
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 +14 -4
- package/LICENSE +4 -4
- package/README.md +26 -19
- 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}/lroImpl.js +13 -9
- package/dist/browser/lroImpl.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.d.ts +12 -12
- package/{dist-esm/src → dist/browser}/models/index.d.ts.map +1 -1
- 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/browser/operations/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/operations/index.js +4 -4
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/managementAssociations.d.ts +3 -3
- package/dist/browser/operations/managementAssociations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/managementAssociations.js +3 -2
- package/dist/browser/operations/managementAssociations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/managementConfigurations.d.ts +3 -3
- package/dist/browser/operations/managementConfigurations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/managementConfigurations.js +3 -2
- package/dist/browser/operations/managementConfigurations.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/solutions.d.ts +3 -3
- package/dist/browser/operations/solutions.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/solutions.js +115 -112
- package/dist/browser/operations/solutions.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.js +4 -4
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/managementAssociations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/managementAssociations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/managementAssociations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/managementConfigurations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/managementConfigurations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/managementConfigurations.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/solutions.d.ts +1 -1
- package/dist/browser/operationsInterfaces/solutions.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/solutions.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsManagementClient.d.ts +4 -2
- package/dist/browser/operationsManagementClient.d.ts.map +1 -0
- package/dist/browser/operationsManagementClient.js +113 -0
- package/dist/browser/operationsManagementClient.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/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lroImpl.d.ts +16 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +37 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +272 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +10 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +19 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +488 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +18 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +157 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +5 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +15 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/managementAssociations.d.ts +49 -0
- package/dist/commonjs/operations/managementAssociations.d.ts.map +1 -0
- package/dist/commonjs/operations/managementAssociations.js +183 -0
- package/dist/commonjs/operations/managementAssociations.js.map +1 -0
- package/dist/commonjs/operations/managementConfigurations.d.ts +40 -0
- package/dist/commonjs/operations/managementConfigurations.d.ts.map +1 -0
- package/dist/commonjs/operations/managementConfigurations.js +143 -0
- package/dist/commonjs/operations/managementConfigurations.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/solutions.d.ts +78 -0
- package/dist/commonjs/operations/solutions.d.ts.map +1 -0
- package/dist/commonjs/operations/solutions.js +358 -0
- package/dist/commonjs/operations/solutions.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +5 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +15 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/managementAssociations.d.ts +41 -0
- package/dist/commonjs/operationsInterfaces/managementAssociations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/managementAssociations.js +10 -0
- package/dist/commonjs/operationsInterfaces/managementAssociations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/managementConfigurations.d.ts +32 -0
- package/dist/commonjs/operationsInterfaces/managementConfigurations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/managementConfigurations.js +10 -0
- package/dist/commonjs/operationsInterfaces/managementConfigurations.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/solutions.d.ts +70 -0
- package/dist/commonjs/operationsInterfaces/solutions.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/solutions.js +10 -0
- package/dist/commonjs/operationsInterfaces/solutions.js.map +1 -0
- package/dist/commonjs/operationsManagementClient.d.ts +24 -0
- package/dist/commonjs/operationsManagementClient.d.ts.map +1 -0
- package/dist/commonjs/operationsManagementClient.js +118 -0
- package/dist/commonjs/operationsManagementClient.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/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/lroImpl.d.ts +16 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +33 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +272 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +9 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +19 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +485 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +18 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +154 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/index.d.ts +5 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +12 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/managementAssociations.d.ts +49 -0
- package/dist/esm/operations/managementAssociations.d.ts.map +1 -0
- package/dist/esm/operations/managementAssociations.js +178 -0
- package/dist/esm/operations/managementAssociations.js.map +1 -0
- package/dist/esm/operations/managementConfigurations.d.ts +40 -0
- package/dist/esm/operations/managementConfigurations.d.ts.map +1 -0
- package/dist/esm/operations/managementConfigurations.js +138 -0
- package/dist/esm/operations/managementConfigurations.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/solutions.d.ts +78 -0
- package/dist/esm/operations/solutions.d.ts.map +1 -0
- package/dist/esm/operations/solutions.js +353 -0
- package/dist/esm/operations/solutions.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +5 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +12 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/managementAssociations.d.ts +41 -0
- package/dist/esm/operationsInterfaces/managementAssociations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/managementAssociations.js +9 -0
- package/dist/esm/operationsInterfaces/managementAssociations.js.map +1 -0
- package/dist/esm/operationsInterfaces/managementConfigurations.d.ts +32 -0
- package/dist/esm/operationsInterfaces/managementConfigurations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/managementConfigurations.js +9 -0
- package/dist/esm/operationsInterfaces/managementConfigurations.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/solutions.d.ts +70 -0
- package/dist/esm/operationsInterfaces/solutions.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/solutions.js +9 -0
- package/dist/esm/operationsInterfaces/solutions.js.map +1 -0
- package/dist/esm/operationsManagementClient.d.ts +24 -0
- package/dist/esm/operationsManagementClient.d.ts.map +1 -0
- package/dist/esm/operationsManagementClient.js +113 -0
- package/dist/esm/operationsManagementClient.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/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/lroImpl.d.ts +16 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +33 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +272 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +9 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +19 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +485 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +18 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +154 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +5 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +12 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/managementAssociations.d.ts +49 -0
- package/dist/react-native/operations/managementAssociations.d.ts.map +1 -0
- package/dist/react-native/operations/managementAssociations.js +178 -0
- package/dist/react-native/operations/managementAssociations.js.map +1 -0
- package/dist/react-native/operations/managementConfigurations.d.ts +40 -0
- package/dist/react-native/operations/managementConfigurations.d.ts.map +1 -0
- package/dist/react-native/operations/managementConfigurations.js +138 -0
- package/dist/react-native/operations/managementConfigurations.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/solutions.d.ts +78 -0
- package/dist/react-native/operations/solutions.d.ts.map +1 -0
- package/dist/react-native/operations/solutions.js +353 -0
- package/dist/react-native/operations/solutions.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +5 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +12 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/managementAssociations.d.ts +41 -0
- package/dist/react-native/operationsInterfaces/managementAssociations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/managementAssociations.js +9 -0
- package/dist/react-native/operationsInterfaces/managementAssociations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/managementConfigurations.d.ts +32 -0
- package/dist/react-native/operationsInterfaces/managementConfigurations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/managementConfigurations.js +9 -0
- package/dist/react-native/operationsInterfaces/managementConfigurations.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/solutions.d.ts +70 -0
- package/dist/react-native/operationsInterfaces/solutions.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/solutions.js +9 -0
- package/dist/react-native/operationsInterfaces/solutions.js.map +1 -0
- package/dist/react-native/operationsManagementClient.d.ts +24 -0
- package/dist/react-native/operationsManagementClient.d.ts.map +1 -0
- package/dist/react-native/operationsManagementClient.js +113 -0
- package/dist/react-native/operationsManagementClient.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 +87 -74
- package/review/{arm-operations.api.md → arm-operations-node.api.md} +3 -0
- package/dist/index.js +0 -1524
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/managementAssociationsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementAssociationsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementAssociationsCreateOrUpdateSample.js +0 -40
- package/dist-esm/samples-dev/managementAssociationsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/managementAssociationsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementAssociationsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementAssociationsDeleteSample.js +0 -34
- package/dist-esm/samples-dev/managementAssociationsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/managementAssociationsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementAssociationsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementAssociationsGetSample.js +0 -34
- package/dist-esm/samples-dev/managementAssociationsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/managementAssociationsListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementAssociationsListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementAssociationsListBySubscriptionSample.js +0 -29
- package/dist-esm/samples-dev/managementAssociationsListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/managementConfigurationsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementConfigurationsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementConfigurationsCreateOrUpdateSample.js +0 -32
- package/dist-esm/samples-dev/managementConfigurationsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/managementConfigurationsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementConfigurationsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementConfigurationsDeleteSample.js +0 -31
- package/dist-esm/samples-dev/managementConfigurationsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/managementConfigurationsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementConfigurationsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementConfigurationsGetSample.js +0 -31
- package/dist-esm/samples-dev/managementConfigurationsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/managementConfigurationsListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementConfigurationsListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementConfigurationsListBySubscriptionSample.js +0 -29
- package/dist-esm/samples-dev/managementConfigurationsListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -43
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/solutionsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/solutionsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/solutionsCreateOrUpdateSample.js +0 -51
- package/dist-esm/samples-dev/solutionsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/solutionsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/solutionsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/solutionsDeleteSample.js +0 -31
- package/dist-esm/samples-dev/solutionsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/solutionsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/solutionsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/solutionsGetSample.js +0 -31
- package/dist-esm/samples-dev/solutionsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/solutionsListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/solutionsListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/solutionsListByResourceGroupSample.js +0 -30
- package/dist-esm/samples-dev/solutionsListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/solutionsListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/solutionsListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/solutionsListBySubscriptionSample.js +0 -29
- package/dist-esm/samples-dev/solutionsListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/solutionsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/solutionsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/solutionsUpdateSample.js +0 -34
- package/dist-esm/samples-dev/solutionsUpdateSample.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/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -5
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/managementAssociations.d.ts.map +0 -1
- package/dist-esm/src/operations/managementAssociations.js.map +0 -1
- package/dist-esm/src/operations/managementConfigurations.d.ts.map +0 -1
- package/dist-esm/src/operations/managementConfigurations.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/solutions.d.ts.map +0 -1
- package/dist-esm/src/operations/solutions.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -5
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/managementAssociations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/managementAssociations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/managementConfigurations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/managementConfigurations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/solutions.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/solutions.js.map +0 -1
- package/dist-esm/src/operationsManagementClient.d.ts.map +0 -1
- package/dist-esm/src/operationsManagementClient.js +0 -73
- package/dist-esm/src/operationsManagementClient.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/lroImpl.ts +0 -34
- package/src/models/index.ts +0 -324
- package/src/models/mappers.ts +0 -503
- package/src/models/parameters.ts +0 -180
- package/src/operations/index.ts +0 -12
- package/src/operations/managementAssociations.ts +0 -237
- package/src/operations/managementConfigurations.ts +0 -188
- package/src/operations/operations.ts +0 -95
- package/src/operations/solutions.ts +0 -506
- package/src/operationsInterfaces/index.ts +0 -12
- package/src/operationsInterfaces/managementAssociations.ts +0 -82
- package/src/operationsInterfaces/managementConfigurations.ts +0 -64
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/solutions.ts +0 -139
- package/src/operationsManagementClient.ts +0 -117
- package/tsconfig.json +0 -33
- package/types/arm-operations.d.ts +0 -488
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.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/managementAssociations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/managementConfigurations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/solutions.js +0 -0
|
@@ -5,13 +5,13 @@
|
|
|
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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
8
|
import * as coreClient from "@azure/core-client";
|
|
10
|
-
import * as Mappers from "../models/mappers";
|
|
11
|
-
import * as Parameters from "../models/parameters";
|
|
9
|
+
import * as Mappers from "../models/mappers.js";
|
|
10
|
+
import * as Parameters from "../models/parameters.js";
|
|
12
11
|
/// <reference lib="esnext.asynciterable" />
|
|
13
12
|
/** Class containing Operations operations. */
|
|
14
13
|
export class OperationsImpl {
|
|
14
|
+
client;
|
|
15
15
|
/**
|
|
16
16
|
* Initialize a new instance of the class Operations class.
|
|
17
17
|
* @param client Reference to the service client
|
|
@@ -32,34 +32,23 @@ export class OperationsImpl {
|
|
|
32
32
|
[Symbol.asyncIterator]() {
|
|
33
33
|
return this;
|
|
34
34
|
},
|
|
35
|
-
byPage: () => {
|
|
36
|
-
|
|
35
|
+
byPage: (settings) => {
|
|
36
|
+
if (settings?.maxPageSize) {
|
|
37
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
38
|
+
}
|
|
39
|
+
return this.listPagingPage(options, settings);
|
|
37
40
|
}
|
|
38
41
|
};
|
|
39
42
|
}
|
|
40
|
-
listPagingPage(options) {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
});
|
|
43
|
+
async *listPagingPage(options, _settings) {
|
|
44
|
+
let result;
|
|
45
|
+
result = await this._list(options);
|
|
46
|
+
yield result.value || [];
|
|
45
47
|
}
|
|
46
|
-
listPagingAll(options) {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
51
|
-
const page = _c.value;
|
|
52
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
56
|
-
finally {
|
|
57
|
-
try {
|
|
58
|
-
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
59
|
-
}
|
|
60
|
-
finally { if (e_1) throw e_1.error; }
|
|
61
|
-
}
|
|
62
|
-
});
|
|
48
|
+
async *listPagingAll(options) {
|
|
49
|
+
for await (const page of this.listPagingPage(options)) {
|
|
50
|
+
yield* page;
|
|
51
|
+
}
|
|
63
52
|
}
|
|
64
53
|
/**
|
|
65
54
|
* Lists all of the available OperationsManagement Rest API operations.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAQtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IACR,MAAM,CAA6B;IAEpD;;;OAGG;IACH,YAAY,MAAkC;QAC5C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAsC;QAEtC,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,OAAsC,EACtC,SAAwB;QAExB,IAAI,MAA8B,CAAC;QACnC,MAAM,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACnC,MAAM,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC;IAC3B,CAAC;IAEO,KAAK,CAAC,CAAC,aAAa,CAC1B,OAAsC;QAEtC,IAAI,KAAK,EAAE,MAAM,IAAI,IAAI,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,CAAC;YACtD,KAAK,CAAC,CAAC,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IAED;;;OAGG;IACK,KAAK,CACX,OAAsC;QAEtC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB,CAAC,CAAC;IAC1E,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,sDAAsD;IAC5D,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,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 { Operations } 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 { OperationsManagementClient } from \"../operationsManagementClient.js\";\nimport {\n Operation,\n OperationsListOptionalParams,\n OperationsListResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: OperationsManagementClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: OperationsManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the available OperationsManagement Rest API operations.\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation> {\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?: OperationsListOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<Operation[]> {\n let result: OperationsListResponse;\n result = await this._list(options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the available OperationsManagement Rest API operations.\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams\n ): Promise<OperationsListResponse> {\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: \"/providers/Microsoft.OperationsManagement/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Solutions } from "../operationsInterfaces";
|
|
2
|
-
import { OperationsManagementClient } from "../operationsManagementClient";
|
|
1
|
+
import { Solutions } from "../operationsInterfaces/index.js";
|
|
2
|
+
import { OperationsManagementClient } from "../operationsManagementClient.js";
|
|
3
3
|
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
4
|
-
import { Solution, SolutionsCreateOrUpdateOptionalParams, SolutionsCreateOrUpdateResponse, SolutionPatch, SolutionsUpdateOptionalParams, SolutionsUpdateResponse, SolutionsDeleteOptionalParams, SolutionsGetOptionalParams, SolutionsGetResponse, SolutionsListByResourceGroupOptionalParams, SolutionsListByResourceGroupResponse, SolutionsListBySubscriptionOptionalParams, SolutionsListBySubscriptionResponse } from "../models";
|
|
4
|
+
import { Solution, SolutionsCreateOrUpdateOptionalParams, SolutionsCreateOrUpdateResponse, SolutionPatch, SolutionsUpdateOptionalParams, SolutionsUpdateResponse, SolutionsDeleteOptionalParams, SolutionsGetOptionalParams, SolutionsGetResponse, SolutionsListByResourceGroupOptionalParams, SolutionsListByResourceGroupResponse, SolutionsListBySubscriptionOptionalParams, SolutionsListBySubscriptionResponse } from "../models/index.js";
|
|
5
5
|
/** Class containing Solutions operations. */
|
|
6
6
|
export declare class SolutionsImpl implements Solutions {
|
|
7
7
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"solutions.d.ts","sourceRoot":"","sources":["../../../src/operations/solutions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAI7D,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,QAAQ,EACR,qCAAqC,EACrC,+BAA+B,EAC/B,aAAa,EACb,6BAA6B,EAC7B,uBAAuB,EACvB,6BAA6B,EAC7B,0BAA0B,EAC1B,oBAAoB,EACpB,0CAA0C,EAC1C,oCAAoC,EACpC,yCAAyC,EACzC,mCAAmC,EACpC,MAAM,oBAAoB,CAAC;AAE5B,6CAA6C;AAC7C,qBAAa,aAAc,YAAW,SAAS;IAC7C,OAAO,CAAC,QAA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,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,oBAAoB,CAAC;IAOhC;;;;OAIG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC;IAOhD;;;OAGG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC;CAMhD"}
|
|
@@ -5,14 +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 { __awaiter } from "tslib";
|
|
9
8
|
import * as coreClient from "@azure/core-client";
|
|
10
|
-
import * as Mappers from "../models/mappers";
|
|
11
|
-
import * as Parameters from "../models/parameters";
|
|
9
|
+
import * as Mappers from "../models/mappers.js";
|
|
10
|
+
import * as Parameters from "../models/parameters.js";
|
|
12
11
|
import { LroEngine } from "@azure/core-lro";
|
|
13
|
-
import { LroImpl } from "../lroImpl";
|
|
12
|
+
import { LroImpl } from "../lroImpl.js";
|
|
14
13
|
/** Class containing Solutions operations. */
|
|
15
14
|
export class SolutionsImpl {
|
|
15
|
+
client;
|
|
16
16
|
/**
|
|
17
17
|
* Initialize a new instance of the class Solutions class.
|
|
18
18
|
* @param client Reference to the service client
|
|
@@ -27,38 +27,41 @@ export class SolutionsImpl {
|
|
|
27
27
|
* @param parameters The parameters required to create OMS Solution.
|
|
28
28
|
* @param options The options parameters.
|
|
29
29
|
*/
|
|
30
|
-
beginCreateOrUpdate(resourceGroupName, solutionName, parameters, options) {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
30
|
+
async beginCreateOrUpdate(resourceGroupName, solutionName, parameters, options) {
|
|
31
|
+
const directSendOperation = async (args, spec) => {
|
|
32
|
+
return this.client.sendOperationRequest(args, spec);
|
|
33
|
+
};
|
|
34
|
+
const sendOperation = async (args, spec) => {
|
|
35
|
+
let currentRawResponse = undefined;
|
|
36
|
+
const providedCallback = args.options?.onResponse;
|
|
37
|
+
const callback = (rawResponse, flatResponse) => {
|
|
38
|
+
currentRawResponse = rawResponse;
|
|
39
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
40
|
+
};
|
|
41
|
+
const updatedArgs = {
|
|
42
|
+
...args,
|
|
43
|
+
options: {
|
|
44
|
+
...args.options,
|
|
45
|
+
onResponse: callback
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
49
|
+
return {
|
|
50
|
+
flatResponse,
|
|
51
|
+
rawResponse: {
|
|
52
|
+
statusCode: currentRawResponse.status,
|
|
53
|
+
body: currentRawResponse.parsedBody,
|
|
54
|
+
headers: currentRawResponse.headers.toJSON()
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, solutionName, parameters, options }, createOrUpdateOperationSpec);
|
|
59
|
+
const poller = new LroEngine(lro, {
|
|
60
|
+
resumeFrom: options?.resumeFrom,
|
|
61
|
+
intervalInMs: options?.updateIntervalInMs
|
|
61
62
|
});
|
|
63
|
+
await poller.poll();
|
|
64
|
+
return poller;
|
|
62
65
|
}
|
|
63
66
|
/**
|
|
64
67
|
* Creates or updates the Solution.
|
|
@@ -67,11 +70,9 @@ export class SolutionsImpl {
|
|
|
67
70
|
* @param parameters The parameters required to create OMS Solution.
|
|
68
71
|
* @param options The options parameters.
|
|
69
72
|
*/
|
|
70
|
-
beginCreateOrUpdateAndWait(resourceGroupName, solutionName, parameters, options) {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
return poller.pollUntilDone();
|
|
74
|
-
});
|
|
73
|
+
async beginCreateOrUpdateAndWait(resourceGroupName, solutionName, parameters, options) {
|
|
74
|
+
const poller = await this.beginCreateOrUpdate(resourceGroupName, solutionName, parameters, options);
|
|
75
|
+
return poller.pollUntilDone();
|
|
75
76
|
}
|
|
76
77
|
/**
|
|
77
78
|
* Patch a Solution. Only updating tags supported.
|
|
@@ -80,38 +81,41 @@ export class SolutionsImpl {
|
|
|
80
81
|
* @param parameters The parameters required to patch a Solution.
|
|
81
82
|
* @param options The options parameters.
|
|
82
83
|
*/
|
|
83
|
-
beginUpdate(resourceGroupName, solutionName, parameters, options) {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
84
|
+
async beginUpdate(resourceGroupName, solutionName, parameters, options) {
|
|
85
|
+
const directSendOperation = async (args, spec) => {
|
|
86
|
+
return this.client.sendOperationRequest(args, spec);
|
|
87
|
+
};
|
|
88
|
+
const sendOperation = async (args, spec) => {
|
|
89
|
+
let currentRawResponse = undefined;
|
|
90
|
+
const providedCallback = args.options?.onResponse;
|
|
91
|
+
const callback = (rawResponse, flatResponse) => {
|
|
92
|
+
currentRawResponse = rawResponse;
|
|
93
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
94
|
+
};
|
|
95
|
+
const updatedArgs = {
|
|
96
|
+
...args,
|
|
97
|
+
options: {
|
|
98
|
+
...args.options,
|
|
99
|
+
onResponse: callback
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
103
|
+
return {
|
|
104
|
+
flatResponse,
|
|
105
|
+
rawResponse: {
|
|
106
|
+
statusCode: currentRawResponse.status,
|
|
107
|
+
body: currentRawResponse.parsedBody,
|
|
108
|
+
headers: currentRawResponse.headers.toJSON()
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, solutionName, parameters, options }, updateOperationSpec);
|
|
113
|
+
const poller = new LroEngine(lro, {
|
|
114
|
+
resumeFrom: options?.resumeFrom,
|
|
115
|
+
intervalInMs: options?.updateIntervalInMs
|
|
114
116
|
});
|
|
117
|
+
await poller.poll();
|
|
118
|
+
return poller;
|
|
115
119
|
}
|
|
116
120
|
/**
|
|
117
121
|
* Patch a Solution. Only updating tags supported.
|
|
@@ -120,11 +124,9 @@ export class SolutionsImpl {
|
|
|
120
124
|
* @param parameters The parameters required to patch a Solution.
|
|
121
125
|
* @param options The options parameters.
|
|
122
126
|
*/
|
|
123
|
-
beginUpdateAndWait(resourceGroupName, solutionName, parameters, options) {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
return poller.pollUntilDone();
|
|
127
|
-
});
|
|
127
|
+
async beginUpdateAndWait(resourceGroupName, solutionName, parameters, options) {
|
|
128
|
+
const poller = await this.beginUpdate(resourceGroupName, solutionName, parameters, options);
|
|
129
|
+
return poller.pollUntilDone();
|
|
128
130
|
}
|
|
129
131
|
/**
|
|
130
132
|
* Deletes the solution in the subscription.
|
|
@@ -132,38 +134,41 @@ export class SolutionsImpl {
|
|
|
132
134
|
* @param solutionName User Solution Name.
|
|
133
135
|
* @param options The options parameters.
|
|
134
136
|
*/
|
|
135
|
-
beginDelete(resourceGroupName, solutionName, options) {
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
137
|
+
async beginDelete(resourceGroupName, solutionName, options) {
|
|
138
|
+
const directSendOperation = async (args, spec) => {
|
|
139
|
+
return this.client.sendOperationRequest(args, spec);
|
|
140
|
+
};
|
|
141
|
+
const sendOperation = async (args, spec) => {
|
|
142
|
+
let currentRawResponse = undefined;
|
|
143
|
+
const providedCallback = args.options?.onResponse;
|
|
144
|
+
const callback = (rawResponse, flatResponse) => {
|
|
145
|
+
currentRawResponse = rawResponse;
|
|
146
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
147
|
+
};
|
|
148
|
+
const updatedArgs = {
|
|
149
|
+
...args,
|
|
150
|
+
options: {
|
|
151
|
+
...args.options,
|
|
152
|
+
onResponse: callback
|
|
153
|
+
}
|
|
154
|
+
};
|
|
155
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
156
|
+
return {
|
|
157
|
+
flatResponse,
|
|
158
|
+
rawResponse: {
|
|
159
|
+
statusCode: currentRawResponse.status,
|
|
160
|
+
body: currentRawResponse.parsedBody,
|
|
161
|
+
headers: currentRawResponse.headers.toJSON()
|
|
162
|
+
}
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, solutionName, options }, deleteOperationSpec);
|
|
166
|
+
const poller = new LroEngine(lro, {
|
|
167
|
+
resumeFrom: options?.resumeFrom,
|
|
168
|
+
intervalInMs: options?.updateIntervalInMs
|
|
166
169
|
});
|
|
170
|
+
await poller.poll();
|
|
171
|
+
return poller;
|
|
167
172
|
}
|
|
168
173
|
/**
|
|
169
174
|
* Deletes the solution in the subscription.
|
|
@@ -171,11 +176,9 @@ export class SolutionsImpl {
|
|
|
171
176
|
* @param solutionName User Solution Name.
|
|
172
177
|
* @param options The options parameters.
|
|
173
178
|
*/
|
|
174
|
-
beginDeleteAndWait(resourceGroupName, solutionName, options) {
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
return poller.pollUntilDone();
|
|
178
|
-
});
|
|
179
|
+
async beginDeleteAndWait(resourceGroupName, solutionName, options) {
|
|
180
|
+
const poller = await this.beginDelete(resourceGroupName, solutionName, options);
|
|
181
|
+
return poller.pollUntilDone();
|
|
179
182
|
}
|
|
180
183
|
/**
|
|
181
184
|
* Retrieves the user solution.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"solutions.js","sourceRoot":"","sources":["../../../src/operations/solutions.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAiBxC,6CAA6C;AAC7C,MAAM,OAAO,aAAa;IACP,MAAM,CAA6B;IAEpD;;;OAGG;IACH,YAAY,MAAkC;QAC5C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,mBAAmB,CACvB,iBAAyB,EACzB,YAAoB,EACpB,UAAoB,EACpB,OAA+C;QAO/C,MAAM,mBAAm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AAC;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 { Solutions } 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 { OperationsManagementClient } from \"../operationsManagementClient.js\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl.js\";\nimport {\n Solution,\n SolutionsCreateOrUpdateOptionalParams,\n SolutionsCreateOrUpdateResponse,\n SolutionPatch,\n SolutionsUpdateOptionalParams,\n SolutionsUpdateResponse,\n SolutionsDeleteOptionalParams,\n SolutionsGetOptionalParams,\n SolutionsGetResponse,\n SolutionsListByResourceGroupOptionalParams,\n SolutionsListByResourceGroupResponse,\n SolutionsListBySubscriptionOptionalParams,\n SolutionsListBySubscriptionResponse\n} from \"../models/index.js\";\n\n/** Class containing Solutions operations. */\nexport class SolutionsImpl implements Solutions {\n private readonly client: OperationsManagementClient;\n\n /**\n * Initialize a new instance of the class Solutions class.\n * @param client Reference to the service client\n */\n constructor(client: OperationsManagementClient) {\n this.client = client;\n }\n\n /**\n * Creates or updates the Solution.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param parameters The parameters required to create OMS Solution.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n solutionName: string,\n parameters: Solution,\n options?: SolutionsCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<SolutionsCreateOrUpdateResponse>,\n SolutionsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<SolutionsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, solutionName, parameters, options },\n createOrUpdateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates the Solution.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param parameters The parameters required to create OMS Solution.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n solutionName: string,\n parameters: Solution,\n options?: SolutionsCreateOrUpdateOptionalParams\n ): Promise<SolutionsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n solutionName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Patch a Solution. Only updating tags supported.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param parameters The parameters required to patch a Solution.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n solutionName: string,\n parameters: SolutionPatch,\n options?: SolutionsUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<SolutionsUpdateResponse>,\n SolutionsUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<SolutionsUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, solutionName, parameters, options },\n updateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Patch a Solution. Only updating tags supported.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param parameters The parameters required to patch a Solution.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n solutionName: string,\n parameters: SolutionPatch,\n options?: SolutionsUpdateOptionalParams\n ): Promise<SolutionsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n solutionName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes the solution in the subscription.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n solutionName: string,\n options?: SolutionsDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, solutionName, options },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the solution in the subscription.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n solutionName: string,\n options?: SolutionsDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n solutionName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Retrieves the user solution.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n solutionName: string,\n options?: SolutionsGetOptionalParams\n ): Promise<SolutionsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, solutionName, options },\n getOperationSpec\n );\n }\n\n /**\n * Retrieves the solution list. It will retrieve both first party and third party solutions\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: SolutionsListByResourceGroupOptionalParams\n ): Promise<SolutionsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Retrieves the solution list. It will retrieve both first party and third party solutions\n * @param options The options parameters.\n */\n listBySubscription(\n options?: SolutionsListBySubscriptionOptionalParams\n ): Promise<SolutionsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions/{solutionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Solution\n },\n 201: {\n bodyMapper: Mappers.Solution\n },\n 202: {\n bodyMapper: Mappers.Solution\n },\n 204: {\n bodyMapper: Mappers.Solution\n },\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.solutionName\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions/{solutionName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Solution\n },\n 201: {\n bodyMapper: Mappers.Solution\n },\n 202: {\n bodyMapper: Mappers.Solution\n },\n 204: {\n bodyMapper: Mappers.Solution\n },\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.solutionName\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions/{solutionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.solutionName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions/{solutionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Solution\n },\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.solutionName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SolutionPropertiesList\n },\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.OperationsManagement/solutions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SolutionPropertiesList\n },\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iBAAiB,CAAC"}
|
|
@@ -5,8 +5,8 @@
|
|
|
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 "./solutions";
|
|
9
|
-
export * from "./managementAssociations";
|
|
10
|
-
export * from "./managementConfigurations";
|
|
11
|
-
export * from "./operations";
|
|
8
|
+
export * from "./solutions.js";
|
|
9
|
+
export * from "./managementAssociations.js";
|
|
10
|
+
export * from "./managementConfigurations.js";
|
|
11
|
+
export * from "./operations.js";
|
|
12
12
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,gBAAgB,CAAC;AAC/B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iBAAiB,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 \"./solutions.js\";\nexport * from \"./managementAssociations.js\";\nexport * from \"./managementConfigurations.js\";\nexport * from \"./operations.js\";\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ManagementAssociationsListBySubscriptionOptionalParams, ManagementAssociationsListBySubscriptionResponse, ManagementAssociation, ManagementAssociationsCreateOrUpdateOptionalParams, ManagementAssociationsCreateOrUpdateResponse, ManagementAssociationsDeleteOptionalParams, ManagementAssociationsGetOptionalParams, ManagementAssociationsGetResponse } from "../models";
|
|
1
|
+
import { ManagementAssociationsListBySubscriptionOptionalParams, ManagementAssociationsListBySubscriptionResponse, ManagementAssociation, ManagementAssociationsCreateOrUpdateOptionalParams, ManagementAssociationsCreateOrUpdateResponse, ManagementAssociationsDeleteOptionalParams, ManagementAssociationsGetOptionalParams, ManagementAssociationsGetResponse } from "../models/index.js";
|
|
2
2
|
/** Interface representing a ManagementAssociations. */
|
|
3
3
|
export interface ManagementAssociations {
|
|
4
4
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"managementAssociations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/managementAssociations.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,sDAAsD,EACtD,gDAAgD,EAChD,qBAAqB,EACrB,kDAAkD,EAClD,4CAA4C,EAC5C,0CAA0C,EAC1C,uCAAuC,EACvC,iCAAiC,EAClC,MAAM,oBAAoB,CAAC;AAE5B,uDAAuD;AACvD,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CAAC,gDAAgD,CAAC,CAAC;IAC7D;;;;;;;;;OASG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM,EACpB,yBAAyB,EAAE,MAAM,EACjC,UAAU,EAAE,qBAAqB,EACjC,OAAO,CAAC,EAAE,kDAAkD,GAC3D,OAAO,CAAC,4CAA4C,CAAC,CAAC;IACzD;;;;;;;;OAQG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM,EACpB,yBAAyB,EAAE,MAAM,EACjC,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;;OAQG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM,EACpB,yBAAyB,EAAE,MAAM,EACjC,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC,CAAC;CAC/C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"managementAssociations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/managementAssociations.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 {\n ManagementAssociationsListBySubscriptionOptionalParams,\n ManagementAssociationsListBySubscriptionResponse,\n ManagementAssociation,\n ManagementAssociationsCreateOrUpdateOptionalParams,\n ManagementAssociationsCreateOrUpdateResponse,\n ManagementAssociationsDeleteOptionalParams,\n ManagementAssociationsGetOptionalParams,\n ManagementAssociationsGetResponse\n} from \"../models/index.js\";\n\n/** Interface representing a ManagementAssociations. */\nexport interface ManagementAssociations {\n /**\n * Retrieves the ManagementAssociations list.\n * @param options The options parameters.\n */\n listBySubscription(\n options?: ManagementAssociationsListBySubscriptionOptionalParams\n ): Promise<ManagementAssociationsListBySubscriptionResponse>;\n /**\n * Creates or updates the ManagementAssociation.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param providerName Provider name for the parent resource.\n * @param resourceType Resource type for the parent resource\n * @param resourceName Parent resource name.\n * @param managementAssociationName User ManagementAssociation Name.\n * @param parameters The parameters required to create ManagementAssociation extension.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n providerName: string,\n resourceType: string,\n resourceName: string,\n managementAssociationName: string,\n parameters: ManagementAssociation,\n options?: ManagementAssociationsCreateOrUpdateOptionalParams\n ): Promise<ManagementAssociationsCreateOrUpdateResponse>;\n /**\n * Deletes the ManagementAssociation in the subscription.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param providerName Provider name for the parent resource.\n * @param resourceType Resource type for the parent resource\n * @param resourceName Parent resource name.\n * @param managementAssociationName User ManagementAssociation Name.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n providerName: string,\n resourceType: string,\n resourceName: string,\n managementAssociationName: string,\n options?: ManagementAssociationsDeleteOptionalParams\n ): Promise<void>;\n /**\n * Retrieves the user ManagementAssociation.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param providerName Provider name for the parent resource.\n * @param resourceType Resource type for the parent resource\n * @param resourceName Parent resource name.\n * @param managementAssociationName User ManagementAssociation Name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n providerName: string,\n resourceType: string,\n resourceName: string,\n managementAssociationName: string,\n options?: ManagementAssociationsGetOptionalParams\n ): Promise<ManagementAssociationsGetResponse>;\n}\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ManagementConfigurationsListBySubscriptionOptionalParams, ManagementConfigurationsListBySubscriptionResponse, ManagementConfiguration, ManagementConfigurationsCreateOrUpdateOptionalParams, ManagementConfigurationsCreateOrUpdateResponse, ManagementConfigurationsDeleteOptionalParams, ManagementConfigurationsGetOptionalParams, ManagementConfigurationsGetResponse } from "../models";
|
|
1
|
+
import { ManagementConfigurationsListBySubscriptionOptionalParams, ManagementConfigurationsListBySubscriptionResponse, ManagementConfiguration, ManagementConfigurationsCreateOrUpdateOptionalParams, ManagementConfigurationsCreateOrUpdateResponse, ManagementConfigurationsDeleteOptionalParams, ManagementConfigurationsGetOptionalParams, ManagementConfigurationsGetResponse } from "../models/index.js";
|
|
2
2
|
/** Interface representing a ManagementConfigurations. */
|
|
3
3
|
export interface ManagementConfigurations {
|
|
4
4
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"managementConfigurations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/managementConfigurations.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,wDAAwD,EACxD,kDAAkD,EAClD,uBAAuB,EACvB,oDAAoD,EACpD,8CAA8C,EAC9C,4CAA4C,EAC5C,yCAAyC,EACzC,mCAAmC,EACpC,MAAM,oBAAoB,CAAC;AAE5B,yDAAyD;AACzD,MAAM,WAAW,wBAAwB;IACvC;;;OAGG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,wDAAwD,GACjE,OAAO,CAAC,kDAAkD,CAAC,CAAC;IAC/D;;;;;;OAMG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,2BAA2B,EAAE,MAAM,EACnC,UAAU,EAAE,uBAAuB,EACnC,OAAO,CAAC,EAAE,oDAAoD,GAC7D,OAAO,CAAC,8CAA8C,CAAC,CAAC;IAC3D;;;;;OAKG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,2BAA2B,EAAE,MAAM,EACnC,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,2BAA2B,EAAE,MAAM,EACnC,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC,CAAC;CACjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"managementConfigurations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/managementConfigurations.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 {\n ManagementConfigurationsListBySubscriptionOptionalParams,\n ManagementConfigurationsListBySubscriptionResponse,\n ManagementConfiguration,\n ManagementConfigurationsCreateOrUpdateOptionalParams,\n ManagementConfigurationsCreateOrUpdateResponse,\n ManagementConfigurationsDeleteOptionalParams,\n ManagementConfigurationsGetOptionalParams,\n ManagementConfigurationsGetResponse\n} from \"../models/index.js\";\n\n/** Interface representing a ManagementConfigurations. */\nexport interface ManagementConfigurations {\n /**\n * Retrieves the ManagementConfigurations list.\n * @param options The options parameters.\n */\n listBySubscription(\n options?: ManagementConfigurationsListBySubscriptionOptionalParams\n ): Promise<ManagementConfigurationsListBySubscriptionResponse>;\n /**\n * Creates or updates the ManagementConfiguration.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param managementConfigurationName User Management Configuration Name.\n * @param parameters The parameters required to create OMS Solution.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n managementConfigurationName: string,\n parameters: ManagementConfiguration,\n options?: ManagementConfigurationsCreateOrUpdateOptionalParams\n ): Promise<ManagementConfigurationsCreateOrUpdateResponse>;\n /**\n * Deletes the ManagementConfiguration in the subscription.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param managementConfigurationName User Management Configuration Name.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n managementConfigurationName: string,\n options?: ManagementConfigurationsDeleteOptionalParams\n ): Promise<void>;\n /**\n * Retrieves the user ManagementConfiguration.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param managementConfigurationName User Management Configuration Name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n managementConfigurationName: string,\n options?: ManagementConfigurationsGetOptionalParams\n ): Promise<ManagementConfigurationsGetResponse>;\n}\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Operation, OperationsListOptionalParams } from "../models";
|
|
2
|
+
import { Operation, OperationsListOptionalParams } from "../models/index.js";
|
|
3
3
|
/** Interface representing a Operations. */
|
|
4
4
|
export interface Operations {
|
|
5
5
|
/**
|
|
@@ -1 +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,SAAS,EAAE,4BAA4B,EAAE,MAAM,
|
|
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,SAAS,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAG7E,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC,CAAC;CAC1C"}
|
|
@@ -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 { Operation, 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 OperationsManagement Rest API operations.\n * @param options The options parameters.\n */\n list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation>;\n}\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
2
|
-
import { Solution, SolutionsCreateOrUpdateOptionalParams, SolutionsCreateOrUpdateResponse, SolutionPatch, SolutionsUpdateOptionalParams, SolutionsUpdateResponse, SolutionsDeleteOptionalParams, SolutionsGetOptionalParams, SolutionsGetResponse, SolutionsListByResourceGroupOptionalParams, SolutionsListByResourceGroupResponse, SolutionsListBySubscriptionOptionalParams, SolutionsListBySubscriptionResponse } from "../models";
|
|
2
|
+
import { Solution, SolutionsCreateOrUpdateOptionalParams, SolutionsCreateOrUpdateResponse, SolutionPatch, SolutionsUpdateOptionalParams, SolutionsUpdateResponse, SolutionsDeleteOptionalParams, SolutionsGetOptionalParams, SolutionsGetResponse, SolutionsListByResourceGroupOptionalParams, SolutionsListByResourceGroupResponse, SolutionsListBySubscriptionOptionalParams, SolutionsListBySubscriptionResponse } from "../models/index.js";
|
|
3
3
|
/** Interface representing a Solutions. */
|
|
4
4
|
export interface Solutions {
|
|
5
5
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"solutions.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/solutions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,QAAQ,EACR,qCAAqC,EACrC,+BAA+B,EAC/B,aAAa,EACb,6BAA6B,EAC7B,uBAAuB,EACvB,6BAA6B,EAC7B,0BAA0B,EAC1B,oBAAoB,EACpB,0CAA0C,EAC1C,oCAAoC,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AAI,CAAC,CAAC;IACjB;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACjC;;;;OAIG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC,CAAC;IACjD;;;OAGG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC,CAAC;CACjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"solutions.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/solutions.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 { PollerLike, PollOperationState } from \"@azure/core-lro\";\nimport {\n Solution,\n SolutionsCreateOrUpdateOptionalParams,\n SolutionsCreateOrUpdateResponse,\n SolutionPatch,\n SolutionsUpdateOptionalParams,\n SolutionsUpdateResponse,\n SolutionsDeleteOptionalParams,\n SolutionsGetOptionalParams,\n SolutionsGetResponse,\n SolutionsListByResourceGroupOptionalParams,\n SolutionsListByResourceGroupResponse,\n SolutionsListBySubscriptionOptionalParams,\n SolutionsListBySubscriptionResponse\n} from \"../models/index.js\";\n\n/** Interface representing a Solutions. */\nexport interface Solutions {\n /**\n * Creates or updates the Solution.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param parameters The parameters required to create OMS Solution.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n solutionName: string,\n parameters: Solution,\n options?: SolutionsCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<SolutionsCreateOrUpdateResponse>,\n SolutionsCreateOrUpdateResponse\n >\n >;\n /**\n * Creates or updates the Solution.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param parameters The parameters required to create OMS Solution.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n solutionName: string,\n parameters: Solution,\n options?: SolutionsCreateOrUpdateOptionalParams\n ): Promise<SolutionsCreateOrUpdateResponse>;\n /**\n * Patch a Solution. Only updating tags supported.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param parameters The parameters required to patch a Solution.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n solutionName: string,\n parameters: SolutionPatch,\n options?: SolutionsUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<SolutionsUpdateResponse>,\n SolutionsUpdateResponse\n >\n >;\n /**\n * Patch a Solution. Only updating tags supported.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param parameters The parameters required to patch a Solution.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n solutionName: string,\n parameters: SolutionPatch,\n options?: SolutionsUpdateOptionalParams\n ): Promise<SolutionsUpdateResponse>;\n /**\n * Deletes the solution in the subscription.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n solutionName: string,\n options?: SolutionsDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>>;\n /**\n * Deletes the solution in the subscription.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n solutionName: string,\n options?: SolutionsDeleteOptionalParams\n ): Promise<void>;\n /**\n * Retrieves the user solution.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n solutionName: string,\n options?: SolutionsGetOptionalParams\n ): Promise<SolutionsGetResponse>;\n /**\n * Retrieves the solution list. It will retrieve both first party and third party solutions\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: SolutionsListByResourceGroupOptionalParams\n ): Promise<SolutionsListByResourceGroupResponse>;\n /**\n * Retrieves the solution list. It will retrieve both first party and third party solutions\n * @param options The options parameters.\n */\n listBySubscription(\n options?: SolutionsListBySubscriptionOptionalParams\n ): Promise<SolutionsListBySubscriptionResponse>;\n}\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as coreClient from "@azure/core-client";
|
|
2
2
|
import * as coreAuth from "@azure/core-auth";
|
|
3
|
-
import { Solutions, ManagementAssociations, ManagementConfigurations, Operations } from "./operationsInterfaces";
|
|
4
|
-
import { OperationsManagementClientOptionalParams } from "./models";
|
|
3
|
+
import { Solutions, ManagementAssociations, ManagementConfigurations, Operations } from "./operationsInterfaces/index.js";
|
|
4
|
+
import { OperationsManagementClientOptionalParams } from "./models/index.js";
|
|
5
5
|
export declare class OperationsManagementClient extends coreClient.ServiceClient {
|
|
6
6
|
$host: string;
|
|
7
7
|
subscriptionId: string;
|
|
@@ -14,6 +14,8 @@ export declare class OperationsManagementClient extends coreClient.ServiceClient
|
|
|
14
14
|
* @param options The parameter options
|
|
15
15
|
*/
|
|
16
16
|
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: OperationsManagementClientOptionalParams);
|
|
17
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
18
|
+
private addCustomApiVersionPolicy;
|
|
17
19
|
solutions: Solutions;
|
|
18
20
|
managementAssociations: ManagementAssociations;
|
|
19
21
|
managementConfigurations: ManagementConfigurations;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operationsManagementClient.d.ts","sourceRoot":"","sources":["../../src/operationsManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAO7C,OAAO,EACL,SAAS,EACT,sBAAsB,EACtB,wBAAwB,EACxB,UAAU,EACX,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,wCAAwC,EAAE,MAAM,mBAAmB,CAAC;AAE7E,qBAAa,0BAA2B,SAAQ,UAAU,CAAC,aAAa;IACtE,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;;OAMG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,wCAAwC;IA+EpD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,SAAS,EAAE,SAAS,CAAC;IACrB,sBAAsB,EAAE,sBAAsB,CAAC;IAC/C,wBAAwB,EAAE,wBAAwB,CAAC;IACnD,UAAU,EAAE,UAAU,CAAC;CACxB"}
|