@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
package/dist/index.js
DELETED
|
@@ -1,1524 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var coreClient = require('@azure/core-client');
|
|
6
|
-
var coreRestPipeline = require('@azure/core-rest-pipeline');
|
|
7
|
-
var tslib = require('tslib');
|
|
8
|
-
var coreLro = require('@azure/core-lro');
|
|
9
|
-
|
|
10
|
-
function _interopNamespace(e) {
|
|
11
|
-
if (e && e.__esModule) return e;
|
|
12
|
-
var n = Object.create(null);
|
|
13
|
-
if (e) {
|
|
14
|
-
Object.keys(e).forEach(function (k) {
|
|
15
|
-
if (k !== 'default') {
|
|
16
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
17
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
18
|
-
enumerable: true,
|
|
19
|
-
get: function () { return e[k]; }
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
n["default"] = e;
|
|
25
|
-
return Object.freeze(n);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
|
|
29
|
-
var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespace(coreRestPipeline);
|
|
30
|
-
|
|
31
|
-
/*
|
|
32
|
-
* Copyright (c) Microsoft Corporation.
|
|
33
|
-
* Licensed under the MIT License.
|
|
34
|
-
*
|
|
35
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
36
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
37
|
-
*/
|
|
38
|
-
const Solution = {
|
|
39
|
-
type: {
|
|
40
|
-
name: "Composite",
|
|
41
|
-
className: "Solution",
|
|
42
|
-
modelProperties: {
|
|
43
|
-
id: {
|
|
44
|
-
serializedName: "id",
|
|
45
|
-
readOnly: true,
|
|
46
|
-
type: {
|
|
47
|
-
name: "String"
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
name: {
|
|
51
|
-
serializedName: "name",
|
|
52
|
-
readOnly: true,
|
|
53
|
-
type: {
|
|
54
|
-
name: "String"
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
type: {
|
|
58
|
-
serializedName: "type",
|
|
59
|
-
readOnly: true,
|
|
60
|
-
type: {
|
|
61
|
-
name: "String"
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
location: {
|
|
65
|
-
serializedName: "location",
|
|
66
|
-
type: {
|
|
67
|
-
name: "String"
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
tags: {
|
|
71
|
-
serializedName: "tags",
|
|
72
|
-
type: {
|
|
73
|
-
name: "Dictionary",
|
|
74
|
-
value: { type: { name: "String" } }
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
plan: {
|
|
78
|
-
serializedName: "plan",
|
|
79
|
-
type: {
|
|
80
|
-
name: "Composite",
|
|
81
|
-
className: "SolutionPlan"
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
properties: {
|
|
85
|
-
serializedName: "properties",
|
|
86
|
-
type: {
|
|
87
|
-
name: "Composite",
|
|
88
|
-
className: "SolutionProperties"
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
};
|
|
94
|
-
const SolutionPlan = {
|
|
95
|
-
type: {
|
|
96
|
-
name: "Composite",
|
|
97
|
-
className: "SolutionPlan",
|
|
98
|
-
modelProperties: {
|
|
99
|
-
name: {
|
|
100
|
-
serializedName: "name",
|
|
101
|
-
type: {
|
|
102
|
-
name: "String"
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
publisher: {
|
|
106
|
-
serializedName: "publisher",
|
|
107
|
-
type: {
|
|
108
|
-
name: "String"
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
promotionCode: {
|
|
112
|
-
serializedName: "promotionCode",
|
|
113
|
-
type: {
|
|
114
|
-
name: "String"
|
|
115
|
-
}
|
|
116
|
-
},
|
|
117
|
-
product: {
|
|
118
|
-
serializedName: "product",
|
|
119
|
-
type: {
|
|
120
|
-
name: "String"
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
};
|
|
126
|
-
const SolutionProperties = {
|
|
127
|
-
type: {
|
|
128
|
-
name: "Composite",
|
|
129
|
-
className: "SolutionProperties",
|
|
130
|
-
modelProperties: {
|
|
131
|
-
workspaceResourceId: {
|
|
132
|
-
serializedName: "workspaceResourceId",
|
|
133
|
-
required: true,
|
|
134
|
-
type: {
|
|
135
|
-
name: "String"
|
|
136
|
-
}
|
|
137
|
-
},
|
|
138
|
-
provisioningState: {
|
|
139
|
-
serializedName: "provisioningState",
|
|
140
|
-
readOnly: true,
|
|
141
|
-
type: {
|
|
142
|
-
name: "String"
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
|
-
containedResources: {
|
|
146
|
-
serializedName: "containedResources",
|
|
147
|
-
type: {
|
|
148
|
-
name: "Sequence",
|
|
149
|
-
element: {
|
|
150
|
-
type: {
|
|
151
|
-
name: "String"
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
referencedResources: {
|
|
157
|
-
serializedName: "referencedResources",
|
|
158
|
-
type: {
|
|
159
|
-
name: "Sequence",
|
|
160
|
-
element: {
|
|
161
|
-
type: {
|
|
162
|
-
name: "String"
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
};
|
|
170
|
-
const CodeMessageError = {
|
|
171
|
-
type: {
|
|
172
|
-
name: "Composite",
|
|
173
|
-
className: "CodeMessageError",
|
|
174
|
-
modelProperties: {
|
|
175
|
-
error: {
|
|
176
|
-
serializedName: "error",
|
|
177
|
-
type: {
|
|
178
|
-
name: "Composite",
|
|
179
|
-
className: "CodeMessageErrorError"
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
};
|
|
185
|
-
const CodeMessageErrorError = {
|
|
186
|
-
type: {
|
|
187
|
-
name: "Composite",
|
|
188
|
-
className: "CodeMessageErrorError",
|
|
189
|
-
modelProperties: {
|
|
190
|
-
code: {
|
|
191
|
-
serializedName: "code",
|
|
192
|
-
type: {
|
|
193
|
-
name: "String"
|
|
194
|
-
}
|
|
195
|
-
},
|
|
196
|
-
message: {
|
|
197
|
-
serializedName: "message",
|
|
198
|
-
type: {
|
|
199
|
-
name: "String"
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
};
|
|
205
|
-
const SolutionPatch = {
|
|
206
|
-
type: {
|
|
207
|
-
name: "Composite",
|
|
208
|
-
className: "SolutionPatch",
|
|
209
|
-
modelProperties: {
|
|
210
|
-
tags: {
|
|
211
|
-
serializedName: "tags",
|
|
212
|
-
type: {
|
|
213
|
-
name: "Dictionary",
|
|
214
|
-
value: { type: { name: "String" } }
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
};
|
|
220
|
-
const SolutionPropertiesList = {
|
|
221
|
-
type: {
|
|
222
|
-
name: "Composite",
|
|
223
|
-
className: "SolutionPropertiesList",
|
|
224
|
-
modelProperties: {
|
|
225
|
-
value: {
|
|
226
|
-
serializedName: "value",
|
|
227
|
-
type: {
|
|
228
|
-
name: "Sequence",
|
|
229
|
-
element: {
|
|
230
|
-
type: {
|
|
231
|
-
name: "Composite",
|
|
232
|
-
className: "Solution"
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
};
|
|
240
|
-
const ManagementAssociationPropertiesList = {
|
|
241
|
-
type: {
|
|
242
|
-
name: "Composite",
|
|
243
|
-
className: "ManagementAssociationPropertiesList",
|
|
244
|
-
modelProperties: {
|
|
245
|
-
value: {
|
|
246
|
-
serializedName: "value",
|
|
247
|
-
type: {
|
|
248
|
-
name: "Sequence",
|
|
249
|
-
element: {
|
|
250
|
-
type: {
|
|
251
|
-
name: "Composite",
|
|
252
|
-
className: "ManagementAssociation"
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
};
|
|
260
|
-
const ManagementAssociation = {
|
|
261
|
-
type: {
|
|
262
|
-
name: "Composite",
|
|
263
|
-
className: "ManagementAssociation",
|
|
264
|
-
modelProperties: {
|
|
265
|
-
id: {
|
|
266
|
-
serializedName: "id",
|
|
267
|
-
readOnly: true,
|
|
268
|
-
type: {
|
|
269
|
-
name: "String"
|
|
270
|
-
}
|
|
271
|
-
},
|
|
272
|
-
name: {
|
|
273
|
-
serializedName: "name",
|
|
274
|
-
readOnly: true,
|
|
275
|
-
type: {
|
|
276
|
-
name: "String"
|
|
277
|
-
}
|
|
278
|
-
},
|
|
279
|
-
type: {
|
|
280
|
-
serializedName: "type",
|
|
281
|
-
readOnly: true,
|
|
282
|
-
type: {
|
|
283
|
-
name: "String"
|
|
284
|
-
}
|
|
285
|
-
},
|
|
286
|
-
location: {
|
|
287
|
-
serializedName: "location",
|
|
288
|
-
type: {
|
|
289
|
-
name: "String"
|
|
290
|
-
}
|
|
291
|
-
},
|
|
292
|
-
properties: {
|
|
293
|
-
serializedName: "properties",
|
|
294
|
-
type: {
|
|
295
|
-
name: "Composite",
|
|
296
|
-
className: "ManagementAssociationProperties"
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
};
|
|
302
|
-
const ManagementAssociationProperties = {
|
|
303
|
-
type: {
|
|
304
|
-
name: "Composite",
|
|
305
|
-
className: "ManagementAssociationProperties",
|
|
306
|
-
modelProperties: {
|
|
307
|
-
applicationId: {
|
|
308
|
-
serializedName: "applicationId",
|
|
309
|
-
required: true,
|
|
310
|
-
type: {
|
|
311
|
-
name: "String"
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
};
|
|
317
|
-
const ManagementConfigurationPropertiesList = {
|
|
318
|
-
type: {
|
|
319
|
-
name: "Composite",
|
|
320
|
-
className: "ManagementConfigurationPropertiesList",
|
|
321
|
-
modelProperties: {
|
|
322
|
-
value: {
|
|
323
|
-
serializedName: "value",
|
|
324
|
-
type: {
|
|
325
|
-
name: "Sequence",
|
|
326
|
-
element: {
|
|
327
|
-
type: {
|
|
328
|
-
name: "Composite",
|
|
329
|
-
className: "ManagementConfiguration"
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
};
|
|
337
|
-
const ManagementConfiguration = {
|
|
338
|
-
type: {
|
|
339
|
-
name: "Composite",
|
|
340
|
-
className: "ManagementConfiguration",
|
|
341
|
-
modelProperties: {
|
|
342
|
-
id: {
|
|
343
|
-
serializedName: "id",
|
|
344
|
-
readOnly: true,
|
|
345
|
-
type: {
|
|
346
|
-
name: "String"
|
|
347
|
-
}
|
|
348
|
-
},
|
|
349
|
-
name: {
|
|
350
|
-
serializedName: "name",
|
|
351
|
-
readOnly: true,
|
|
352
|
-
type: {
|
|
353
|
-
name: "String"
|
|
354
|
-
}
|
|
355
|
-
},
|
|
356
|
-
type: {
|
|
357
|
-
serializedName: "type",
|
|
358
|
-
readOnly: true,
|
|
359
|
-
type: {
|
|
360
|
-
name: "String"
|
|
361
|
-
}
|
|
362
|
-
},
|
|
363
|
-
location: {
|
|
364
|
-
serializedName: "location",
|
|
365
|
-
type: {
|
|
366
|
-
name: "String"
|
|
367
|
-
}
|
|
368
|
-
},
|
|
369
|
-
properties: {
|
|
370
|
-
serializedName: "properties",
|
|
371
|
-
type: {
|
|
372
|
-
name: "Composite",
|
|
373
|
-
className: "ManagementConfigurationProperties"
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
};
|
|
379
|
-
const ManagementConfigurationProperties = {
|
|
380
|
-
type: {
|
|
381
|
-
name: "Composite",
|
|
382
|
-
className: "ManagementConfigurationProperties",
|
|
383
|
-
modelProperties: {
|
|
384
|
-
applicationId: {
|
|
385
|
-
serializedName: "applicationId",
|
|
386
|
-
type: {
|
|
387
|
-
name: "String"
|
|
388
|
-
}
|
|
389
|
-
},
|
|
390
|
-
parentResourceType: {
|
|
391
|
-
serializedName: "parentResourceType",
|
|
392
|
-
required: true,
|
|
393
|
-
type: {
|
|
394
|
-
name: "String"
|
|
395
|
-
}
|
|
396
|
-
},
|
|
397
|
-
parameters: {
|
|
398
|
-
serializedName: "parameters",
|
|
399
|
-
required: true,
|
|
400
|
-
type: {
|
|
401
|
-
name: "Sequence",
|
|
402
|
-
element: {
|
|
403
|
-
type: {
|
|
404
|
-
name: "Composite",
|
|
405
|
-
className: "ArmTemplateParameter"
|
|
406
|
-
}
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
},
|
|
410
|
-
provisioningState: {
|
|
411
|
-
serializedName: "provisioningState",
|
|
412
|
-
readOnly: true,
|
|
413
|
-
type: {
|
|
414
|
-
name: "String"
|
|
415
|
-
}
|
|
416
|
-
},
|
|
417
|
-
template: {
|
|
418
|
-
serializedName: "template",
|
|
419
|
-
required: true,
|
|
420
|
-
type: {
|
|
421
|
-
name: "Dictionary",
|
|
422
|
-
value: { type: { name: "any" } }
|
|
423
|
-
}
|
|
424
|
-
}
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
};
|
|
428
|
-
const ArmTemplateParameter = {
|
|
429
|
-
type: {
|
|
430
|
-
name: "Composite",
|
|
431
|
-
className: "ArmTemplateParameter",
|
|
432
|
-
modelProperties: {
|
|
433
|
-
name: {
|
|
434
|
-
serializedName: "name",
|
|
435
|
-
type: {
|
|
436
|
-
name: "String"
|
|
437
|
-
}
|
|
438
|
-
},
|
|
439
|
-
value: {
|
|
440
|
-
serializedName: "value",
|
|
441
|
-
type: {
|
|
442
|
-
name: "String"
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
};
|
|
448
|
-
const OperationListResult = {
|
|
449
|
-
type: {
|
|
450
|
-
name: "Composite",
|
|
451
|
-
className: "OperationListResult",
|
|
452
|
-
modelProperties: {
|
|
453
|
-
value: {
|
|
454
|
-
serializedName: "value",
|
|
455
|
-
type: {
|
|
456
|
-
name: "Sequence",
|
|
457
|
-
element: {
|
|
458
|
-
type: {
|
|
459
|
-
name: "Composite",
|
|
460
|
-
className: "Operation"
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
}
|
|
464
|
-
}
|
|
465
|
-
}
|
|
466
|
-
}
|
|
467
|
-
};
|
|
468
|
-
const Operation = {
|
|
469
|
-
type: {
|
|
470
|
-
name: "Composite",
|
|
471
|
-
className: "Operation",
|
|
472
|
-
modelProperties: {
|
|
473
|
-
name: {
|
|
474
|
-
serializedName: "name",
|
|
475
|
-
type: {
|
|
476
|
-
name: "String"
|
|
477
|
-
}
|
|
478
|
-
},
|
|
479
|
-
display: {
|
|
480
|
-
serializedName: "display",
|
|
481
|
-
type: {
|
|
482
|
-
name: "Composite",
|
|
483
|
-
className: "OperationDisplay"
|
|
484
|
-
}
|
|
485
|
-
}
|
|
486
|
-
}
|
|
487
|
-
}
|
|
488
|
-
};
|
|
489
|
-
const OperationDisplay = {
|
|
490
|
-
type: {
|
|
491
|
-
name: "Composite",
|
|
492
|
-
className: "OperationDisplay",
|
|
493
|
-
modelProperties: {
|
|
494
|
-
provider: {
|
|
495
|
-
serializedName: "provider",
|
|
496
|
-
type: {
|
|
497
|
-
name: "String"
|
|
498
|
-
}
|
|
499
|
-
},
|
|
500
|
-
resource: {
|
|
501
|
-
serializedName: "resource",
|
|
502
|
-
type: {
|
|
503
|
-
name: "String"
|
|
504
|
-
}
|
|
505
|
-
},
|
|
506
|
-
operation: {
|
|
507
|
-
serializedName: "operation",
|
|
508
|
-
type: {
|
|
509
|
-
name: "String"
|
|
510
|
-
}
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
}
|
|
514
|
-
};
|
|
515
|
-
|
|
516
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
517
|
-
__proto__: null,
|
|
518
|
-
Solution: Solution,
|
|
519
|
-
SolutionPlan: SolutionPlan,
|
|
520
|
-
SolutionProperties: SolutionProperties,
|
|
521
|
-
CodeMessageError: CodeMessageError,
|
|
522
|
-
CodeMessageErrorError: CodeMessageErrorError,
|
|
523
|
-
SolutionPatch: SolutionPatch,
|
|
524
|
-
SolutionPropertiesList: SolutionPropertiesList,
|
|
525
|
-
ManagementAssociationPropertiesList: ManagementAssociationPropertiesList,
|
|
526
|
-
ManagementAssociation: ManagementAssociation,
|
|
527
|
-
ManagementAssociationProperties: ManagementAssociationProperties,
|
|
528
|
-
ManagementConfigurationPropertiesList: ManagementConfigurationPropertiesList,
|
|
529
|
-
ManagementConfiguration: ManagementConfiguration,
|
|
530
|
-
ManagementConfigurationProperties: ManagementConfigurationProperties,
|
|
531
|
-
ArmTemplateParameter: ArmTemplateParameter,
|
|
532
|
-
OperationListResult: OperationListResult,
|
|
533
|
-
Operation: Operation,
|
|
534
|
-
OperationDisplay: OperationDisplay
|
|
535
|
-
});
|
|
536
|
-
|
|
537
|
-
/*
|
|
538
|
-
* Copyright (c) Microsoft Corporation.
|
|
539
|
-
* Licensed under the MIT License.
|
|
540
|
-
*
|
|
541
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
542
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
543
|
-
*/
|
|
544
|
-
const contentType = {
|
|
545
|
-
parameterPath: ["options", "contentType"],
|
|
546
|
-
mapper: {
|
|
547
|
-
defaultValue: "application/json",
|
|
548
|
-
isConstant: true,
|
|
549
|
-
serializedName: "Content-Type",
|
|
550
|
-
type: {
|
|
551
|
-
name: "String"
|
|
552
|
-
}
|
|
553
|
-
}
|
|
554
|
-
};
|
|
555
|
-
const parameters = {
|
|
556
|
-
parameterPath: "parameters",
|
|
557
|
-
mapper: Solution
|
|
558
|
-
};
|
|
559
|
-
const accept = {
|
|
560
|
-
parameterPath: "accept",
|
|
561
|
-
mapper: {
|
|
562
|
-
defaultValue: "application/json",
|
|
563
|
-
isConstant: true,
|
|
564
|
-
serializedName: "Accept",
|
|
565
|
-
type: {
|
|
566
|
-
name: "String"
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
};
|
|
570
|
-
const $host = {
|
|
571
|
-
parameterPath: "$host",
|
|
572
|
-
mapper: {
|
|
573
|
-
serializedName: "$host",
|
|
574
|
-
required: true,
|
|
575
|
-
type: {
|
|
576
|
-
name: "String"
|
|
577
|
-
}
|
|
578
|
-
},
|
|
579
|
-
skipEncoding: true
|
|
580
|
-
};
|
|
581
|
-
const subscriptionId = {
|
|
582
|
-
parameterPath: "subscriptionId",
|
|
583
|
-
mapper: {
|
|
584
|
-
serializedName: "subscriptionId",
|
|
585
|
-
required: true,
|
|
586
|
-
type: {
|
|
587
|
-
name: "String"
|
|
588
|
-
}
|
|
589
|
-
}
|
|
590
|
-
};
|
|
591
|
-
const resourceGroupName = {
|
|
592
|
-
parameterPath: "resourceGroupName",
|
|
593
|
-
mapper: {
|
|
594
|
-
constraints: {
|
|
595
|
-
Pattern: new RegExp("^[-\\w\\._\\(\\)]+$"),
|
|
596
|
-
MaxLength: 90,
|
|
597
|
-
MinLength: 1
|
|
598
|
-
},
|
|
599
|
-
serializedName: "resourceGroupName",
|
|
600
|
-
required: true,
|
|
601
|
-
type: {
|
|
602
|
-
name: "String"
|
|
603
|
-
}
|
|
604
|
-
}
|
|
605
|
-
};
|
|
606
|
-
const apiVersion = {
|
|
607
|
-
parameterPath: "apiVersion",
|
|
608
|
-
mapper: {
|
|
609
|
-
defaultValue: "2015-11-01-preview",
|
|
610
|
-
isConstant: true,
|
|
611
|
-
serializedName: "api-version",
|
|
612
|
-
type: {
|
|
613
|
-
name: "String"
|
|
614
|
-
}
|
|
615
|
-
}
|
|
616
|
-
};
|
|
617
|
-
const solutionName = {
|
|
618
|
-
parameterPath: "solutionName",
|
|
619
|
-
mapper: {
|
|
620
|
-
serializedName: "solutionName",
|
|
621
|
-
required: true,
|
|
622
|
-
type: {
|
|
623
|
-
name: "String"
|
|
624
|
-
}
|
|
625
|
-
}
|
|
626
|
-
};
|
|
627
|
-
const parameters1 = {
|
|
628
|
-
parameterPath: "parameters",
|
|
629
|
-
mapper: SolutionPatch
|
|
630
|
-
};
|
|
631
|
-
const parameters2 = {
|
|
632
|
-
parameterPath: "parameters",
|
|
633
|
-
mapper: ManagementAssociation
|
|
634
|
-
};
|
|
635
|
-
const providerName = {
|
|
636
|
-
parameterPath: "providerName",
|
|
637
|
-
mapper: {
|
|
638
|
-
serializedName: "providerName",
|
|
639
|
-
required: true,
|
|
640
|
-
type: {
|
|
641
|
-
name: "String"
|
|
642
|
-
}
|
|
643
|
-
}
|
|
644
|
-
};
|
|
645
|
-
const resourceType = {
|
|
646
|
-
parameterPath: "resourceType",
|
|
647
|
-
mapper: {
|
|
648
|
-
serializedName: "resourceType",
|
|
649
|
-
required: true,
|
|
650
|
-
type: {
|
|
651
|
-
name: "String"
|
|
652
|
-
}
|
|
653
|
-
}
|
|
654
|
-
};
|
|
655
|
-
const resourceName = {
|
|
656
|
-
parameterPath: "resourceName",
|
|
657
|
-
mapper: {
|
|
658
|
-
serializedName: "resourceName",
|
|
659
|
-
required: true,
|
|
660
|
-
type: {
|
|
661
|
-
name: "String"
|
|
662
|
-
}
|
|
663
|
-
}
|
|
664
|
-
};
|
|
665
|
-
const managementAssociationName = {
|
|
666
|
-
parameterPath: "managementAssociationName",
|
|
667
|
-
mapper: {
|
|
668
|
-
serializedName: "managementAssociationName",
|
|
669
|
-
required: true,
|
|
670
|
-
type: {
|
|
671
|
-
name: "String"
|
|
672
|
-
}
|
|
673
|
-
}
|
|
674
|
-
};
|
|
675
|
-
const parameters3 = {
|
|
676
|
-
parameterPath: "parameters",
|
|
677
|
-
mapper: ManagementConfiguration
|
|
678
|
-
};
|
|
679
|
-
const managementConfigurationName = {
|
|
680
|
-
parameterPath: "managementConfigurationName",
|
|
681
|
-
mapper: {
|
|
682
|
-
serializedName: "managementConfigurationName",
|
|
683
|
-
required: true,
|
|
684
|
-
type: {
|
|
685
|
-
name: "String"
|
|
686
|
-
}
|
|
687
|
-
}
|
|
688
|
-
};
|
|
689
|
-
|
|
690
|
-
/*
|
|
691
|
-
* Copyright (c) Microsoft Corporation.
|
|
692
|
-
* Licensed under the MIT License.
|
|
693
|
-
*
|
|
694
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
695
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
696
|
-
*/
|
|
697
|
-
class LroImpl {
|
|
698
|
-
constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
|
|
699
|
-
this.sendOperationFn = sendOperationFn;
|
|
700
|
-
this.args = args;
|
|
701
|
-
this.spec = spec;
|
|
702
|
-
this.requestPath = requestPath;
|
|
703
|
-
this.requestMethod = requestMethod;
|
|
704
|
-
}
|
|
705
|
-
sendInitialRequest() {
|
|
706
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
707
|
-
return this.sendOperationFn(this.args, this.spec);
|
|
708
|
-
});
|
|
709
|
-
}
|
|
710
|
-
sendPollRequest(path) {
|
|
711
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
712
|
-
const _a = this.spec, restSpec = tslib.__rest(_a, ["requestBody"]);
|
|
713
|
-
return this.sendOperationFn(this.args, Object.assign(Object.assign({}, restSpec), { path, httpMethod: "GET" }));
|
|
714
|
-
});
|
|
715
|
-
}
|
|
716
|
-
}
|
|
717
|
-
|
|
718
|
-
/*
|
|
719
|
-
* Copyright (c) Microsoft Corporation.
|
|
720
|
-
* Licensed under the MIT License.
|
|
721
|
-
*
|
|
722
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
723
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
724
|
-
*/
|
|
725
|
-
/** Class containing Solutions operations. */
|
|
726
|
-
class SolutionsImpl {
|
|
727
|
-
/**
|
|
728
|
-
* Initialize a new instance of the class Solutions class.
|
|
729
|
-
* @param client Reference to the service client
|
|
730
|
-
*/
|
|
731
|
-
constructor(client) {
|
|
732
|
-
this.client = client;
|
|
733
|
-
}
|
|
734
|
-
/**
|
|
735
|
-
* Creates or updates the Solution.
|
|
736
|
-
* @param resourceGroupName The name of the resource group to get. The name is case insensitive.
|
|
737
|
-
* @param solutionName User Solution Name.
|
|
738
|
-
* @param parameters The parameters required to create OMS Solution.
|
|
739
|
-
* @param options The options parameters.
|
|
740
|
-
*/
|
|
741
|
-
beginCreateOrUpdate(resourceGroupName, solutionName, parameters, options) {
|
|
742
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
743
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
744
|
-
return this.client.sendOperationRequest(args, spec);
|
|
745
|
-
});
|
|
746
|
-
const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
747
|
-
var _a;
|
|
748
|
-
let currentRawResponse = undefined;
|
|
749
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
750
|
-
const callback = (rawResponse, flatResponse) => {
|
|
751
|
-
currentRawResponse = rawResponse;
|
|
752
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
753
|
-
};
|
|
754
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
755
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
756
|
-
return {
|
|
757
|
-
flatResponse,
|
|
758
|
-
rawResponse: {
|
|
759
|
-
statusCode: currentRawResponse.status,
|
|
760
|
-
body: currentRawResponse.parsedBody,
|
|
761
|
-
headers: currentRawResponse.headers.toJSON()
|
|
762
|
-
}
|
|
763
|
-
};
|
|
764
|
-
});
|
|
765
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, solutionName, parameters, options }, createOrUpdateOperationSpec$2);
|
|
766
|
-
const poller = new coreLro.LroEngine(lro, {
|
|
767
|
-
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
768
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
769
|
-
});
|
|
770
|
-
yield poller.poll();
|
|
771
|
-
return poller;
|
|
772
|
-
});
|
|
773
|
-
}
|
|
774
|
-
/**
|
|
775
|
-
* Creates or updates the Solution.
|
|
776
|
-
* @param resourceGroupName The name of the resource group to get. The name is case insensitive.
|
|
777
|
-
* @param solutionName User Solution Name.
|
|
778
|
-
* @param parameters The parameters required to create OMS Solution.
|
|
779
|
-
* @param options The options parameters.
|
|
780
|
-
*/
|
|
781
|
-
beginCreateOrUpdateAndWait(resourceGroupName, solutionName, parameters, options) {
|
|
782
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
783
|
-
const poller = yield this.beginCreateOrUpdate(resourceGroupName, solutionName, parameters, options);
|
|
784
|
-
return poller.pollUntilDone();
|
|
785
|
-
});
|
|
786
|
-
}
|
|
787
|
-
/**
|
|
788
|
-
* Patch a Solution. Only updating tags supported.
|
|
789
|
-
* @param resourceGroupName The name of the resource group to get. The name is case insensitive.
|
|
790
|
-
* @param solutionName User Solution Name.
|
|
791
|
-
* @param parameters The parameters required to patch a Solution.
|
|
792
|
-
* @param options The options parameters.
|
|
793
|
-
*/
|
|
794
|
-
beginUpdate(resourceGroupName, solutionName, parameters, options) {
|
|
795
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
796
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
797
|
-
return this.client.sendOperationRequest(args, spec);
|
|
798
|
-
});
|
|
799
|
-
const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
800
|
-
var _a;
|
|
801
|
-
let currentRawResponse = undefined;
|
|
802
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
803
|
-
const callback = (rawResponse, flatResponse) => {
|
|
804
|
-
currentRawResponse = rawResponse;
|
|
805
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
806
|
-
};
|
|
807
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
808
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
809
|
-
return {
|
|
810
|
-
flatResponse,
|
|
811
|
-
rawResponse: {
|
|
812
|
-
statusCode: currentRawResponse.status,
|
|
813
|
-
body: currentRawResponse.parsedBody,
|
|
814
|
-
headers: currentRawResponse.headers.toJSON()
|
|
815
|
-
}
|
|
816
|
-
};
|
|
817
|
-
});
|
|
818
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, solutionName, parameters, options }, updateOperationSpec);
|
|
819
|
-
const poller = new coreLro.LroEngine(lro, {
|
|
820
|
-
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
821
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
822
|
-
});
|
|
823
|
-
yield poller.poll();
|
|
824
|
-
return poller;
|
|
825
|
-
});
|
|
826
|
-
}
|
|
827
|
-
/**
|
|
828
|
-
* Patch a Solution. Only updating tags supported.
|
|
829
|
-
* @param resourceGroupName The name of the resource group to get. The name is case insensitive.
|
|
830
|
-
* @param solutionName User Solution Name.
|
|
831
|
-
* @param parameters The parameters required to patch a Solution.
|
|
832
|
-
* @param options The options parameters.
|
|
833
|
-
*/
|
|
834
|
-
beginUpdateAndWait(resourceGroupName, solutionName, parameters, options) {
|
|
835
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
836
|
-
const poller = yield this.beginUpdate(resourceGroupName, solutionName, parameters, options);
|
|
837
|
-
return poller.pollUntilDone();
|
|
838
|
-
});
|
|
839
|
-
}
|
|
840
|
-
/**
|
|
841
|
-
* Deletes the solution in the subscription.
|
|
842
|
-
* @param resourceGroupName The name of the resource group to get. The name is case insensitive.
|
|
843
|
-
* @param solutionName User Solution Name.
|
|
844
|
-
* @param options The options parameters.
|
|
845
|
-
*/
|
|
846
|
-
beginDelete(resourceGroupName, solutionName, options) {
|
|
847
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
848
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
849
|
-
return this.client.sendOperationRequest(args, spec);
|
|
850
|
-
});
|
|
851
|
-
const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
852
|
-
var _a;
|
|
853
|
-
let currentRawResponse = undefined;
|
|
854
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
855
|
-
const callback = (rawResponse, flatResponse) => {
|
|
856
|
-
currentRawResponse = rawResponse;
|
|
857
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
858
|
-
};
|
|
859
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
860
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
861
|
-
return {
|
|
862
|
-
flatResponse,
|
|
863
|
-
rawResponse: {
|
|
864
|
-
statusCode: currentRawResponse.status,
|
|
865
|
-
body: currentRawResponse.parsedBody,
|
|
866
|
-
headers: currentRawResponse.headers.toJSON()
|
|
867
|
-
}
|
|
868
|
-
};
|
|
869
|
-
});
|
|
870
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, solutionName, options }, deleteOperationSpec$2);
|
|
871
|
-
const poller = new coreLro.LroEngine(lro, {
|
|
872
|
-
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
873
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
874
|
-
});
|
|
875
|
-
yield poller.poll();
|
|
876
|
-
return poller;
|
|
877
|
-
});
|
|
878
|
-
}
|
|
879
|
-
/**
|
|
880
|
-
* Deletes the solution in the subscription.
|
|
881
|
-
* @param resourceGroupName The name of the resource group to get. The name is case insensitive.
|
|
882
|
-
* @param solutionName User Solution Name.
|
|
883
|
-
* @param options The options parameters.
|
|
884
|
-
*/
|
|
885
|
-
beginDeleteAndWait(resourceGroupName, solutionName, options) {
|
|
886
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
887
|
-
const poller = yield this.beginDelete(resourceGroupName, solutionName, options);
|
|
888
|
-
return poller.pollUntilDone();
|
|
889
|
-
});
|
|
890
|
-
}
|
|
891
|
-
/**
|
|
892
|
-
* Retrieves the user solution.
|
|
893
|
-
* @param resourceGroupName The name of the resource group to get. The name is case insensitive.
|
|
894
|
-
* @param solutionName User Solution Name.
|
|
895
|
-
* @param options The options parameters.
|
|
896
|
-
*/
|
|
897
|
-
get(resourceGroupName, solutionName, options) {
|
|
898
|
-
return this.client.sendOperationRequest({ resourceGroupName, solutionName, options }, getOperationSpec$2);
|
|
899
|
-
}
|
|
900
|
-
/**
|
|
901
|
-
* Retrieves the solution list. It will retrieve both first party and third party solutions
|
|
902
|
-
* @param resourceGroupName The name of the resource group to get. The name is case insensitive.
|
|
903
|
-
* @param options The options parameters.
|
|
904
|
-
*/
|
|
905
|
-
listByResourceGroup(resourceGroupName, options) {
|
|
906
|
-
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
907
|
-
}
|
|
908
|
-
/**
|
|
909
|
-
* Retrieves the solution list. It will retrieve both first party and third party solutions
|
|
910
|
-
* @param options The options parameters.
|
|
911
|
-
*/
|
|
912
|
-
listBySubscription(options) {
|
|
913
|
-
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec$2);
|
|
914
|
-
}
|
|
915
|
-
}
|
|
916
|
-
// Operation Specifications
|
|
917
|
-
const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
918
|
-
const createOrUpdateOperationSpec$2 = {
|
|
919
|
-
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions/{solutionName}",
|
|
920
|
-
httpMethod: "PUT",
|
|
921
|
-
responses: {
|
|
922
|
-
200: {
|
|
923
|
-
bodyMapper: Solution
|
|
924
|
-
},
|
|
925
|
-
201: {
|
|
926
|
-
bodyMapper: Solution
|
|
927
|
-
},
|
|
928
|
-
202: {
|
|
929
|
-
bodyMapper: Solution
|
|
930
|
-
},
|
|
931
|
-
204: {
|
|
932
|
-
bodyMapper: Solution
|
|
933
|
-
},
|
|
934
|
-
default: {
|
|
935
|
-
bodyMapper: CodeMessageError
|
|
936
|
-
}
|
|
937
|
-
},
|
|
938
|
-
requestBody: parameters,
|
|
939
|
-
queryParameters: [apiVersion],
|
|
940
|
-
urlParameters: [
|
|
941
|
-
$host,
|
|
942
|
-
subscriptionId,
|
|
943
|
-
resourceGroupName,
|
|
944
|
-
solutionName
|
|
945
|
-
],
|
|
946
|
-
headerParameters: [contentType, accept],
|
|
947
|
-
mediaType: "json",
|
|
948
|
-
serializer: serializer$3
|
|
949
|
-
};
|
|
950
|
-
const updateOperationSpec = {
|
|
951
|
-
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions/{solutionName}",
|
|
952
|
-
httpMethod: "PATCH",
|
|
953
|
-
responses: {
|
|
954
|
-
200: {
|
|
955
|
-
bodyMapper: Solution
|
|
956
|
-
},
|
|
957
|
-
201: {
|
|
958
|
-
bodyMapper: Solution
|
|
959
|
-
},
|
|
960
|
-
202: {
|
|
961
|
-
bodyMapper: Solution
|
|
962
|
-
},
|
|
963
|
-
204: {
|
|
964
|
-
bodyMapper: Solution
|
|
965
|
-
},
|
|
966
|
-
default: {
|
|
967
|
-
bodyMapper: CodeMessageError
|
|
968
|
-
}
|
|
969
|
-
},
|
|
970
|
-
requestBody: parameters1,
|
|
971
|
-
queryParameters: [apiVersion],
|
|
972
|
-
urlParameters: [
|
|
973
|
-
$host,
|
|
974
|
-
subscriptionId,
|
|
975
|
-
resourceGroupName,
|
|
976
|
-
solutionName
|
|
977
|
-
],
|
|
978
|
-
headerParameters: [contentType, accept],
|
|
979
|
-
mediaType: "json",
|
|
980
|
-
serializer: serializer$3
|
|
981
|
-
};
|
|
982
|
-
const deleteOperationSpec$2 = {
|
|
983
|
-
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions/{solutionName}",
|
|
984
|
-
httpMethod: "DELETE",
|
|
985
|
-
responses: {
|
|
986
|
-
200: {},
|
|
987
|
-
201: {},
|
|
988
|
-
202: {},
|
|
989
|
-
204: {},
|
|
990
|
-
default: {
|
|
991
|
-
bodyMapper: CodeMessageError
|
|
992
|
-
}
|
|
993
|
-
},
|
|
994
|
-
queryParameters: [apiVersion],
|
|
995
|
-
urlParameters: [
|
|
996
|
-
$host,
|
|
997
|
-
subscriptionId,
|
|
998
|
-
resourceGroupName,
|
|
999
|
-
solutionName
|
|
1000
|
-
],
|
|
1001
|
-
headerParameters: [accept],
|
|
1002
|
-
serializer: serializer$3
|
|
1003
|
-
};
|
|
1004
|
-
const getOperationSpec$2 = {
|
|
1005
|
-
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions/{solutionName}",
|
|
1006
|
-
httpMethod: "GET",
|
|
1007
|
-
responses: {
|
|
1008
|
-
200: {
|
|
1009
|
-
bodyMapper: Solution
|
|
1010
|
-
},
|
|
1011
|
-
default: {
|
|
1012
|
-
bodyMapper: CodeMessageError
|
|
1013
|
-
}
|
|
1014
|
-
},
|
|
1015
|
-
queryParameters: [apiVersion],
|
|
1016
|
-
urlParameters: [
|
|
1017
|
-
$host,
|
|
1018
|
-
subscriptionId,
|
|
1019
|
-
resourceGroupName,
|
|
1020
|
-
solutionName
|
|
1021
|
-
],
|
|
1022
|
-
headerParameters: [accept],
|
|
1023
|
-
serializer: serializer$3
|
|
1024
|
-
};
|
|
1025
|
-
const listByResourceGroupOperationSpec = {
|
|
1026
|
-
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions",
|
|
1027
|
-
httpMethod: "GET",
|
|
1028
|
-
responses: {
|
|
1029
|
-
200: {
|
|
1030
|
-
bodyMapper: SolutionPropertiesList
|
|
1031
|
-
},
|
|
1032
|
-
default: {
|
|
1033
|
-
bodyMapper: CodeMessageError
|
|
1034
|
-
}
|
|
1035
|
-
},
|
|
1036
|
-
queryParameters: [apiVersion],
|
|
1037
|
-
urlParameters: [
|
|
1038
|
-
$host,
|
|
1039
|
-
subscriptionId,
|
|
1040
|
-
resourceGroupName
|
|
1041
|
-
],
|
|
1042
|
-
headerParameters: [accept],
|
|
1043
|
-
serializer: serializer$3
|
|
1044
|
-
};
|
|
1045
|
-
const listBySubscriptionOperationSpec$2 = {
|
|
1046
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.OperationsManagement/solutions",
|
|
1047
|
-
httpMethod: "GET",
|
|
1048
|
-
responses: {
|
|
1049
|
-
200: {
|
|
1050
|
-
bodyMapper: SolutionPropertiesList
|
|
1051
|
-
},
|
|
1052
|
-
default: {
|
|
1053
|
-
bodyMapper: CodeMessageError
|
|
1054
|
-
}
|
|
1055
|
-
},
|
|
1056
|
-
queryParameters: [apiVersion],
|
|
1057
|
-
urlParameters: [$host, subscriptionId],
|
|
1058
|
-
headerParameters: [accept],
|
|
1059
|
-
serializer: serializer$3
|
|
1060
|
-
};
|
|
1061
|
-
|
|
1062
|
-
/*
|
|
1063
|
-
* Copyright (c) Microsoft Corporation.
|
|
1064
|
-
* Licensed under the MIT License.
|
|
1065
|
-
*
|
|
1066
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1067
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1068
|
-
*/
|
|
1069
|
-
/** Class containing ManagementAssociations operations. */
|
|
1070
|
-
class ManagementAssociationsImpl {
|
|
1071
|
-
/**
|
|
1072
|
-
* Initialize a new instance of the class ManagementAssociations class.
|
|
1073
|
-
* @param client Reference to the service client
|
|
1074
|
-
*/
|
|
1075
|
-
constructor(client) {
|
|
1076
|
-
this.client = client;
|
|
1077
|
-
}
|
|
1078
|
-
/**
|
|
1079
|
-
* Retrieves the ManagementAssociations list.
|
|
1080
|
-
* @param options The options parameters.
|
|
1081
|
-
*/
|
|
1082
|
-
listBySubscription(options) {
|
|
1083
|
-
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec$1);
|
|
1084
|
-
}
|
|
1085
|
-
/**
|
|
1086
|
-
* Creates or updates the ManagementAssociation.
|
|
1087
|
-
* @param resourceGroupName The name of the resource group to get. The name is case insensitive.
|
|
1088
|
-
* @param providerName Provider name for the parent resource.
|
|
1089
|
-
* @param resourceType Resource type for the parent resource
|
|
1090
|
-
* @param resourceName Parent resource name.
|
|
1091
|
-
* @param managementAssociationName User ManagementAssociation Name.
|
|
1092
|
-
* @param parameters The parameters required to create ManagementAssociation extension.
|
|
1093
|
-
* @param options The options parameters.
|
|
1094
|
-
*/
|
|
1095
|
-
createOrUpdate(resourceGroupName, providerName, resourceType, resourceName, managementAssociationName, parameters, options) {
|
|
1096
|
-
return this.client.sendOperationRequest({
|
|
1097
|
-
resourceGroupName,
|
|
1098
|
-
providerName,
|
|
1099
|
-
resourceType,
|
|
1100
|
-
resourceName,
|
|
1101
|
-
managementAssociationName,
|
|
1102
|
-
parameters,
|
|
1103
|
-
options
|
|
1104
|
-
}, createOrUpdateOperationSpec$1);
|
|
1105
|
-
}
|
|
1106
|
-
/**
|
|
1107
|
-
* Deletes the ManagementAssociation in the subscription.
|
|
1108
|
-
* @param resourceGroupName The name of the resource group to get. The name is case insensitive.
|
|
1109
|
-
* @param providerName Provider name for the parent resource.
|
|
1110
|
-
* @param resourceType Resource type for the parent resource
|
|
1111
|
-
* @param resourceName Parent resource name.
|
|
1112
|
-
* @param managementAssociationName User ManagementAssociation Name.
|
|
1113
|
-
* @param options The options parameters.
|
|
1114
|
-
*/
|
|
1115
|
-
delete(resourceGroupName, providerName, resourceType, resourceName, managementAssociationName, options) {
|
|
1116
|
-
return this.client.sendOperationRequest({
|
|
1117
|
-
resourceGroupName,
|
|
1118
|
-
providerName,
|
|
1119
|
-
resourceType,
|
|
1120
|
-
resourceName,
|
|
1121
|
-
managementAssociationName,
|
|
1122
|
-
options
|
|
1123
|
-
}, deleteOperationSpec$1);
|
|
1124
|
-
}
|
|
1125
|
-
/**
|
|
1126
|
-
* Retrieves the user ManagementAssociation.
|
|
1127
|
-
* @param resourceGroupName The name of the resource group to get. The name is case insensitive.
|
|
1128
|
-
* @param providerName Provider name for the parent resource.
|
|
1129
|
-
* @param resourceType Resource type for the parent resource
|
|
1130
|
-
* @param resourceName Parent resource name.
|
|
1131
|
-
* @param managementAssociationName User ManagementAssociation Name.
|
|
1132
|
-
* @param options The options parameters.
|
|
1133
|
-
*/
|
|
1134
|
-
get(resourceGroupName, providerName, resourceType, resourceName, managementAssociationName, options) {
|
|
1135
|
-
return this.client.sendOperationRequest({
|
|
1136
|
-
resourceGroupName,
|
|
1137
|
-
providerName,
|
|
1138
|
-
resourceType,
|
|
1139
|
-
resourceName,
|
|
1140
|
-
managementAssociationName,
|
|
1141
|
-
options
|
|
1142
|
-
}, getOperationSpec$1);
|
|
1143
|
-
}
|
|
1144
|
-
}
|
|
1145
|
-
// Operation Specifications
|
|
1146
|
-
const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
1147
|
-
const listBySubscriptionOperationSpec$1 = {
|
|
1148
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.OperationsManagement/ManagementAssociations",
|
|
1149
|
-
httpMethod: "GET",
|
|
1150
|
-
responses: {
|
|
1151
|
-
200: {
|
|
1152
|
-
bodyMapper: ManagementAssociationPropertiesList
|
|
1153
|
-
},
|
|
1154
|
-
default: {
|
|
1155
|
-
bodyMapper: CodeMessageError
|
|
1156
|
-
}
|
|
1157
|
-
},
|
|
1158
|
-
queryParameters: [apiVersion],
|
|
1159
|
-
urlParameters: [$host, subscriptionId],
|
|
1160
|
-
headerParameters: [accept],
|
|
1161
|
-
serializer: serializer$2
|
|
1162
|
-
};
|
|
1163
|
-
const createOrUpdateOperationSpec$1 = {
|
|
1164
|
-
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.OperationsManagement/ManagementAssociations/{managementAssociationName}",
|
|
1165
|
-
httpMethod: "PUT",
|
|
1166
|
-
responses: {
|
|
1167
|
-
200: {
|
|
1168
|
-
bodyMapper: ManagementAssociation
|
|
1169
|
-
},
|
|
1170
|
-
default: {
|
|
1171
|
-
bodyMapper: CodeMessageError
|
|
1172
|
-
}
|
|
1173
|
-
},
|
|
1174
|
-
requestBody: parameters2,
|
|
1175
|
-
queryParameters: [apiVersion],
|
|
1176
|
-
urlParameters: [
|
|
1177
|
-
$host,
|
|
1178
|
-
subscriptionId,
|
|
1179
|
-
resourceGroupName,
|
|
1180
|
-
providerName,
|
|
1181
|
-
resourceType,
|
|
1182
|
-
resourceName,
|
|
1183
|
-
managementAssociationName
|
|
1184
|
-
],
|
|
1185
|
-
headerParameters: [contentType, accept],
|
|
1186
|
-
mediaType: "json",
|
|
1187
|
-
serializer: serializer$2
|
|
1188
|
-
};
|
|
1189
|
-
const deleteOperationSpec$1 = {
|
|
1190
|
-
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.OperationsManagement/ManagementAssociations/{managementAssociationName}",
|
|
1191
|
-
httpMethod: "DELETE",
|
|
1192
|
-
responses: {
|
|
1193
|
-
200: {},
|
|
1194
|
-
default: {
|
|
1195
|
-
bodyMapper: CodeMessageError
|
|
1196
|
-
}
|
|
1197
|
-
},
|
|
1198
|
-
queryParameters: [apiVersion],
|
|
1199
|
-
urlParameters: [
|
|
1200
|
-
$host,
|
|
1201
|
-
subscriptionId,
|
|
1202
|
-
resourceGroupName,
|
|
1203
|
-
providerName,
|
|
1204
|
-
resourceType,
|
|
1205
|
-
resourceName,
|
|
1206
|
-
managementAssociationName
|
|
1207
|
-
],
|
|
1208
|
-
headerParameters: [accept],
|
|
1209
|
-
serializer: serializer$2
|
|
1210
|
-
};
|
|
1211
|
-
const getOperationSpec$1 = {
|
|
1212
|
-
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.OperationsManagement/ManagementAssociations/{managementAssociationName}",
|
|
1213
|
-
httpMethod: "GET",
|
|
1214
|
-
responses: {
|
|
1215
|
-
200: {
|
|
1216
|
-
bodyMapper: ManagementAssociation
|
|
1217
|
-
},
|
|
1218
|
-
default: {
|
|
1219
|
-
bodyMapper: CodeMessageError
|
|
1220
|
-
}
|
|
1221
|
-
},
|
|
1222
|
-
queryParameters: [apiVersion],
|
|
1223
|
-
urlParameters: [
|
|
1224
|
-
$host,
|
|
1225
|
-
subscriptionId,
|
|
1226
|
-
resourceGroupName,
|
|
1227
|
-
providerName,
|
|
1228
|
-
resourceType,
|
|
1229
|
-
resourceName,
|
|
1230
|
-
managementAssociationName
|
|
1231
|
-
],
|
|
1232
|
-
headerParameters: [accept],
|
|
1233
|
-
serializer: serializer$2
|
|
1234
|
-
};
|
|
1235
|
-
|
|
1236
|
-
/*
|
|
1237
|
-
* Copyright (c) Microsoft Corporation.
|
|
1238
|
-
* Licensed under the MIT License.
|
|
1239
|
-
*
|
|
1240
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1241
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1242
|
-
*/
|
|
1243
|
-
/** Class containing ManagementConfigurations operations. */
|
|
1244
|
-
class ManagementConfigurationsImpl {
|
|
1245
|
-
/**
|
|
1246
|
-
* Initialize a new instance of the class ManagementConfigurations class.
|
|
1247
|
-
* @param client Reference to the service client
|
|
1248
|
-
*/
|
|
1249
|
-
constructor(client) {
|
|
1250
|
-
this.client = client;
|
|
1251
|
-
}
|
|
1252
|
-
/**
|
|
1253
|
-
* Retrieves the ManagementConfigurations list.
|
|
1254
|
-
* @param options The options parameters.
|
|
1255
|
-
*/
|
|
1256
|
-
listBySubscription(options) {
|
|
1257
|
-
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
|
|
1258
|
-
}
|
|
1259
|
-
/**
|
|
1260
|
-
* Creates or updates the ManagementConfiguration.
|
|
1261
|
-
* @param resourceGroupName The name of the resource group to get. The name is case insensitive.
|
|
1262
|
-
* @param managementConfigurationName User Management Configuration Name.
|
|
1263
|
-
* @param parameters The parameters required to create OMS Solution.
|
|
1264
|
-
* @param options The options parameters.
|
|
1265
|
-
*/
|
|
1266
|
-
createOrUpdate(resourceGroupName, managementConfigurationName, parameters, options) {
|
|
1267
|
-
return this.client.sendOperationRequest({ resourceGroupName, managementConfigurationName, parameters, options }, createOrUpdateOperationSpec);
|
|
1268
|
-
}
|
|
1269
|
-
/**
|
|
1270
|
-
* Deletes the ManagementConfiguration in the subscription.
|
|
1271
|
-
* @param resourceGroupName The name of the resource group to get. The name is case insensitive.
|
|
1272
|
-
* @param managementConfigurationName User Management Configuration Name.
|
|
1273
|
-
* @param options The options parameters.
|
|
1274
|
-
*/
|
|
1275
|
-
delete(resourceGroupName, managementConfigurationName, options) {
|
|
1276
|
-
return this.client.sendOperationRequest({ resourceGroupName, managementConfigurationName, options }, deleteOperationSpec);
|
|
1277
|
-
}
|
|
1278
|
-
/**
|
|
1279
|
-
* Retrieves the user ManagementConfiguration.
|
|
1280
|
-
* @param resourceGroupName The name of the resource group to get. The name is case insensitive.
|
|
1281
|
-
* @param managementConfigurationName User Management Configuration Name.
|
|
1282
|
-
* @param options The options parameters.
|
|
1283
|
-
*/
|
|
1284
|
-
get(resourceGroupName, managementConfigurationName, options) {
|
|
1285
|
-
return this.client.sendOperationRequest({ resourceGroupName, managementConfigurationName, options }, getOperationSpec);
|
|
1286
|
-
}
|
|
1287
|
-
}
|
|
1288
|
-
// Operation Specifications
|
|
1289
|
-
const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
1290
|
-
const listBySubscriptionOperationSpec = {
|
|
1291
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.OperationsManagement/ManagementConfigurations",
|
|
1292
|
-
httpMethod: "GET",
|
|
1293
|
-
responses: {
|
|
1294
|
-
200: {
|
|
1295
|
-
bodyMapper: ManagementConfigurationPropertiesList
|
|
1296
|
-
},
|
|
1297
|
-
default: {
|
|
1298
|
-
bodyMapper: CodeMessageError
|
|
1299
|
-
}
|
|
1300
|
-
},
|
|
1301
|
-
queryParameters: [apiVersion],
|
|
1302
|
-
urlParameters: [$host, subscriptionId],
|
|
1303
|
-
headerParameters: [accept],
|
|
1304
|
-
serializer: serializer$1
|
|
1305
|
-
};
|
|
1306
|
-
const createOrUpdateOperationSpec = {
|
|
1307
|
-
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/ManagementConfigurations/{managementConfigurationName}",
|
|
1308
|
-
httpMethod: "PUT",
|
|
1309
|
-
responses: {
|
|
1310
|
-
200: {
|
|
1311
|
-
bodyMapper: ManagementConfiguration
|
|
1312
|
-
},
|
|
1313
|
-
default: {
|
|
1314
|
-
bodyMapper: CodeMessageError
|
|
1315
|
-
}
|
|
1316
|
-
},
|
|
1317
|
-
requestBody: parameters3,
|
|
1318
|
-
queryParameters: [apiVersion],
|
|
1319
|
-
urlParameters: [
|
|
1320
|
-
$host,
|
|
1321
|
-
subscriptionId,
|
|
1322
|
-
resourceGroupName,
|
|
1323
|
-
managementConfigurationName
|
|
1324
|
-
],
|
|
1325
|
-
headerParameters: [contentType, accept],
|
|
1326
|
-
mediaType: "json",
|
|
1327
|
-
serializer: serializer$1
|
|
1328
|
-
};
|
|
1329
|
-
const deleteOperationSpec = {
|
|
1330
|
-
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/ManagementConfigurations/{managementConfigurationName}",
|
|
1331
|
-
httpMethod: "DELETE",
|
|
1332
|
-
responses: {
|
|
1333
|
-
200: {},
|
|
1334
|
-
default: {
|
|
1335
|
-
bodyMapper: CodeMessageError
|
|
1336
|
-
}
|
|
1337
|
-
},
|
|
1338
|
-
queryParameters: [apiVersion],
|
|
1339
|
-
urlParameters: [
|
|
1340
|
-
$host,
|
|
1341
|
-
subscriptionId,
|
|
1342
|
-
resourceGroupName,
|
|
1343
|
-
managementConfigurationName
|
|
1344
|
-
],
|
|
1345
|
-
headerParameters: [accept],
|
|
1346
|
-
serializer: serializer$1
|
|
1347
|
-
};
|
|
1348
|
-
const getOperationSpec = {
|
|
1349
|
-
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/ManagementConfigurations/{managementConfigurationName}",
|
|
1350
|
-
httpMethod: "GET",
|
|
1351
|
-
responses: {
|
|
1352
|
-
200: {
|
|
1353
|
-
bodyMapper: ManagementConfiguration
|
|
1354
|
-
},
|
|
1355
|
-
default: {
|
|
1356
|
-
bodyMapper: CodeMessageError
|
|
1357
|
-
}
|
|
1358
|
-
},
|
|
1359
|
-
queryParameters: [apiVersion],
|
|
1360
|
-
urlParameters: [
|
|
1361
|
-
$host,
|
|
1362
|
-
subscriptionId,
|
|
1363
|
-
resourceGroupName,
|
|
1364
|
-
managementConfigurationName
|
|
1365
|
-
],
|
|
1366
|
-
headerParameters: [accept],
|
|
1367
|
-
serializer: serializer$1
|
|
1368
|
-
};
|
|
1369
|
-
|
|
1370
|
-
/*
|
|
1371
|
-
* Copyright (c) Microsoft Corporation.
|
|
1372
|
-
* Licensed under the MIT License.
|
|
1373
|
-
*
|
|
1374
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1375
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1376
|
-
*/
|
|
1377
|
-
/// <reference lib="esnext.asynciterable" />
|
|
1378
|
-
/** Class containing Operations operations. */
|
|
1379
|
-
class OperationsImpl {
|
|
1380
|
-
/**
|
|
1381
|
-
* Initialize a new instance of the class Operations class.
|
|
1382
|
-
* @param client Reference to the service client
|
|
1383
|
-
*/
|
|
1384
|
-
constructor(client) {
|
|
1385
|
-
this.client = client;
|
|
1386
|
-
}
|
|
1387
|
-
/**
|
|
1388
|
-
* Lists all of the available OperationsManagement Rest API operations.
|
|
1389
|
-
* @param options The options parameters.
|
|
1390
|
-
*/
|
|
1391
|
-
list(options) {
|
|
1392
|
-
const iter = this.listPagingAll(options);
|
|
1393
|
-
return {
|
|
1394
|
-
next() {
|
|
1395
|
-
return iter.next();
|
|
1396
|
-
},
|
|
1397
|
-
[Symbol.asyncIterator]() {
|
|
1398
|
-
return this;
|
|
1399
|
-
},
|
|
1400
|
-
byPage: () => {
|
|
1401
|
-
return this.listPagingPage(options);
|
|
1402
|
-
}
|
|
1403
|
-
};
|
|
1404
|
-
}
|
|
1405
|
-
listPagingPage(options) {
|
|
1406
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
1407
|
-
let result = yield tslib.__await(this._list(options));
|
|
1408
|
-
yield yield tslib.__await(result.value || []);
|
|
1409
|
-
});
|
|
1410
|
-
}
|
|
1411
|
-
listPagingAll(options) {
|
|
1412
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
1413
|
-
var e_1, _a;
|
|
1414
|
-
try {
|
|
1415
|
-
for (var _b = tslib.__asyncValues(this.listPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
1416
|
-
const page = _c.value;
|
|
1417
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1418
|
-
}
|
|
1419
|
-
}
|
|
1420
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
1421
|
-
finally {
|
|
1422
|
-
try {
|
|
1423
|
-
if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
|
|
1424
|
-
}
|
|
1425
|
-
finally { if (e_1) throw e_1.error; }
|
|
1426
|
-
}
|
|
1427
|
-
});
|
|
1428
|
-
}
|
|
1429
|
-
/**
|
|
1430
|
-
* Lists all of the available OperationsManagement Rest API operations.
|
|
1431
|
-
* @param options The options parameters.
|
|
1432
|
-
*/
|
|
1433
|
-
_list(options) {
|
|
1434
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
1435
|
-
}
|
|
1436
|
-
}
|
|
1437
|
-
// Operation Specifications
|
|
1438
|
-
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
1439
|
-
const listOperationSpec = {
|
|
1440
|
-
path: "/providers/Microsoft.OperationsManagement/operations",
|
|
1441
|
-
httpMethod: "GET",
|
|
1442
|
-
responses: {
|
|
1443
|
-
200: {
|
|
1444
|
-
bodyMapper: OperationListResult
|
|
1445
|
-
}
|
|
1446
|
-
},
|
|
1447
|
-
queryParameters: [apiVersion],
|
|
1448
|
-
urlParameters: [$host],
|
|
1449
|
-
headerParameters: [accept],
|
|
1450
|
-
serializer
|
|
1451
|
-
};
|
|
1452
|
-
|
|
1453
|
-
/*
|
|
1454
|
-
* Copyright (c) Microsoft Corporation.
|
|
1455
|
-
* Licensed under the MIT License.
|
|
1456
|
-
*
|
|
1457
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1458
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1459
|
-
*/
|
|
1460
|
-
class OperationsManagementClient extends coreClient__namespace.ServiceClient {
|
|
1461
|
-
/**
|
|
1462
|
-
* Initializes a new instance of the OperationsManagementClient class.
|
|
1463
|
-
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
1464
|
-
* @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure
|
|
1465
|
-
* subscription. The subscription ID forms part of the URI for every service call.
|
|
1466
|
-
* @param options The parameter options
|
|
1467
|
-
*/
|
|
1468
|
-
constructor(credentials, subscriptionId, options) {
|
|
1469
|
-
var _a, _b;
|
|
1470
|
-
if (credentials === undefined) {
|
|
1471
|
-
throw new Error("'credentials' cannot be null");
|
|
1472
|
-
}
|
|
1473
|
-
if (subscriptionId === undefined) {
|
|
1474
|
-
throw new Error("'subscriptionId' cannot be null");
|
|
1475
|
-
}
|
|
1476
|
-
// Initializing default values for options
|
|
1477
|
-
if (!options) {
|
|
1478
|
-
options = {};
|
|
1479
|
-
}
|
|
1480
|
-
const defaults = {
|
|
1481
|
-
requestContentType: "application/json; charset=utf-8",
|
|
1482
|
-
credential: credentials
|
|
1483
|
-
};
|
|
1484
|
-
const packageDetails = `azsdk-js-arm-operations/4.0.0-beta.3`;
|
|
1485
|
-
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
1486
|
-
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
1487
|
-
: `${packageDetails}`;
|
|
1488
|
-
if (!options.credentialScopes) {
|
|
1489
|
-
options.credentialScopes = ["https://management.azure.com/.default"];
|
|
1490
|
-
}
|
|
1491
|
-
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
1492
|
-
userAgentPrefix
|
|
1493
|
-
}, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
1494
|
-
super(optionsWithDefaults);
|
|
1495
|
-
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
1496
|
-
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
1497
|
-
const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
1498
|
-
coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
|
|
1499
|
-
if (!bearerTokenAuthenticationPolicyFound) {
|
|
1500
|
-
this.pipeline.removePolicy({
|
|
1501
|
-
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
|
|
1502
|
-
});
|
|
1503
|
-
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
|
1504
|
-
scopes: `${optionsWithDefaults.baseUri}/.default`,
|
|
1505
|
-
challengeCallbacks: {
|
|
1506
|
-
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
|
|
1507
|
-
}
|
|
1508
|
-
}));
|
|
1509
|
-
}
|
|
1510
|
-
}
|
|
1511
|
-
// Parameter assignments
|
|
1512
|
-
this.subscriptionId = subscriptionId;
|
|
1513
|
-
// Assigning values to Constant parameters
|
|
1514
|
-
this.$host = options.$host || "https://management.azure.com";
|
|
1515
|
-
this.apiVersion = options.apiVersion || "2015-11-01-preview";
|
|
1516
|
-
this.solutions = new SolutionsImpl(this);
|
|
1517
|
-
this.managementAssociations = new ManagementAssociationsImpl(this);
|
|
1518
|
-
this.managementConfigurations = new ManagementConfigurationsImpl(this);
|
|
1519
|
-
this.operations = new OperationsImpl(this);
|
|
1520
|
-
}
|
|
1521
|
-
}
|
|
1522
|
-
|
|
1523
|
-
exports.OperationsManagementClient = OperationsManagementClient;
|
|
1524
|
-
//# sourceMappingURL=index.js.map
|