@azure/arm-operations 4.0.0-beta.4 → 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 +12 -2
- package/LICENSE +4 -4
- package/README.md +25 -18
- 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 -4
- 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 +12 -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 +2 -2
- package/dist/browser/operationsManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsManagementClient.js +33 -24
- package/dist/browser/operationsManagementClient.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
- 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 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +16 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +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 +85 -76
- package/dist/index.js +0 -1582
- 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 -6
- 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.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- 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 -100
- 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 -157
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- package/types/arm-operations.d.ts +0 -499
- /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
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/review/{arm-operations.api.md → arm-operations-node.api.md} +0 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
const tslib_1 = require("tslib");
|
|
11
|
+
tslib_1.__exportStar(require("./solutions.js"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./managementAssociations.js"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./managementConfigurations.js"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./operations.js"), exports);
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,yDAA+B;AAC/B,sEAA4C;AAC5C,wEAA8C;AAC9C,0DAAgC","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"]}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ManagementAssociationsListBySubscriptionOptionalParams, ManagementAssociationsListBySubscriptionResponse, ManagementAssociation, ManagementAssociationsCreateOrUpdateOptionalParams, ManagementAssociationsCreateOrUpdateResponse, ManagementAssociationsDeleteOptionalParams, ManagementAssociationsGetOptionalParams, ManagementAssociationsGetResponse } from "../models/index.js";
|
|
2
|
+
/** Interface representing a ManagementAssociations. */
|
|
3
|
+
export interface ManagementAssociations {
|
|
4
|
+
/**
|
|
5
|
+
* Retrieves the ManagementAssociations list.
|
|
6
|
+
* @param options The options parameters.
|
|
7
|
+
*/
|
|
8
|
+
listBySubscription(options?: ManagementAssociationsListBySubscriptionOptionalParams): Promise<ManagementAssociationsListBySubscriptionResponse>;
|
|
9
|
+
/**
|
|
10
|
+
* Creates or updates the ManagementAssociation.
|
|
11
|
+
* @param resourceGroupName The name of the resource group to get. The name is case insensitive.
|
|
12
|
+
* @param providerName Provider name for the parent resource.
|
|
13
|
+
* @param resourceType Resource type for the parent resource
|
|
14
|
+
* @param resourceName Parent resource name.
|
|
15
|
+
* @param managementAssociationName User ManagementAssociation Name.
|
|
16
|
+
* @param parameters The parameters required to create ManagementAssociation extension.
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
createOrUpdate(resourceGroupName: string, providerName: string, resourceType: string, resourceName: string, managementAssociationName: string, parameters: ManagementAssociation, options?: ManagementAssociationsCreateOrUpdateOptionalParams): Promise<ManagementAssociationsCreateOrUpdateResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Deletes the ManagementAssociation in the subscription.
|
|
22
|
+
* @param resourceGroupName The name of the resource group to get. The name is case insensitive.
|
|
23
|
+
* @param providerName Provider name for the parent resource.
|
|
24
|
+
* @param resourceType Resource type for the parent resource
|
|
25
|
+
* @param resourceName Parent resource name.
|
|
26
|
+
* @param managementAssociationName User ManagementAssociation Name.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
delete(resourceGroupName: string, providerName: string, resourceType: string, resourceName: string, managementAssociationName: string, options?: ManagementAssociationsDeleteOptionalParams): Promise<void>;
|
|
30
|
+
/**
|
|
31
|
+
* Retrieves the user ManagementAssociation.
|
|
32
|
+
* @param resourceGroupName The name of the resource group to get. The name is case insensitive.
|
|
33
|
+
* @param providerName Provider name for the parent resource.
|
|
34
|
+
* @param resourceType Resource type for the parent resource
|
|
35
|
+
* @param resourceName Parent resource name.
|
|
36
|
+
* @param managementAssociationName User ManagementAssociation Name.
|
|
37
|
+
* @param options The options parameters.
|
|
38
|
+
*/
|
|
39
|
+
get(resourceGroupName: string, providerName: string, resourceType: string, resourceName: string, managementAssociationName: string, options?: ManagementAssociationsGetOptionalParams): Promise<ManagementAssociationsGetResponse>;
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=managementAssociations.d.ts.map
|
|
@@ -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,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
//# sourceMappingURL=managementAssociations.js.map
|
|
@@ -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"]}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ManagementConfigurationsListBySubscriptionOptionalParams, ManagementConfigurationsListBySubscriptionResponse, ManagementConfiguration, ManagementConfigurationsCreateOrUpdateOptionalParams, ManagementConfigurationsCreateOrUpdateResponse, ManagementConfigurationsDeleteOptionalParams, ManagementConfigurationsGetOptionalParams, ManagementConfigurationsGetResponse } from "../models/index.js";
|
|
2
|
+
/** Interface representing a ManagementConfigurations. */
|
|
3
|
+
export interface ManagementConfigurations {
|
|
4
|
+
/**
|
|
5
|
+
* Retrieves the ManagementConfigurations list.
|
|
6
|
+
* @param options The options parameters.
|
|
7
|
+
*/
|
|
8
|
+
listBySubscription(options?: ManagementConfigurationsListBySubscriptionOptionalParams): Promise<ManagementConfigurationsListBySubscriptionResponse>;
|
|
9
|
+
/**
|
|
10
|
+
* Creates or updates the ManagementConfiguration.
|
|
11
|
+
* @param resourceGroupName The name of the resource group to get. The name is case insensitive.
|
|
12
|
+
* @param managementConfigurationName User Management Configuration Name.
|
|
13
|
+
* @param parameters The parameters required to create OMS Solution.
|
|
14
|
+
* @param options The options parameters.
|
|
15
|
+
*/
|
|
16
|
+
createOrUpdate(resourceGroupName: string, managementConfigurationName: string, parameters: ManagementConfiguration, options?: ManagementConfigurationsCreateOrUpdateOptionalParams): Promise<ManagementConfigurationsCreateOrUpdateResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Deletes the ManagementConfiguration in the subscription.
|
|
19
|
+
* @param resourceGroupName The name of the resource group to get. The name is case insensitive.
|
|
20
|
+
* @param managementConfigurationName User Management Configuration Name.
|
|
21
|
+
* @param options The options parameters.
|
|
22
|
+
*/
|
|
23
|
+
delete(resourceGroupName: string, managementConfigurationName: string, options?: ManagementConfigurationsDeleteOptionalParams): Promise<void>;
|
|
24
|
+
/**
|
|
25
|
+
* Retrieves the user ManagementConfiguration.
|
|
26
|
+
* @param resourceGroupName The name of the resource group to get. The name is case insensitive.
|
|
27
|
+
* @param managementConfigurationName User Management Configuration Name.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
get(resourceGroupName: string, managementConfigurationName: string, options?: ManagementConfigurationsGetOptionalParams): Promise<ManagementConfigurationsGetResponse>;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=managementConfigurations.d.ts.map
|
|
@@ -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,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
//# sourceMappingURL=managementConfigurations.js.map
|
|
@@ -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"]}
|
|
@@ -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,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { 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,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
//# sourceMappingURL=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,118 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.OperationsManagementClient = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
13
|
+
const coreRestPipeline = tslib_1.__importStar(require("@azure/core-rest-pipeline"));
|
|
14
|
+
const index_js_1 = require("./operations/index.js");
|
|
15
|
+
class OperationsManagementClient extends coreClient.ServiceClient {
|
|
16
|
+
$host;
|
|
17
|
+
subscriptionId;
|
|
18
|
+
apiVersion;
|
|
19
|
+
/**
|
|
20
|
+
* Initializes a new instance of the OperationsManagementClient class.
|
|
21
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
22
|
+
* @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure
|
|
23
|
+
* subscription. The subscription ID forms part of the URI for every service call.
|
|
24
|
+
* @param options The parameter options
|
|
25
|
+
*/
|
|
26
|
+
constructor(credentials, subscriptionId, options) {
|
|
27
|
+
if (credentials === undefined) {
|
|
28
|
+
throw new Error("'credentials' cannot be null");
|
|
29
|
+
}
|
|
30
|
+
if (subscriptionId === undefined) {
|
|
31
|
+
throw new Error("'subscriptionId' cannot be null");
|
|
32
|
+
}
|
|
33
|
+
// Initializing default values for options
|
|
34
|
+
if (!options) {
|
|
35
|
+
options = {};
|
|
36
|
+
}
|
|
37
|
+
const defaults = {
|
|
38
|
+
requestContentType: "application/json; charset=utf-8",
|
|
39
|
+
credential: credentials
|
|
40
|
+
};
|
|
41
|
+
const packageDetails = `azsdk-js-arm-operations/4.0.0-beta.5`;
|
|
42
|
+
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
43
|
+
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
44
|
+
: `${packageDetails}`;
|
|
45
|
+
const optionsWithDefaults = {
|
|
46
|
+
...defaults,
|
|
47
|
+
...options,
|
|
48
|
+
userAgentOptions: {
|
|
49
|
+
userAgentPrefix
|
|
50
|
+
},
|
|
51
|
+
endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com"
|
|
52
|
+
};
|
|
53
|
+
super(optionsWithDefaults);
|
|
54
|
+
let bearerTokenAuthenticationPolicyFound = false;
|
|
55
|
+
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
|
56
|
+
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
57
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
58
|
+
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
59
|
+
}
|
|
60
|
+
if (!options ||
|
|
61
|
+
!options.pipeline ||
|
|
62
|
+
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
63
|
+
!bearerTokenAuthenticationPolicyFound) {
|
|
64
|
+
this.pipeline.removePolicy({
|
|
65
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
66
|
+
});
|
|
67
|
+
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
68
|
+
credential: credentials,
|
|
69
|
+
scopes: optionsWithDefaults.credentialScopes ??
|
|
70
|
+
`${optionsWithDefaults.endpoint}/.default`,
|
|
71
|
+
challengeCallbacks: {
|
|
72
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
|
73
|
+
}
|
|
74
|
+
}));
|
|
75
|
+
}
|
|
76
|
+
// Parameter assignments
|
|
77
|
+
this.subscriptionId = subscriptionId;
|
|
78
|
+
// Assigning values to Constant parameters
|
|
79
|
+
this.$host = options.$host || "https://management.azure.com";
|
|
80
|
+
this.apiVersion = options.apiVersion || "2015-11-01-preview";
|
|
81
|
+
this.solutions = new index_js_1.SolutionsImpl(this);
|
|
82
|
+
this.managementAssociations = new index_js_1.ManagementAssociationsImpl(this);
|
|
83
|
+
this.managementConfigurations = new index_js_1.ManagementConfigurationsImpl(this);
|
|
84
|
+
this.operations = new index_js_1.OperationsImpl(this);
|
|
85
|
+
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
86
|
+
}
|
|
87
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
88
|
+
addCustomApiVersionPolicy(apiVersion) {
|
|
89
|
+
if (!apiVersion) {
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
const apiVersionPolicy = {
|
|
93
|
+
name: "CustomApiVersionPolicy",
|
|
94
|
+
async sendRequest(request, next) {
|
|
95
|
+
const param = request.url.split("?");
|
|
96
|
+
if (param.length > 1) {
|
|
97
|
+
const newParams = param[1].split("&").map((item) => {
|
|
98
|
+
if (item.indexOf("api-version") > -1) {
|
|
99
|
+
return "api-version=" + apiVersion;
|
|
100
|
+
}
|
|
101
|
+
else {
|
|
102
|
+
return item;
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
request.url = param[0] + "?" + newParams.join("&");
|
|
106
|
+
}
|
|
107
|
+
return next(request);
|
|
108
|
+
}
|
|
109
|
+
};
|
|
110
|
+
this.pipeline.addPolicy(apiVersionPolicy);
|
|
111
|
+
}
|
|
112
|
+
solutions;
|
|
113
|
+
managementAssociations;
|
|
114
|
+
managementConfigurations;
|
|
115
|
+
operations;
|
|
116
|
+
}
|
|
117
|
+
exports.OperationsManagementClient = OperationsManagementClient;
|
|
118
|
+
//# sourceMappingURL=operationsManagementClient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operationsManagementClient.js","sourceRoot":"","sources":["../../src/operationsManagementClient.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,uEAAiD;AACjD,oFAA8D;AAO9D,oDAK+B;AAS/B,MAAa,0BAA2B,SAAQ,UAAU,CAAC,aAAa;IACtE,KAAK,CAAS;IACd,cAAc,CAAS;IACvB,UAAU,CAAS;IAEnB;;;;;;OAMG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAkD;QAElD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAA6C;YACzD,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,MAAM,mBAAmB,GAAG;YAC1B,GAAG,QAAQ;YACX,GAAG,OAAO;YACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB;YACD,QAAQ,EACN,OAAO,CAAC,QAAQ,IAAI,OAAO,CAAC,OAAO,IAAI,8BAA8B;SACxE,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAE3B,IAAI,oCAAoC,GAAY,KAAK,CAAC;QAC1D,IAAI,OAAO,EAAE,QAAQ,IAAI,OAAO,CAAC,QAAQ,CAAC,kBAAkB,EAAE,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAC1E,MAAM,gBAAgB,GAAsC,OAAO,CAAC,QAAQ,CAAC,kBAAkB,EAAE,CAAC;YAClG,oCAAoC,GAAG,gBAAgB,CAAC,IAAI,CAC1D,CAAC,cAAc,EAAE,EAAE,CACjB,cAAc,CAAC,IAAI;gBACnB,gBAAgB,CAAC,mCAAmC,CACvD,CAAC;QACJ,CAAC;QACD,IACE,CAAC,OAAO;YACR,CAAC,OAAO,CAAC,QAAQ;YACjB,OAAO,CAAC,QAAQ,CAAC,kBAAkB,EAAE,CAAC,MAAM,IAAI,CAAC;YACjD,CAAC,oCAAoC,EACrC,CAAC;YACD,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC;gBACzB,IAAI,EAAE,gBAAgB,CAAC,mCAAmC;aAC3D,CAAC,CAAC;YACH,IAAI,CAAC,QAAQ,CAAC,SAAS,CACrB,gBAAgB,CAAC,+BAA+B,CAAC;gBAC/C,UAAU,EAAE,WAAW;gBACvB,MAAM,EACJ,mBAAmB,CAAC,gBAAgB;oBACpC,GAAG,mBAAmB,CAAC,QAAQ,WAAW;gBAC5C,kBAAkB,EAAE;oBAClB,2BAA2B,EACzB,UAAU,CAAC,gCAAgC;iBAC9C;aACF,CAAC,CACH,CAAC;QACJ,CAAC;QACD,wBAAwB;QACxB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QAErC,0CAA0C;QAC1C,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,8BAA8B,CAAC;QAC7D,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,oBAAoB,CAAC;QAC7D,IAAI,CAAC,SAAS,GAAG,IAAI,wBAAa,CAAC,IAAI,CAAC,CAAC;QACzC,IAAI,CAAC,sBAAsB,GAAG,IAAI,qCAA0B,CAAC,IAAI,CAAC,CAAC;QACnE,IAAI,CAAC,wBAAwB,GAAG,IAAI,uCAA4B,CAAC,IAAI,CAAC,CAAC;QACvE,IAAI,CAAC,UAAU,GAAG,IAAI,yBAAc,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,yBAAyB,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IACrD,CAAC;IAED,8GAA8G;IACtG,yBAAyB,CAAC,UAAmB;QACnD,IAAI,CAAC,UAAU,EAAE,CAAC;YAChB,OAAO;QACT,CAAC;QACD,MAAM,gBAAgB,GAAG;YACvB,IAAI,EAAE,wBAAwB;YAC9B,KAAK,CAAC,WAAW,CACf,OAAwB,EACxB,IAAiB;gBAEjB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;IAED,SAAS,CAAY;IACrB,sBAAsB,CAAyB;IAC/C,wBAAwB,CAA2B;IACnD,UAAU,CAAa;CACxB;AA9HD,gEA8HC","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,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.getContinuationToken = getContinuationToken;
|
|
11
|
+
exports.setContinuationToken = setContinuationToken;
|
|
12
|
+
const pageMap = new WeakMap();
|
|
13
|
+
/**
|
|
14
|
+
* Given a result page from a pageable operation, returns a
|
|
15
|
+
* continuation token that can be used to begin paging from
|
|
16
|
+
* that point later.
|
|
17
|
+
* @param page A result object from calling .byPage() on a paged operation.
|
|
18
|
+
* @returns The continuation token that can be passed into byPage().
|
|
19
|
+
*/
|
|
20
|
+
function getContinuationToken(page) {
|
|
21
|
+
if (typeof page !== "object" || page === null) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
return pageMap.get(page)?.continuationToken;
|
|
25
|
+
}
|
|
26
|
+
function setContinuationToken(page, continuationToken) {
|
|
27
|
+
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
const pageInfo = pageMap.get(page) ?? {};
|
|
31
|
+
pageInfo.continuationToken = continuationToken;
|
|
32
|
+
pageMap.set(page, pageInfo);
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=pagingHelper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAeH,oDAKC;AAED,oDAUC;AA1BD,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,SAAgB,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,SAAgB,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"]}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
|
2
|
-
// It should be published with your NPM package. It should not be tracked by Git.
|
|
3
|
-
{
|
|
4
|
-
"tsdocVersion": "0.12",
|
|
5
|
-
"toolPackages": [
|
|
6
|
-
{
|
|
7
|
-
"packageName": "@microsoft/api-extractor",
|
|
8
|
-
"packageVersion": "7.
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
}
|
|
1
|
+
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
|
2
|
+
// It should be published with your NPM package. It should not be tracked by Git.
|
|
3
|
+
{
|
|
4
|
+
"tsdocVersion": "0.12",
|
|
5
|
+
"toolPackages": [
|
|
6
|
+
{
|
|
7
|
+
"packageName": "@microsoft/api-extractor",
|
|
8
|
+
"packageVersion": "7.52.10"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,cAAc,iCAAiC,CAAC"}
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
8
|
/// <reference lib="esnext.asynciterable" />
|
|
10
|
-
export { getContinuationToken } from "./pagingHelper";
|
|
11
|
-
export * from "./models";
|
|
12
|
-
export { OperationsManagementClient } from "./operationsManagementClient";
|
|
13
|
-
export * from "./operationsInterfaces";
|
|
9
|
+
export { getContinuationToken } from "./pagingHelper.js";
|
|
10
|
+
export * from "./models/index.js";
|
|
11
|
+
export { OperationsManagementClient } from "./operationsManagementClient.js";
|
|
12
|
+
export * from "./operationsInterfaces/index.js";
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,cAAc,iCAAiC,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\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { OperationsManagementClient } from \"./operationsManagementClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { LongRunningOperation, LroResponse } from "@azure/core-lro";
|
|
2
|
+
export declare class LroImpl<T> implements LongRunningOperation<T> {
|
|
3
|
+
private sendOperationFn;
|
|
4
|
+
private args;
|
|
5
|
+
private spec;
|
|
6
|
+
requestPath: string;
|
|
7
|
+
requestMethod: string;
|
|
8
|
+
constructor(sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>, args: Record<string, unknown>, spec: {
|
|
9
|
+
readonly requestBody?: unknown;
|
|
10
|
+
readonly path?: string;
|
|
11
|
+
readonly httpMethod: string;
|
|
12
|
+
} & Record<string, any>, requestPath?: string, requestMethod?: string);
|
|
13
|
+
sendInitialRequest(): Promise<LroResponse<T>>;
|
|
14
|
+
sendPollRequest(path: string): Promise<LroResponse<T>>;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=lroImpl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,qBAAa,OAAO,CAAC,CAAC,CAAE,YAAW,oBAAoB,CAAC,CAAC,CAAC;IAEtD,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,IAAI;IACZ,OAAO,CAAC,IAAI;IAKL,WAAW,EAAE,MAAM;IACnB,aAAa,EAAE,MAAM;gBARpB,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EAClE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,IAAI,EAAE;QACZ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAChB,WAAW,GAAE,MAAmB,EAChC,aAAa,GAAE,MAAwB;IAEnC,kBAAkB,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IAG7C,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;CAQpE"}
|