@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
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Operation, OperationsListOptionalParams } from "../models/index.js";
|
|
3
|
+
/** Interface representing a Operations. */
|
|
4
|
+
export interface Operations {
|
|
5
|
+
/**
|
|
6
|
+
* Lists all of the available OperationsManagement Rest API operations.
|
|
7
|
+
* @param options The options parameters.
|
|
8
|
+
*/
|
|
9
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,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,9 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { 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"]}
|
|
@@ -0,0 +1,70 @@
|
|
|
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/index.js";
|
|
3
|
+
/** Interface representing a Solutions. */
|
|
4
|
+
export interface Solutions {
|
|
5
|
+
/**
|
|
6
|
+
* Creates or updates the Solution.
|
|
7
|
+
* @param resourceGroupName The name of the resource group to get. The name is case insensitive.
|
|
8
|
+
* @param solutionName User Solution Name.
|
|
9
|
+
* @param parameters The parameters required to create OMS Solution.
|
|
10
|
+
* @param options The options parameters.
|
|
11
|
+
*/
|
|
12
|
+
beginCreateOrUpdate(resourceGroupName: string, solutionName: string, parameters: Solution, options?: SolutionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<SolutionsCreateOrUpdateResponse>, SolutionsCreateOrUpdateResponse>>;
|
|
13
|
+
/**
|
|
14
|
+
* Creates or updates the Solution.
|
|
15
|
+
* @param resourceGroupName The name of the resource group to get. The name is case insensitive.
|
|
16
|
+
* @param solutionName User Solution Name.
|
|
17
|
+
* @param parameters The parameters required to create OMS Solution.
|
|
18
|
+
* @param options The options parameters.
|
|
19
|
+
*/
|
|
20
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, solutionName: string, parameters: Solution, options?: SolutionsCreateOrUpdateOptionalParams): Promise<SolutionsCreateOrUpdateResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Patch a Solution. Only updating tags supported.
|
|
23
|
+
* @param resourceGroupName The name of the resource group to get. The name is case insensitive.
|
|
24
|
+
* @param solutionName User Solution Name.
|
|
25
|
+
* @param parameters The parameters required to patch a Solution.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
beginUpdate(resourceGroupName: string, solutionName: string, parameters: SolutionPatch, options?: SolutionsUpdateOptionalParams): Promise<PollerLike<PollOperationState<SolutionsUpdateResponse>, SolutionsUpdateResponse>>;
|
|
29
|
+
/**
|
|
30
|
+
* Patch a Solution. Only updating tags supported.
|
|
31
|
+
* @param resourceGroupName The name of the resource group to get. The name is case insensitive.
|
|
32
|
+
* @param solutionName User Solution Name.
|
|
33
|
+
* @param parameters The parameters required to patch a Solution.
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
beginUpdateAndWait(resourceGroupName: string, solutionName: string, parameters: SolutionPatch, options?: SolutionsUpdateOptionalParams): Promise<SolutionsUpdateResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* Deletes the solution in the subscription.
|
|
39
|
+
* @param resourceGroupName The name of the resource group to get. The name is case insensitive.
|
|
40
|
+
* @param solutionName User Solution Name.
|
|
41
|
+
* @param options The options parameters.
|
|
42
|
+
*/
|
|
43
|
+
beginDelete(resourceGroupName: string, solutionName: string, options?: SolutionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
44
|
+
/**
|
|
45
|
+
* Deletes the solution in the subscription.
|
|
46
|
+
* @param resourceGroupName The name of the resource group to get. The name is case insensitive.
|
|
47
|
+
* @param solutionName User Solution Name.
|
|
48
|
+
* @param options The options parameters.
|
|
49
|
+
*/
|
|
50
|
+
beginDeleteAndWait(resourceGroupName: string, solutionName: string, options?: SolutionsDeleteOptionalParams): Promise<void>;
|
|
51
|
+
/**
|
|
52
|
+
* Retrieves the user solution.
|
|
53
|
+
* @param resourceGroupName The name of the resource group to get. The name is case insensitive.
|
|
54
|
+
* @param solutionName User Solution Name.
|
|
55
|
+
* @param options The options parameters.
|
|
56
|
+
*/
|
|
57
|
+
get(resourceGroupName: string, solutionName: string, options?: SolutionsGetOptionalParams): Promise<SolutionsGetResponse>;
|
|
58
|
+
/**
|
|
59
|
+
* Retrieves the solution list. It will retrieve both first party and third party solutions
|
|
60
|
+
* @param resourceGroupName The name of the resource group to get. The name is case insensitive.
|
|
61
|
+
* @param options The options parameters.
|
|
62
|
+
*/
|
|
63
|
+
listByResourceGroup(resourceGroupName: string, options?: SolutionsListByResourceGroupOptionalParams): Promise<SolutionsListByResourceGroupResponse>;
|
|
64
|
+
/**
|
|
65
|
+
* Retrieves the solution list. It will retrieve both first party and third party solutions
|
|
66
|
+
* @param options The options parameters.
|
|
67
|
+
*/
|
|
68
|
+
listBySubscription(options?: SolutionsListBySubscriptionOptionalParams): Promise<SolutionsListBySubscriptionResponse>;
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=solutions.d.ts.map
|
|
@@ -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,EACpC,yCAAyC,EACzC,mCAAmC,EACpC,MAAM,oBAAoB,CAAC;AAE5B,0CAA0C;AAC1C,MAAM,WAAW,SAAS;IACxB;;;;;;OAMG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,QAAQ,EACpB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,+BAA+B,CAAC,EACnD,+BAA+B,CAChC,CACF,CAAC;IACF;;;;;;OAMG;IACH,0BAA0B,CACxB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,QAAQ,EACpB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC,CAAC;IAC5C;;;;;;OAMG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,aAAa,EACzB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,uBAAuB,CAAC,EAC3C,uBAAuB,CACxB,CACF,CAAC;IACF;;;;;;OAMG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,aAAa,EACzB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC,CAAC;IACpC;;;;;OAKG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;OAKG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,IAAI,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,9 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=solutions.js.map
|
|
@@ -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"]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
|
2
|
+
import * as coreAuth from "@azure/core-auth";
|
|
3
|
+
import { Solutions, ManagementAssociations, ManagementConfigurations, Operations } from "./operationsInterfaces/index.js";
|
|
4
|
+
import { OperationsManagementClientOptionalParams } from "./models/index.js";
|
|
5
|
+
export declare class OperationsManagementClient extends coreClient.ServiceClient {
|
|
6
|
+
$host: string;
|
|
7
|
+
subscriptionId: string;
|
|
8
|
+
apiVersion: string;
|
|
9
|
+
/**
|
|
10
|
+
* Initializes a new instance of the OperationsManagementClient class.
|
|
11
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
12
|
+
* @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure
|
|
13
|
+
* subscription. The subscription ID forms part of the URI for every service call.
|
|
14
|
+
* @param options The parameter options
|
|
15
|
+
*/
|
|
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;
|
|
19
|
+
solutions: Solutions;
|
|
20
|
+
managementAssociations: ManagementAssociations;
|
|
21
|
+
managementConfigurations: ManagementConfigurations;
|
|
22
|
+
operations: Operations;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=operationsManagementClient.d.ts.map
|
|
@@ -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"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import * as coreClient from "@azure/core-client";
|
|
9
|
+
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
10
|
+
import { SolutionsImpl, ManagementAssociationsImpl, ManagementConfigurationsImpl, OperationsImpl } from "./operations/index.js";
|
|
11
|
+
export class OperationsManagementClient extends coreClient.ServiceClient {
|
|
12
|
+
$host;
|
|
13
|
+
subscriptionId;
|
|
14
|
+
apiVersion;
|
|
15
|
+
/**
|
|
16
|
+
* Initializes a new instance of the OperationsManagementClient class.
|
|
17
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
18
|
+
* @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure
|
|
19
|
+
* subscription. The subscription ID forms part of the URI for every service call.
|
|
20
|
+
* @param options The parameter options
|
|
21
|
+
*/
|
|
22
|
+
constructor(credentials, subscriptionId, options) {
|
|
23
|
+
if (credentials === undefined) {
|
|
24
|
+
throw new Error("'credentials' cannot be null");
|
|
25
|
+
}
|
|
26
|
+
if (subscriptionId === undefined) {
|
|
27
|
+
throw new Error("'subscriptionId' cannot be null");
|
|
28
|
+
}
|
|
29
|
+
// Initializing default values for options
|
|
30
|
+
if (!options) {
|
|
31
|
+
options = {};
|
|
32
|
+
}
|
|
33
|
+
const defaults = {
|
|
34
|
+
requestContentType: "application/json; charset=utf-8",
|
|
35
|
+
credential: credentials
|
|
36
|
+
};
|
|
37
|
+
const packageDetails = `azsdk-js-arm-operations/4.0.0-beta.5`;
|
|
38
|
+
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
39
|
+
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
40
|
+
: `${packageDetails}`;
|
|
41
|
+
const optionsWithDefaults = {
|
|
42
|
+
...defaults,
|
|
43
|
+
...options,
|
|
44
|
+
userAgentOptions: {
|
|
45
|
+
userAgentPrefix
|
|
46
|
+
},
|
|
47
|
+
endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com"
|
|
48
|
+
};
|
|
49
|
+
super(optionsWithDefaults);
|
|
50
|
+
let bearerTokenAuthenticationPolicyFound = false;
|
|
51
|
+
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
|
52
|
+
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
53
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
54
|
+
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
55
|
+
}
|
|
56
|
+
if (!options ||
|
|
57
|
+
!options.pipeline ||
|
|
58
|
+
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
59
|
+
!bearerTokenAuthenticationPolicyFound) {
|
|
60
|
+
this.pipeline.removePolicy({
|
|
61
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
62
|
+
});
|
|
63
|
+
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
64
|
+
credential: credentials,
|
|
65
|
+
scopes: optionsWithDefaults.credentialScopes ??
|
|
66
|
+
`${optionsWithDefaults.endpoint}/.default`,
|
|
67
|
+
challengeCallbacks: {
|
|
68
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
|
69
|
+
}
|
|
70
|
+
}));
|
|
71
|
+
}
|
|
72
|
+
// Parameter assignments
|
|
73
|
+
this.subscriptionId = subscriptionId;
|
|
74
|
+
// Assigning values to Constant parameters
|
|
75
|
+
this.$host = options.$host || "https://management.azure.com";
|
|
76
|
+
this.apiVersion = options.apiVersion || "2015-11-01-preview";
|
|
77
|
+
this.solutions = new SolutionsImpl(this);
|
|
78
|
+
this.managementAssociations = new ManagementAssociationsImpl(this);
|
|
79
|
+
this.managementConfigurations = new ManagementConfigurationsImpl(this);
|
|
80
|
+
this.operations = new OperationsImpl(this);
|
|
81
|
+
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
82
|
+
}
|
|
83
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
84
|
+
addCustomApiVersionPolicy(apiVersion) {
|
|
85
|
+
if (!apiVersion) {
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
const apiVersionPolicy = {
|
|
89
|
+
name: "CustomApiVersionPolicy",
|
|
90
|
+
async sendRequest(request, next) {
|
|
91
|
+
const param = request.url.split("?");
|
|
92
|
+
if (param.length > 1) {
|
|
93
|
+
const newParams = param[1].split("&").map((item) => {
|
|
94
|
+
if (item.indexOf("api-version") > -1) {
|
|
95
|
+
return "api-version=" + apiVersion;
|
|
96
|
+
}
|
|
97
|
+
else {
|
|
98
|
+
return item;
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
request.url = param[0] + "?" + newParams.join("&");
|
|
102
|
+
}
|
|
103
|
+
return next(request);
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
this.pipeline.addPolicy(apiVersionPolicy);
|
|
107
|
+
}
|
|
108
|
+
solutions;
|
|
109
|
+
managementAssociations;
|
|
110
|
+
managementConfigurations;
|
|
111
|
+
operations;
|
|
112
|
+
}
|
|
113
|
+
//# sourceMappingURL=operationsManagementClient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operationsManagementClient.js","sourceRoot":"","sources":["../../src/operationsManagementClient.ts"],"names":[],"mappings":"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","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\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n SolutionsImpl,\n ManagementAssociationsImpl,\n ManagementConfigurationsImpl,\n OperationsImpl\n} from \"./operations/index.js\";\nimport {\n Solutions,\n ManagementAssociations,\n ManagementConfigurations,\n Operations\n} from \"./operationsInterfaces/index.js\";\nimport { OperationsManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class OperationsManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the OperationsManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure\n * subscription. The subscription ID forms part of the URI for every service call.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: OperationsManagementClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: OperationsManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-operations/4.0.0-beta.5`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2015-11-01-preview\";\n this.solutions = new SolutionsImpl(this);\n this.managementAssociations = new ManagementAssociationsImpl(this);\n this.managementConfigurations = new ManagementConfigurationsImpl(this);\n this.operations = new OperationsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n solutions: Solutions;\n managementAssociations: ManagementAssociations;\n managementConfigurations: ManagementConfigurations;\n operations: Operations;\n}\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface PageInfo {
|
|
2
|
+
continuationToken?: string;
|
|
3
|
+
}
|
|
4
|
+
/**
|
|
5
|
+
* Given a result page from a pageable operation, returns a
|
|
6
|
+
* continuation token that can be used to begin paging from
|
|
7
|
+
* that point later.
|
|
8
|
+
* @param page A result object from calling .byPage() on a paged operation.
|
|
9
|
+
* @returns The continuation token that can be passed into byPage().
|
|
10
|
+
*/
|
|
11
|
+
export declare function getContinuationToken(page: unknown): string | undefined;
|
|
12
|
+
export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
|
|
13
|
+
//# sourceMappingURL=pagingHelper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagingHelper.d.ts","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,QAAQ;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,MAAM,GAAG,SAAS,GACpC,IAAI,CAON"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
const pageMap = new WeakMap();
|
|
9
|
+
/**
|
|
10
|
+
* Given a result page from a pageable operation, returns a
|
|
11
|
+
* continuation token that can be used to begin paging from
|
|
12
|
+
* that point later.
|
|
13
|
+
* @param page A result object from calling .byPage() on a paged operation.
|
|
14
|
+
* @returns The continuation token that can be passed into byPage().
|
|
15
|
+
*/
|
|
16
|
+
export function getContinuationToken(page) {
|
|
17
|
+
if (typeof page !== "object" || page === null) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
return pageMap.get(page)?.continuationToken;
|
|
21
|
+
}
|
|
22
|
+
export function setContinuationToken(page, continuationToken) {
|
|
23
|
+
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
const pageInfo = pageMap.get(page) ?? {};
|
|
27
|
+
pageInfo.continuationToken = continuationToken;
|
|
28
|
+
pageMap.set(page, pageInfo);
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=pagingHelper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,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 interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given a result page from a pageable operation, returns a\n * continuation token that can be used to begin paging from\n * that point later.\n * @param page A result object from calling .byPage() on a paged operation.\n * @returns The continuation token that can be passed into byPage().\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
|
package/package.json
CHANGED
|
@@ -3,100 +3,57 @@
|
|
|
3
3
|
"sdk-type": "mgmt",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "A generated SDK for OperationsManagementClient.",
|
|
6
|
-
"version": "4.0.0-beta.
|
|
6
|
+
"version": "4.0.0-beta.5",
|
|
7
7
|
"engines": {
|
|
8
|
-
"node": ">=
|
|
8
|
+
"node": ">=20.0.0"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
+
"@azure/abort-controller": "^2.1.2",
|
|
12
|
+
"@azure/core-auth": "^1.9.0",
|
|
13
|
+
"@azure/core-client": "^1.9.2",
|
|
11
14
|
"@azure/core-lro": "^2.2.0",
|
|
12
|
-
"@azure/
|
|
13
|
-
"@azure/core-
|
|
14
|
-
"
|
|
15
|
-
"@azure/core-auth": "^1.3.0",
|
|
16
|
-
"@azure/core-rest-pipeline": "^1.8.0",
|
|
17
|
-
"tslib": "^2.2.0"
|
|
15
|
+
"@azure/core-paging": "^1.6.2",
|
|
16
|
+
"@azure/core-rest-pipeline": "^1.19.0",
|
|
17
|
+
"tslib": "^2.8.1"
|
|
18
18
|
},
|
|
19
19
|
"keywords": [
|
|
20
20
|
"node",
|
|
21
21
|
"azure",
|
|
22
22
|
"typescript",
|
|
23
23
|
"browser",
|
|
24
|
-
"isomorphic"
|
|
24
|
+
"isomorphic",
|
|
25
|
+
"cloud"
|
|
25
26
|
],
|
|
26
27
|
"license": "MIT",
|
|
27
|
-
"main": "./dist/index.js",
|
|
28
|
-
"module": "./dist
|
|
29
|
-
"types": "./
|
|
28
|
+
"main": "./dist/commonjs/index.js",
|
|
29
|
+
"module": "./dist/esm/index.js",
|
|
30
|
+
"types": "./dist/commonjs/index.d.ts",
|
|
30
31
|
"devDependencies": {
|
|
31
|
-
"@
|
|
32
|
-
"@
|
|
33
|
-
"@
|
|
34
|
-
"@
|
|
35
|
-
"@
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"@azure/
|
|
43
|
-
"@azure-tools/test-recorder": "^1.0.0",
|
|
44
|
-
"mocha": "^7.1.1",
|
|
45
|
-
"cross-env": "^7.0.2"
|
|
32
|
+
"@azure/identity": "4.11.1",
|
|
33
|
+
"@azure/logger": "^1.1.4",
|
|
34
|
+
"@types/node": "^20.19.0",
|
|
35
|
+
"@vitest/browser": "^3.2.3",
|
|
36
|
+
"@vitest/coverage-istanbul": "^3.2.3",
|
|
37
|
+
"playwright": "^1.50.1",
|
|
38
|
+
"typescript": "~5.8.3",
|
|
39
|
+
"vitest": "^3.2.3",
|
|
40
|
+
"@azure-tools/test-recorder": "^4.1.0",
|
|
41
|
+
"@azure-tools/test-credential": "^2.1.1",
|
|
42
|
+
"@azure-tools/test-utils-vitest": "^1.0.0",
|
|
43
|
+
"@azure/dev-tool": "^1.0.0"
|
|
46
44
|
},
|
|
47
45
|
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/operationsmanagement/arm-operations",
|
|
48
|
-
"repository":
|
|
49
|
-
"type": "git",
|
|
50
|
-
"url": "https://github.com/Azure/azure-sdk-for-js.git"
|
|
51
|
-
},
|
|
46
|
+
"repository": "github:Azure/azure-sdk-for-js",
|
|
52
47
|
"bugs": {
|
|
53
48
|
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
|
|
54
49
|
},
|
|
55
50
|
"files": [
|
|
56
|
-
"dist
|
|
57
|
-
"dist/**/*.js.map",
|
|
58
|
-
"dist/**/*.d.ts",
|
|
59
|
-
"dist/**/*.d.ts.map",
|
|
60
|
-
"dist-esm/**/*.js",
|
|
61
|
-
"dist-esm/**/*.js.map",
|
|
62
|
-
"dist-esm/**/*.d.ts",
|
|
63
|
-
"dist-esm/**/*.d.ts.map",
|
|
64
|
-
"src/**/*.ts",
|
|
51
|
+
"dist/",
|
|
65
52
|
"README.md",
|
|
66
53
|
"LICENSE",
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"review/*",
|
|
70
|
-
"CHANGELOG.md",
|
|
71
|
-
"types/*"
|
|
54
|
+
"review/",
|
|
55
|
+
"CHANGELOG.md"
|
|
72
56
|
],
|
|
73
|
-
"scripts": {
|
|
74
|
-
"build": "npm run clean && tsc && rollup -c 2>&1 && npm run minify && mkdirp ./review && npm run extract-api",
|
|
75
|
-
"minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
|
|
76
|
-
"prepack": "npm run build",
|
|
77
|
-
"pack": "npm pack 2>&1",
|
|
78
|
-
"extract-api": "api-extractor run --local",
|
|
79
|
-
"lint": "echo skipped",
|
|
80
|
-
"audit": "echo skipped",
|
|
81
|
-
"clean": "rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log",
|
|
82
|
-
"build:node": "echo skipped",
|
|
83
|
-
"build:browser": "echo skipped",
|
|
84
|
-
"build:test": "echo skipped",
|
|
85
|
-
"build:samples": "echo skipped.",
|
|
86
|
-
"check-format": "echo skipped",
|
|
87
|
-
"execute:samples": "echo skipped",
|
|
88
|
-
"format": "echo skipped",
|
|
89
|
-
"test": "npm run integration-test",
|
|
90
|
-
"test:node": "echo skipped",
|
|
91
|
-
"test:browser": "echo skipped",
|
|
92
|
-
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
|
|
93
|
-
"unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
|
|
94
|
-
"unit-test:browser": "echo skipped",
|
|
95
|
-
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
|
|
96
|
-
"integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
|
|
97
|
-
"integration-test:browser": "echo skipped",
|
|
98
|
-
"docs": "echo skipped"
|
|
99
|
-
},
|
|
100
57
|
"sideEffects": false,
|
|
101
58
|
"//metadata": {
|
|
102
59
|
"constantPaths": [
|
|
@@ -113,6 +70,62 @@
|
|
|
113
70
|
"azure"
|
|
114
71
|
],
|
|
115
72
|
"disableDocsMs": true,
|
|
116
|
-
"apiRefLink": "https://
|
|
73
|
+
"apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-operations?view=azure-node-preview"
|
|
74
|
+
},
|
|
75
|
+
"type": "module",
|
|
76
|
+
"tshy": {
|
|
77
|
+
"project": "../../../tsconfig.src.build.json",
|
|
78
|
+
"exports": {
|
|
79
|
+
"./package.json": "./package.json",
|
|
80
|
+
".": "./src/index.ts"
|
|
81
|
+
},
|
|
82
|
+
"dialects": [
|
|
83
|
+
"esm",
|
|
84
|
+
"commonjs"
|
|
85
|
+
],
|
|
86
|
+
"esmDialects": [
|
|
87
|
+
"browser",
|
|
88
|
+
"react-native"
|
|
89
|
+
],
|
|
90
|
+
"selfLink": false
|
|
91
|
+
},
|
|
92
|
+
"browser": "./dist/browser/index.js",
|
|
93
|
+
"react-native": "./dist/react-native/index.js",
|
|
94
|
+
"exports": {
|
|
95
|
+
"./package.json": "./package.json",
|
|
96
|
+
".": {
|
|
97
|
+
"browser": {
|
|
98
|
+
"types": "./dist/browser/index.d.ts",
|
|
99
|
+
"default": "./dist/browser/index.js"
|
|
100
|
+
},
|
|
101
|
+
"react-native": {
|
|
102
|
+
"types": "./dist/react-native/index.d.ts",
|
|
103
|
+
"default": "./dist/react-native/index.js"
|
|
104
|
+
},
|
|
105
|
+
"import": {
|
|
106
|
+
"types": "./dist/esm/index.d.ts",
|
|
107
|
+
"default": "./dist/esm/index.js"
|
|
108
|
+
},
|
|
109
|
+
"require": {
|
|
110
|
+
"types": "./dist/commonjs/index.d.ts",
|
|
111
|
+
"default": "./dist/commonjs/index.js"
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"scripts": {
|
|
116
|
+
"build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
|
|
117
|
+
"build:samples": "echo skipped.",
|
|
118
|
+
"check-format": "echo skipped",
|
|
119
|
+
"clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
|
|
120
|
+
"execute:samples": "echo skipped",
|
|
121
|
+
"extract-api": "dev-tool run extract-api",
|
|
122
|
+
"format": "echo skipped",
|
|
123
|
+
"lint": "echo skipped",
|
|
124
|
+
"pack": "pnpm pack 2>&1",
|
|
125
|
+
"test": "npm run test:node && npm run test:browser",
|
|
126
|
+
"test:browser": "echo skipped",
|
|
127
|
+
"test:node": "dev-tool run test:vitest",
|
|
128
|
+
"test:node:esm": "dev-tool run test:vitest --esm",
|
|
129
|
+
"update-snippets": "dev-tool run update-snippets"
|
|
117
130
|
}
|
|
118
|
-
}
|
|
131
|
+
}
|