@azure/arm-managedapplications 3.0.0-alpha.20250211.1 → 3.0.0-alpha.20250213.1
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/README.md +21 -14
- package/{dist-esm/src → dist/browser}/applicationClient.d.ts +2 -2
- package/dist/browser/applicationClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/applicationClient.js +19 -21
- package/dist/browser/applicationClient.js.map +1 -0
- package/dist/browser/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/lroImpl.js.map +1 -0
- 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-esm/src → dist/browser}/operations/applicationDefinitions.d.ts +3 -3
- package/dist/browser/operations/applicationDefinitions.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/applicationDefinitions.js +3 -3
- package/dist/browser/operations/applicationDefinitions.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/applications.d.ts +3 -3
- package/dist/browser/operations/applications.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/applications.js +301 -333
- package/dist/browser/operations/applications.js.map +1 -0
- package/dist/browser/operations/index.d.ts +4 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +3 -3
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/jitRequests.d.ts +3 -3
- package/dist/browser/operations/jitRequests.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/jitRequests.js +40 -45
- package/dist/browser/operations/jitRequests.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/applicationDefinitions.d.ts +1 -1
- package/dist/browser/operationsInterfaces/applicationDefinitions.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/applicationDefinitions.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/applications.d.ts +1 -1
- package/dist/browser/operationsInterfaces/applications.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/applications.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +4 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
- package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +3 -3
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/jitRequests.d.ts +1 -1
- package/dist/browser/operationsInterfaces/jitRequests.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/jitRequests.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/applicationClient.d.ts +42 -0
- package/dist/commonjs/applicationClient.d.ts.map +1 -0
- package/dist/commonjs/applicationClient.js +215 -0
- package/dist/commonjs/applicationClient.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 +11 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +17 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-managedapplications.d.ts → dist/commonjs/models/index.d.ts} +1191 -1682
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +179 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +48 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +1637 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +22 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +190 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/applicationDefinitions.d.ts +113 -0
- package/dist/commonjs/operations/applicationDefinitions.d.ts.map +1 -0
- package/dist/commonjs/operations/applicationDefinitions.js +518 -0
- package/dist/commonjs/operations/applicationDefinitions.js.map +1 -0
- package/dist/commonjs/operations/applications.d.ts +208 -0
- package/dist/commonjs/operations/applications.d.ts.map +1 -0
- package/dist/commonjs/operations/applications.js +1014 -0
- package/dist/commonjs/operations/applications.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +4 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +14 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/jitRequests.d.ts +63 -0
- package/dist/commonjs/operations/jitRequests.d.ts.map +1 -0
- package/dist/commonjs/operations/jitRequests.js +260 -0
- package/dist/commonjs/operations/jitRequests.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/applicationDefinitions.d.ts +77 -0
- package/dist/commonjs/operationsInterfaces/applicationDefinitions.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/applicationDefinitions.js +10 -0
- package/dist/commonjs/operationsInterfaces/applicationDefinitions.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/applications.d.ts +172 -0
- package/dist/commonjs/operationsInterfaces/applications.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/applications.js +10 -0
- package/dist/commonjs/operationsInterfaces/applications.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +4 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +14 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/jitRequests.d.ts +55 -0
- package/dist/commonjs/operationsInterfaces/jitRequests.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/jitRequests.js +10 -0
- package/dist/commonjs/operationsInterfaces/jitRequests.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 +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/esm/applicationClient.d.ts +42 -0
- package/dist/esm/applicationClient.d.ts.map +1 -0
- package/dist/esm/applicationClient.js +211 -0
- package/dist/esm/applicationClient.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +11 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +14 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +1191 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +176 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +48 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +1634 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +22 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +187 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/applicationDefinitions.d.ts +113 -0
- package/dist/esm/operations/applicationDefinitions.d.ts.map +1 -0
- package/dist/esm/operations/applicationDefinitions.js +514 -0
- package/dist/esm/operations/applicationDefinitions.js.map +1 -0
- package/dist/esm/operations/applications.d.ts +208 -0
- package/dist/esm/operations/applications.d.ts.map +1 -0
- package/dist/esm/operations/applications.js +1010 -0
- package/dist/esm/operations/applications.js.map +1 -0
- package/dist/esm/operations/index.d.ts +4 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +11 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/jitRequests.d.ts +63 -0
- package/dist/esm/operations/jitRequests.d.ts.map +1 -0
- package/dist/esm/operations/jitRequests.js +255 -0
- package/dist/esm/operations/jitRequests.js.map +1 -0
- package/dist/esm/operationsInterfaces/applicationDefinitions.d.ts +77 -0
- package/dist/esm/operationsInterfaces/applicationDefinitions.d.ts.map +1 -0
- package/{src/operations/index.ts → dist/esm/operationsInterfaces/applicationDefinitions.js} +2 -4
- package/dist/esm/operationsInterfaces/applicationDefinitions.js.map +1 -0
- package/dist/esm/operationsInterfaces/applications.d.ts +172 -0
- package/dist/esm/operationsInterfaces/applications.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/applications.js +9 -0
- package/dist/esm/operationsInterfaces/applications.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +4 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +11 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/jitRequests.d.ts +55 -0
- package/dist/esm/operationsInterfaces/jitRequests.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/jitRequests.js +9 -0
- package/dist/esm/operationsInterfaces/jitRequests.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 +32 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/applicationClient.d.ts +42 -0
- package/dist/react-native/applicationClient.d.ts.map +1 -0
- package/dist/react-native/applicationClient.js +211 -0
- package/dist/react-native/applicationClient.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 +11 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +14 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +1191 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +176 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +48 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +1634 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +22 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +187 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/applicationDefinitions.d.ts +113 -0
- package/dist/react-native/operations/applicationDefinitions.d.ts.map +1 -0
- package/dist/react-native/operations/applicationDefinitions.js +514 -0
- package/dist/react-native/operations/applicationDefinitions.js.map +1 -0
- package/dist/react-native/operations/applications.d.ts +208 -0
- package/dist/react-native/operations/applications.d.ts.map +1 -0
- package/dist/react-native/operations/applications.js +1010 -0
- package/dist/react-native/operations/applications.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +4 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +11 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/jitRequests.d.ts +63 -0
- package/dist/react-native/operations/jitRequests.d.ts.map +1 -0
- package/dist/react-native/operations/jitRequests.js +255 -0
- package/dist/react-native/operations/jitRequests.js.map +1 -0
- package/dist/react-native/operationsInterfaces/applicationDefinitions.d.ts +77 -0
- package/dist/react-native/operationsInterfaces/applicationDefinitions.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/applicationDefinitions.js +9 -0
- package/dist/react-native/operationsInterfaces/applicationDefinitions.js.map +1 -0
- package/dist/react-native/operationsInterfaces/applications.d.ts +172 -0
- package/dist/react-native/operationsInterfaces/applications.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/applications.js +9 -0
- package/dist/react-native/operationsInterfaces/applications.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +4 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +11 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/jitRequests.d.ts +55 -0
- package/dist/react-native/operationsInterfaces/jitRequests.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/jitRequests.js +9 -0
- package/dist/react-native/operationsInterfaces/jitRequests.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 +32 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +70 -41
- package/dist/index.js +0 -4127
- 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/applicationDefinitionsCreateOrUpdateByIdSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationDefinitionsCreateOrUpdateByIdSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationDefinitionsCreateOrUpdateByIdSample.js +0 -36
- package/dist-esm/samples-dev/applicationDefinitionsCreateOrUpdateByIdSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationDefinitionsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationDefinitionsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationDefinitionsCreateOrUpdateSample.js +0 -36
- package/dist-esm/samples-dev/applicationDefinitionsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationDefinitionsDeleteByIdSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationDefinitionsDeleteByIdSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationDefinitionsDeleteByIdSample.js +0 -36
- package/dist-esm/samples-dev/applicationDefinitionsDeleteByIdSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationDefinitionsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationDefinitionsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationDefinitionsDeleteSample.js +0 -36
- package/dist-esm/samples-dev/applicationDefinitionsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationDefinitionsGetByIdSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationDefinitionsGetByIdSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationDefinitionsGetByIdSample.js +0 -36
- package/dist-esm/samples-dev/applicationDefinitionsGetByIdSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationDefinitionsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationDefinitionsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationDefinitionsGetSample.js +0 -36
- package/dist-esm/samples-dev/applicationDefinitionsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationDefinitionsListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationDefinitionsListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationDefinitionsListByResourceGroupSample.js +0 -51
- package/dist-esm/samples-dev/applicationDefinitionsListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationDefinitionsListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationDefinitionsListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationDefinitionsListBySubscriptionSample.js +0 -50
- package/dist-esm/samples-dev/applicationDefinitionsListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationDefinitionsUpdateByIdSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationDefinitionsUpdateByIdSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationDefinitionsUpdateByIdSample.js +0 -32
- package/dist-esm/samples-dev/applicationDefinitionsUpdateByIdSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationDefinitionsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationDefinitionsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationDefinitionsUpdateSample.js +0 -32
- package/dist-esm/samples-dev/applicationDefinitionsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationsCreateOrUpdateByIdSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationsCreateOrUpdateByIdSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationsCreateOrUpdateByIdSample.js +0 -32
- package/dist-esm/samples-dev/applicationsCreateOrUpdateByIdSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationsCreateOrUpdateSample.js +0 -34
- package/dist-esm/samples-dev/applicationsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationsDeleteByIdSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationsDeleteByIdSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationsDeleteByIdSample.js +0 -34
- package/dist-esm/samples-dev/applicationsDeleteByIdSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationsDeleteSample.js +0 -36
- package/dist-esm/samples-dev/applicationsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationsGetByIdSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationsGetByIdSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationsGetByIdSample.js +0 -34
- package/dist-esm/samples-dev/applicationsGetByIdSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationsGetSample.js +0 -36
- package/dist-esm/samples-dev/applicationsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationsListAllowedUpgradePlansSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationsListAllowedUpgradePlansSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationsListAllowedUpgradePlansSample.js +0 -36
- package/dist-esm/samples-dev/applicationsListAllowedUpgradePlansSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationsListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationsListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationsListByResourceGroupSample.js +0 -51
- package/dist-esm/samples-dev/applicationsListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationsListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationsListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationsListBySubscriptionSample.js +0 -50
- package/dist-esm/samples-dev/applicationsListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationsListTokensSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationsListTokensSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationsListTokensSample.js +0 -33
- package/dist-esm/samples-dev/applicationsListTokensSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationsRefreshPermissionsSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationsRefreshPermissionsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationsRefreshPermissionsSample.js +0 -36
- package/dist-esm/samples-dev/applicationsRefreshPermissionsSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationsUpdateAccessSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationsUpdateAccessSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationsUpdateAccessSample.js +0 -40
- package/dist-esm/samples-dev/applicationsUpdateAccessSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationsUpdateByIdSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationsUpdateByIdSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationsUpdateByIdSample.js +0 -33
- package/dist-esm/samples-dev/applicationsUpdateByIdSample.js.map +0 -1
- package/dist-esm/samples-dev/applicationsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/applicationsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applicationsUpdateSample.js +0 -35
- package/dist-esm/samples-dev/applicationsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/jitRequestsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/jitRequestsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/jitRequestsCreateOrUpdateSample.js +0 -43
- package/dist-esm/samples-dev/jitRequestsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/jitRequestsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/jitRequestsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/jitRequestsDeleteSample.js +0 -36
- package/dist-esm/samples-dev/jitRequestsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/jitRequestsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/jitRequestsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/jitRequestsGetSample.js +0 -36
- package/dist-esm/samples-dev/jitRequestsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/jitRequestsListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/jitRequestsListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/jitRequestsListByResourceGroupSample.js +0 -35
- package/dist-esm/samples-dev/jitRequestsListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/jitRequestsListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/jitRequestsListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/jitRequestsListBySubscriptionSample.js +0 -34
- package/dist-esm/samples-dev/jitRequestsListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/jitRequestsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/jitRequestsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/jitRequestsUpdateSample.js +0 -30
- package/dist-esm/samples-dev/jitRequestsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/listOperationsSample.d.ts +0 -2
- package/dist-esm/samples-dev/listOperationsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/listOperationsSample.js +0 -49
- package/dist-esm/samples-dev/listOperationsSample.js.map +0 -1
- package/dist-esm/src/applicationClient.d.ts.map +0 -1
- package/dist-esm/src/applicationClient.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- 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/applicationDefinitions.d.ts.map +0 -1
- package/dist-esm/src/operations/applicationDefinitions.js.map +0 -1
- package/dist-esm/src/operations/applications.d.ts.map +0 -1
- package/dist-esm/src/operations/applications.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -4
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/jitRequests.d.ts.map +0 -1
- package/dist-esm/src/operations/jitRequests.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/applicationDefinitions.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/applicationDefinitions.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/applications.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/applications.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -4
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/jitRequests.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/jitRequests.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/managedapplications_operations_test.spec.d.ts +0 -4
- package/dist-esm/test/managedapplications_operations_test.spec.d.ts.map +0 -1
- package/dist-esm/test/managedapplications_operations_test.spec.js +0 -75
- package/dist-esm/test/managedapplications_operations_test.spec.js.map +0 -1
- package/src/applicationClient.ts +0 -291
- package/src/lroImpl.ts +0 -38
- package/src/models/index.ts +0 -1346
- package/src/models/mappers.ts +0 -1752
- package/src/models/parameters.ts +0 -221
- package/src/operations/applicationDefinitions.ts +0 -652
- package/src/operations/applications.ts +0 -1397
- package/src/operations/jitRequests.ts +0 -366
- package/src/operationsInterfaces/applicationDefinitions.ts +0 -146
- package/src/operationsInterfaces/applications.ts +0 -312
- package/src/operationsInterfaces/index.ts +0 -11
- package/src/operationsInterfaces/jitRequests.ts +0 -110
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- /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}/lroImpl.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.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/applicationDefinitions.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/applications.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/jitRequests.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/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
- /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
|
@@ -0,0 +1,1010 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
|
+
import * as coreClient from "@azure/core-client";
|
|
11
|
+
import * as Mappers from "../models/mappers.js";
|
|
12
|
+
import * as Parameters from "../models/parameters.js";
|
|
13
|
+
import { createHttpPoller } from "@azure/core-lro";
|
|
14
|
+
import { createLroSpec } from "../lroImpl.js";
|
|
15
|
+
/// <reference lib="esnext.asynciterable" />
|
|
16
|
+
/** Class containing Applications operations. */
|
|
17
|
+
export class ApplicationsImpl {
|
|
18
|
+
/**
|
|
19
|
+
* Initialize a new instance of the class Applications class.
|
|
20
|
+
* @param client Reference to the service client
|
|
21
|
+
*/
|
|
22
|
+
constructor(client) {
|
|
23
|
+
this.client = client;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Lists all the applications within a resource group.
|
|
27
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
listByResourceGroup(resourceGroupName, options) {
|
|
31
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
32
|
+
return {
|
|
33
|
+
next() {
|
|
34
|
+
return iter.next();
|
|
35
|
+
},
|
|
36
|
+
[Symbol.asyncIterator]() {
|
|
37
|
+
return this;
|
|
38
|
+
},
|
|
39
|
+
byPage: (settings) => {
|
|
40
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
41
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
42
|
+
}
|
|
43
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
48
|
+
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
49
|
+
let result;
|
|
50
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
51
|
+
if (!continuationToken) {
|
|
52
|
+
result = yield __await(this._listByResourceGroup(resourceGroupName, options));
|
|
53
|
+
let page = result.value || [];
|
|
54
|
+
continuationToken = result.nextLink;
|
|
55
|
+
setContinuationToken(page, continuationToken);
|
|
56
|
+
yield yield __await(page);
|
|
57
|
+
}
|
|
58
|
+
while (continuationToken) {
|
|
59
|
+
result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
60
|
+
continuationToken = result.nextLink;
|
|
61
|
+
let page = result.value || [];
|
|
62
|
+
setContinuationToken(page, continuationToken);
|
|
63
|
+
yield yield __await(page);
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
68
|
+
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
69
|
+
var _a, e_1, _b, _c;
|
|
70
|
+
try {
|
|
71
|
+
for (var _d = true, _e = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
72
|
+
_c = _f.value;
|
|
73
|
+
_d = false;
|
|
74
|
+
const page = _c;
|
|
75
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
79
|
+
finally {
|
|
80
|
+
try {
|
|
81
|
+
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
82
|
+
}
|
|
83
|
+
finally { if (e_1) throw e_1.error; }
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Lists all the applications within a subscription.
|
|
89
|
+
* @param options The options parameters.
|
|
90
|
+
*/
|
|
91
|
+
listBySubscription(options) {
|
|
92
|
+
const iter = this.listBySubscriptionPagingAll(options);
|
|
93
|
+
return {
|
|
94
|
+
next() {
|
|
95
|
+
return iter.next();
|
|
96
|
+
},
|
|
97
|
+
[Symbol.asyncIterator]() {
|
|
98
|
+
return this;
|
|
99
|
+
},
|
|
100
|
+
byPage: (settings) => {
|
|
101
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
102
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
103
|
+
}
|
|
104
|
+
return this.listBySubscriptionPagingPage(options, settings);
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
listBySubscriptionPagingPage(options, settings) {
|
|
109
|
+
return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
|
|
110
|
+
let result;
|
|
111
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
112
|
+
if (!continuationToken) {
|
|
113
|
+
result = yield __await(this._listBySubscription(options));
|
|
114
|
+
let page = result.value || [];
|
|
115
|
+
continuationToken = result.nextLink;
|
|
116
|
+
setContinuationToken(page, continuationToken);
|
|
117
|
+
yield yield __await(page);
|
|
118
|
+
}
|
|
119
|
+
while (continuationToken) {
|
|
120
|
+
result = yield __await(this._listBySubscriptionNext(continuationToken, options));
|
|
121
|
+
continuationToken = result.nextLink;
|
|
122
|
+
let page = result.value || [];
|
|
123
|
+
setContinuationToken(page, continuationToken);
|
|
124
|
+
yield yield __await(page);
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
listBySubscriptionPagingAll(options) {
|
|
129
|
+
return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
|
|
130
|
+
var _a, e_2, _b, _c;
|
|
131
|
+
try {
|
|
132
|
+
for (var _d = true, _e = __asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
133
|
+
_c = _f.value;
|
|
134
|
+
_d = false;
|
|
135
|
+
const page = _c;
|
|
136
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
140
|
+
finally {
|
|
141
|
+
try {
|
|
142
|
+
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
143
|
+
}
|
|
144
|
+
finally { if (e_2) throw e_2.error; }
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Gets the managed application.
|
|
150
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
151
|
+
* @param applicationName The name of the managed application.
|
|
152
|
+
* @param options The options parameters.
|
|
153
|
+
*/
|
|
154
|
+
get(resourceGroupName, applicationName, options) {
|
|
155
|
+
return this.client.sendOperationRequest({ resourceGroupName, applicationName, options }, getOperationSpec);
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Deletes the managed application.
|
|
159
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
160
|
+
* @param applicationName The name of the managed application.
|
|
161
|
+
* @param options The options parameters.
|
|
162
|
+
*/
|
|
163
|
+
async beginDelete(resourceGroupName, applicationName, options) {
|
|
164
|
+
const directSendOperation = async (args, spec) => {
|
|
165
|
+
return this.client.sendOperationRequest(args, spec);
|
|
166
|
+
};
|
|
167
|
+
const sendOperationFn = async (args, spec) => {
|
|
168
|
+
var _a;
|
|
169
|
+
let currentRawResponse = undefined;
|
|
170
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
171
|
+
const callback = (rawResponse, flatResponse) => {
|
|
172
|
+
currentRawResponse = rawResponse;
|
|
173
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
174
|
+
};
|
|
175
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
176
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
177
|
+
return {
|
|
178
|
+
flatResponse,
|
|
179
|
+
rawResponse: {
|
|
180
|
+
statusCode: currentRawResponse.status,
|
|
181
|
+
body: currentRawResponse.parsedBody,
|
|
182
|
+
headers: currentRawResponse.headers.toJSON()
|
|
183
|
+
}
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
const lro = createLroSpec({
|
|
187
|
+
sendOperationFn,
|
|
188
|
+
args: { resourceGroupName, applicationName, options },
|
|
189
|
+
spec: deleteOperationSpec
|
|
190
|
+
});
|
|
191
|
+
const poller = await createHttpPoller(lro, {
|
|
192
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
193
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
194
|
+
resourceLocationConfig: "azure-async-operation"
|
|
195
|
+
});
|
|
196
|
+
await poller.poll();
|
|
197
|
+
return poller;
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* Deletes the managed application.
|
|
201
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
202
|
+
* @param applicationName The name of the managed application.
|
|
203
|
+
* @param options The options parameters.
|
|
204
|
+
*/
|
|
205
|
+
async beginDeleteAndWait(resourceGroupName, applicationName, options) {
|
|
206
|
+
const poller = await this.beginDelete(resourceGroupName, applicationName, options);
|
|
207
|
+
return poller.pollUntilDone();
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Creates or updates a managed application.
|
|
211
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
212
|
+
* @param applicationName The name of the managed application.
|
|
213
|
+
* @param parameters Parameters supplied to the create or update a managed application.
|
|
214
|
+
* @param options The options parameters.
|
|
215
|
+
*/
|
|
216
|
+
async beginCreateOrUpdate(resourceGroupName, applicationName, parameters, options) {
|
|
217
|
+
const directSendOperation = async (args, spec) => {
|
|
218
|
+
return this.client.sendOperationRequest(args, spec);
|
|
219
|
+
};
|
|
220
|
+
const sendOperationFn = async (args, spec) => {
|
|
221
|
+
var _a;
|
|
222
|
+
let currentRawResponse = undefined;
|
|
223
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
224
|
+
const callback = (rawResponse, flatResponse) => {
|
|
225
|
+
currentRawResponse = rawResponse;
|
|
226
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
227
|
+
};
|
|
228
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
229
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
230
|
+
return {
|
|
231
|
+
flatResponse,
|
|
232
|
+
rawResponse: {
|
|
233
|
+
statusCode: currentRawResponse.status,
|
|
234
|
+
body: currentRawResponse.parsedBody,
|
|
235
|
+
headers: currentRawResponse.headers.toJSON()
|
|
236
|
+
}
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
const lro = createLroSpec({
|
|
240
|
+
sendOperationFn,
|
|
241
|
+
args: { resourceGroupName, applicationName, parameters, options },
|
|
242
|
+
spec: createOrUpdateOperationSpec
|
|
243
|
+
});
|
|
244
|
+
const poller = await createHttpPoller(lro, {
|
|
245
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
246
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
247
|
+
resourceLocationConfig: "azure-async-operation"
|
|
248
|
+
});
|
|
249
|
+
await poller.poll();
|
|
250
|
+
return poller;
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* Creates or updates a managed application.
|
|
254
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
255
|
+
* @param applicationName The name of the managed application.
|
|
256
|
+
* @param parameters Parameters supplied to the create or update a managed application.
|
|
257
|
+
* @param options The options parameters.
|
|
258
|
+
*/
|
|
259
|
+
async beginCreateOrUpdateAndWait(resourceGroupName, applicationName, parameters, options) {
|
|
260
|
+
const poller = await this.beginCreateOrUpdate(resourceGroupName, applicationName, parameters, options);
|
|
261
|
+
return poller.pollUntilDone();
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* Updates an existing managed application.
|
|
265
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
266
|
+
* @param applicationName The name of the managed application.
|
|
267
|
+
* @param options The options parameters.
|
|
268
|
+
*/
|
|
269
|
+
async beginUpdate(resourceGroupName, applicationName, options) {
|
|
270
|
+
const directSendOperation = async (args, spec) => {
|
|
271
|
+
return this.client.sendOperationRequest(args, spec);
|
|
272
|
+
};
|
|
273
|
+
const sendOperationFn = async (args, spec) => {
|
|
274
|
+
var _a;
|
|
275
|
+
let currentRawResponse = undefined;
|
|
276
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
277
|
+
const callback = (rawResponse, flatResponse) => {
|
|
278
|
+
currentRawResponse = rawResponse;
|
|
279
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
280
|
+
};
|
|
281
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
282
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
283
|
+
return {
|
|
284
|
+
flatResponse,
|
|
285
|
+
rawResponse: {
|
|
286
|
+
statusCode: currentRawResponse.status,
|
|
287
|
+
body: currentRawResponse.parsedBody,
|
|
288
|
+
headers: currentRawResponse.headers.toJSON()
|
|
289
|
+
}
|
|
290
|
+
};
|
|
291
|
+
};
|
|
292
|
+
const lro = createLroSpec({
|
|
293
|
+
sendOperationFn,
|
|
294
|
+
args: { resourceGroupName, applicationName, options },
|
|
295
|
+
spec: updateOperationSpec
|
|
296
|
+
});
|
|
297
|
+
const poller = await createHttpPoller(lro, {
|
|
298
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
299
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
300
|
+
resourceLocationConfig: "azure-async-operation"
|
|
301
|
+
});
|
|
302
|
+
await poller.poll();
|
|
303
|
+
return poller;
|
|
304
|
+
}
|
|
305
|
+
/**
|
|
306
|
+
* Updates an existing managed application.
|
|
307
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
308
|
+
* @param applicationName The name of the managed application.
|
|
309
|
+
* @param options The options parameters.
|
|
310
|
+
*/
|
|
311
|
+
async beginUpdateAndWait(resourceGroupName, applicationName, options) {
|
|
312
|
+
const poller = await this.beginUpdate(resourceGroupName, applicationName, options);
|
|
313
|
+
return poller.pollUntilDone();
|
|
314
|
+
}
|
|
315
|
+
/**
|
|
316
|
+
* Lists all the applications within a resource group.
|
|
317
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
318
|
+
* @param options The options parameters.
|
|
319
|
+
*/
|
|
320
|
+
_listByResourceGroup(resourceGroupName, options) {
|
|
321
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
322
|
+
}
|
|
323
|
+
/**
|
|
324
|
+
* Lists all the applications within a subscription.
|
|
325
|
+
* @param options The options parameters.
|
|
326
|
+
*/
|
|
327
|
+
_listBySubscription(options) {
|
|
328
|
+
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
* Gets the managed application.
|
|
332
|
+
* @param applicationId The fully qualified ID of the managed application, including the managed
|
|
333
|
+
* application name and the managed application resource type. Use the format,
|
|
334
|
+
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}
|
|
335
|
+
* @param options The options parameters.
|
|
336
|
+
*/
|
|
337
|
+
getById(applicationId, options) {
|
|
338
|
+
return this.client.sendOperationRequest({ applicationId, options }, getByIdOperationSpec);
|
|
339
|
+
}
|
|
340
|
+
/**
|
|
341
|
+
* Deletes the managed application.
|
|
342
|
+
* @param applicationId The fully qualified ID of the managed application, including the managed
|
|
343
|
+
* application name and the managed application resource type. Use the format,
|
|
344
|
+
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}
|
|
345
|
+
* @param options The options parameters.
|
|
346
|
+
*/
|
|
347
|
+
async beginDeleteById(applicationId, options) {
|
|
348
|
+
const directSendOperation = async (args, spec) => {
|
|
349
|
+
return this.client.sendOperationRequest(args, spec);
|
|
350
|
+
};
|
|
351
|
+
const sendOperationFn = async (args, spec) => {
|
|
352
|
+
var _a;
|
|
353
|
+
let currentRawResponse = undefined;
|
|
354
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
355
|
+
const callback = (rawResponse, flatResponse) => {
|
|
356
|
+
currentRawResponse = rawResponse;
|
|
357
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
358
|
+
};
|
|
359
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
360
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
361
|
+
return {
|
|
362
|
+
flatResponse,
|
|
363
|
+
rawResponse: {
|
|
364
|
+
statusCode: currentRawResponse.status,
|
|
365
|
+
body: currentRawResponse.parsedBody,
|
|
366
|
+
headers: currentRawResponse.headers.toJSON()
|
|
367
|
+
}
|
|
368
|
+
};
|
|
369
|
+
};
|
|
370
|
+
const lro = createLroSpec({
|
|
371
|
+
sendOperationFn,
|
|
372
|
+
args: { applicationId, options },
|
|
373
|
+
spec: deleteByIdOperationSpec
|
|
374
|
+
});
|
|
375
|
+
const poller = await createHttpPoller(lro, {
|
|
376
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
377
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
378
|
+
resourceLocationConfig: "azure-async-operation"
|
|
379
|
+
});
|
|
380
|
+
await poller.poll();
|
|
381
|
+
return poller;
|
|
382
|
+
}
|
|
383
|
+
/**
|
|
384
|
+
* Deletes the managed application.
|
|
385
|
+
* @param applicationId The fully qualified ID of the managed application, including the managed
|
|
386
|
+
* application name and the managed application resource type. Use the format,
|
|
387
|
+
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}
|
|
388
|
+
* @param options The options parameters.
|
|
389
|
+
*/
|
|
390
|
+
async beginDeleteByIdAndWait(applicationId, options) {
|
|
391
|
+
const poller = await this.beginDeleteById(applicationId, options);
|
|
392
|
+
return poller.pollUntilDone();
|
|
393
|
+
}
|
|
394
|
+
/**
|
|
395
|
+
* Creates or updates a managed application.
|
|
396
|
+
* @param applicationId The fully qualified ID of the managed application, including the managed
|
|
397
|
+
* application name and the managed application resource type. Use the format,
|
|
398
|
+
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}
|
|
399
|
+
* @param parameters Parameters supplied to the create or update a managed application.
|
|
400
|
+
* @param options The options parameters.
|
|
401
|
+
*/
|
|
402
|
+
async beginCreateOrUpdateById(applicationId, parameters, options) {
|
|
403
|
+
const directSendOperation = async (args, spec) => {
|
|
404
|
+
return this.client.sendOperationRequest(args, spec);
|
|
405
|
+
};
|
|
406
|
+
const sendOperationFn = async (args, spec) => {
|
|
407
|
+
var _a;
|
|
408
|
+
let currentRawResponse = undefined;
|
|
409
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
410
|
+
const callback = (rawResponse, flatResponse) => {
|
|
411
|
+
currentRawResponse = rawResponse;
|
|
412
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
413
|
+
};
|
|
414
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
415
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
416
|
+
return {
|
|
417
|
+
flatResponse,
|
|
418
|
+
rawResponse: {
|
|
419
|
+
statusCode: currentRawResponse.status,
|
|
420
|
+
body: currentRawResponse.parsedBody,
|
|
421
|
+
headers: currentRawResponse.headers.toJSON()
|
|
422
|
+
}
|
|
423
|
+
};
|
|
424
|
+
};
|
|
425
|
+
const lro = createLroSpec({
|
|
426
|
+
sendOperationFn,
|
|
427
|
+
args: { applicationId, parameters, options },
|
|
428
|
+
spec: createOrUpdateByIdOperationSpec
|
|
429
|
+
});
|
|
430
|
+
const poller = await createHttpPoller(lro, {
|
|
431
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
432
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
433
|
+
resourceLocationConfig: "azure-async-operation"
|
|
434
|
+
});
|
|
435
|
+
await poller.poll();
|
|
436
|
+
return poller;
|
|
437
|
+
}
|
|
438
|
+
/**
|
|
439
|
+
* Creates or updates a managed application.
|
|
440
|
+
* @param applicationId The fully qualified ID of the managed application, including the managed
|
|
441
|
+
* application name and the managed application resource type. Use the format,
|
|
442
|
+
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}
|
|
443
|
+
* @param parameters Parameters supplied to the create or update a managed application.
|
|
444
|
+
* @param options The options parameters.
|
|
445
|
+
*/
|
|
446
|
+
async beginCreateOrUpdateByIdAndWait(applicationId, parameters, options) {
|
|
447
|
+
const poller = await this.beginCreateOrUpdateById(applicationId, parameters, options);
|
|
448
|
+
return poller.pollUntilDone();
|
|
449
|
+
}
|
|
450
|
+
/**
|
|
451
|
+
* Updates an existing managed application.
|
|
452
|
+
* @param applicationId The fully qualified ID of the managed application, including the managed
|
|
453
|
+
* application name and the managed application resource type. Use the format,
|
|
454
|
+
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}
|
|
455
|
+
* @param options The options parameters.
|
|
456
|
+
*/
|
|
457
|
+
async beginUpdateById(applicationId, options) {
|
|
458
|
+
const directSendOperation = async (args, spec) => {
|
|
459
|
+
return this.client.sendOperationRequest(args, spec);
|
|
460
|
+
};
|
|
461
|
+
const sendOperationFn = async (args, spec) => {
|
|
462
|
+
var _a;
|
|
463
|
+
let currentRawResponse = undefined;
|
|
464
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
465
|
+
const callback = (rawResponse, flatResponse) => {
|
|
466
|
+
currentRawResponse = rawResponse;
|
|
467
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
468
|
+
};
|
|
469
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
470
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
471
|
+
return {
|
|
472
|
+
flatResponse,
|
|
473
|
+
rawResponse: {
|
|
474
|
+
statusCode: currentRawResponse.status,
|
|
475
|
+
body: currentRawResponse.parsedBody,
|
|
476
|
+
headers: currentRawResponse.headers.toJSON()
|
|
477
|
+
}
|
|
478
|
+
};
|
|
479
|
+
};
|
|
480
|
+
const lro = createLroSpec({
|
|
481
|
+
sendOperationFn,
|
|
482
|
+
args: { applicationId, options },
|
|
483
|
+
spec: updateByIdOperationSpec
|
|
484
|
+
});
|
|
485
|
+
const poller = await createHttpPoller(lro, {
|
|
486
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
487
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
488
|
+
resourceLocationConfig: "azure-async-operation"
|
|
489
|
+
});
|
|
490
|
+
await poller.poll();
|
|
491
|
+
return poller;
|
|
492
|
+
}
|
|
493
|
+
/**
|
|
494
|
+
* Updates an existing managed application.
|
|
495
|
+
* @param applicationId The fully qualified ID of the managed application, including the managed
|
|
496
|
+
* application name and the managed application resource type. Use the format,
|
|
497
|
+
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}
|
|
498
|
+
* @param options The options parameters.
|
|
499
|
+
*/
|
|
500
|
+
async beginUpdateByIdAndWait(applicationId, options) {
|
|
501
|
+
const poller = await this.beginUpdateById(applicationId, options);
|
|
502
|
+
return poller.pollUntilDone();
|
|
503
|
+
}
|
|
504
|
+
/**
|
|
505
|
+
* Refresh Permissions for application.
|
|
506
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
507
|
+
* @param applicationName The name of the managed application.
|
|
508
|
+
* @param options The options parameters.
|
|
509
|
+
*/
|
|
510
|
+
async beginRefreshPermissions(resourceGroupName, applicationName, options) {
|
|
511
|
+
const directSendOperation = async (args, spec) => {
|
|
512
|
+
return this.client.sendOperationRequest(args, spec);
|
|
513
|
+
};
|
|
514
|
+
const sendOperationFn = async (args, spec) => {
|
|
515
|
+
var _a;
|
|
516
|
+
let currentRawResponse = undefined;
|
|
517
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
518
|
+
const callback = (rawResponse, flatResponse) => {
|
|
519
|
+
currentRawResponse = rawResponse;
|
|
520
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
521
|
+
};
|
|
522
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
523
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
524
|
+
return {
|
|
525
|
+
flatResponse,
|
|
526
|
+
rawResponse: {
|
|
527
|
+
statusCode: currentRawResponse.status,
|
|
528
|
+
body: currentRawResponse.parsedBody,
|
|
529
|
+
headers: currentRawResponse.headers.toJSON()
|
|
530
|
+
}
|
|
531
|
+
};
|
|
532
|
+
};
|
|
533
|
+
const lro = createLroSpec({
|
|
534
|
+
sendOperationFn,
|
|
535
|
+
args: { resourceGroupName, applicationName, options },
|
|
536
|
+
spec: refreshPermissionsOperationSpec
|
|
537
|
+
});
|
|
538
|
+
const poller = await createHttpPoller(lro, {
|
|
539
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
540
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
541
|
+
resourceLocationConfig: "location"
|
|
542
|
+
});
|
|
543
|
+
await poller.poll();
|
|
544
|
+
return poller;
|
|
545
|
+
}
|
|
546
|
+
/**
|
|
547
|
+
* Refresh Permissions for application.
|
|
548
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
549
|
+
* @param applicationName The name of the managed application.
|
|
550
|
+
* @param options The options parameters.
|
|
551
|
+
*/
|
|
552
|
+
async beginRefreshPermissionsAndWait(resourceGroupName, applicationName, options) {
|
|
553
|
+
const poller = await this.beginRefreshPermissions(resourceGroupName, applicationName, options);
|
|
554
|
+
return poller.pollUntilDone();
|
|
555
|
+
}
|
|
556
|
+
/**
|
|
557
|
+
* List allowed upgrade plans for application.
|
|
558
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
559
|
+
* @param applicationName The name of the managed application.
|
|
560
|
+
* @param options The options parameters.
|
|
561
|
+
*/
|
|
562
|
+
listAllowedUpgradePlans(resourceGroupName, applicationName, options) {
|
|
563
|
+
return this.client.sendOperationRequest({ resourceGroupName, applicationName, options }, listAllowedUpgradePlansOperationSpec);
|
|
564
|
+
}
|
|
565
|
+
/**
|
|
566
|
+
* Update access for application.
|
|
567
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
568
|
+
* @param applicationName The name of the managed application.
|
|
569
|
+
* @param parameters Request body parameters to list tokens.
|
|
570
|
+
* @param options The options parameters.
|
|
571
|
+
*/
|
|
572
|
+
async beginUpdateAccess(resourceGroupName, applicationName, parameters, options) {
|
|
573
|
+
const directSendOperation = async (args, spec) => {
|
|
574
|
+
return this.client.sendOperationRequest(args, spec);
|
|
575
|
+
};
|
|
576
|
+
const sendOperationFn = async (args, spec) => {
|
|
577
|
+
var _a;
|
|
578
|
+
let currentRawResponse = undefined;
|
|
579
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
580
|
+
const callback = (rawResponse, flatResponse) => {
|
|
581
|
+
currentRawResponse = rawResponse;
|
|
582
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
583
|
+
};
|
|
584
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
585
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
586
|
+
return {
|
|
587
|
+
flatResponse,
|
|
588
|
+
rawResponse: {
|
|
589
|
+
statusCode: currentRawResponse.status,
|
|
590
|
+
body: currentRawResponse.parsedBody,
|
|
591
|
+
headers: currentRawResponse.headers.toJSON()
|
|
592
|
+
}
|
|
593
|
+
};
|
|
594
|
+
};
|
|
595
|
+
const lro = createLroSpec({
|
|
596
|
+
sendOperationFn,
|
|
597
|
+
args: { resourceGroupName, applicationName, parameters, options },
|
|
598
|
+
spec: updateAccessOperationSpec
|
|
599
|
+
});
|
|
600
|
+
const poller = await createHttpPoller(lro, {
|
|
601
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
602
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
603
|
+
resourceLocationConfig: "location"
|
|
604
|
+
});
|
|
605
|
+
await poller.poll();
|
|
606
|
+
return poller;
|
|
607
|
+
}
|
|
608
|
+
/**
|
|
609
|
+
* Update access for application.
|
|
610
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
611
|
+
* @param applicationName The name of the managed application.
|
|
612
|
+
* @param parameters Request body parameters to list tokens.
|
|
613
|
+
* @param options The options parameters.
|
|
614
|
+
*/
|
|
615
|
+
async beginUpdateAccessAndWait(resourceGroupName, applicationName, parameters, options) {
|
|
616
|
+
const poller = await this.beginUpdateAccess(resourceGroupName, applicationName, parameters, options);
|
|
617
|
+
return poller.pollUntilDone();
|
|
618
|
+
}
|
|
619
|
+
/**
|
|
620
|
+
* List tokens for application.
|
|
621
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
622
|
+
* @param applicationName The name of the managed application.
|
|
623
|
+
* @param parameters Request body parameters to list tokens.
|
|
624
|
+
* @param options The options parameters.
|
|
625
|
+
*/
|
|
626
|
+
listTokens(resourceGroupName, applicationName, parameters, options) {
|
|
627
|
+
return this.client.sendOperationRequest({ resourceGroupName, applicationName, parameters, options }, listTokensOperationSpec);
|
|
628
|
+
}
|
|
629
|
+
/**
|
|
630
|
+
* ListByResourceGroupNext
|
|
631
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
632
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
633
|
+
* @param options The options parameters.
|
|
634
|
+
*/
|
|
635
|
+
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
636
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
637
|
+
}
|
|
638
|
+
/**
|
|
639
|
+
* ListBySubscriptionNext
|
|
640
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
641
|
+
* @param options The options parameters.
|
|
642
|
+
*/
|
|
643
|
+
_listBySubscriptionNext(nextLink, options) {
|
|
644
|
+
return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
// Operation Specifications
|
|
648
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
649
|
+
const getOperationSpec = {
|
|
650
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications/{applicationName}",
|
|
651
|
+
httpMethod: "GET",
|
|
652
|
+
responses: {
|
|
653
|
+
200: {
|
|
654
|
+
bodyMapper: Mappers.Application
|
|
655
|
+
},
|
|
656
|
+
404: {},
|
|
657
|
+
default: {
|
|
658
|
+
bodyMapper: Mappers.ErrorResponse
|
|
659
|
+
}
|
|
660
|
+
},
|
|
661
|
+
queryParameters: [Parameters.apiVersion],
|
|
662
|
+
urlParameters: [
|
|
663
|
+
Parameters.$host,
|
|
664
|
+
Parameters.subscriptionId,
|
|
665
|
+
Parameters.resourceGroupName,
|
|
666
|
+
Parameters.applicationName
|
|
667
|
+
],
|
|
668
|
+
headerParameters: [Parameters.accept],
|
|
669
|
+
serializer
|
|
670
|
+
};
|
|
671
|
+
const deleteOperationSpec = {
|
|
672
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications/{applicationName}",
|
|
673
|
+
httpMethod: "DELETE",
|
|
674
|
+
responses: {
|
|
675
|
+
200: {},
|
|
676
|
+
201: {},
|
|
677
|
+
202: {},
|
|
678
|
+
204: {},
|
|
679
|
+
default: {
|
|
680
|
+
bodyMapper: Mappers.ErrorResponse
|
|
681
|
+
}
|
|
682
|
+
},
|
|
683
|
+
queryParameters: [Parameters.apiVersion],
|
|
684
|
+
urlParameters: [
|
|
685
|
+
Parameters.$host,
|
|
686
|
+
Parameters.subscriptionId,
|
|
687
|
+
Parameters.resourceGroupName,
|
|
688
|
+
Parameters.applicationName
|
|
689
|
+
],
|
|
690
|
+
headerParameters: [Parameters.accept],
|
|
691
|
+
serializer
|
|
692
|
+
};
|
|
693
|
+
const createOrUpdateOperationSpec = {
|
|
694
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications/{applicationName}",
|
|
695
|
+
httpMethod: "PUT",
|
|
696
|
+
responses: {
|
|
697
|
+
200: {
|
|
698
|
+
bodyMapper: Mappers.Application
|
|
699
|
+
},
|
|
700
|
+
201: {
|
|
701
|
+
bodyMapper: Mappers.Application
|
|
702
|
+
},
|
|
703
|
+
202: {
|
|
704
|
+
bodyMapper: Mappers.Application
|
|
705
|
+
},
|
|
706
|
+
204: {
|
|
707
|
+
bodyMapper: Mappers.Application
|
|
708
|
+
},
|
|
709
|
+
default: {
|
|
710
|
+
bodyMapper: Mappers.ErrorResponse
|
|
711
|
+
}
|
|
712
|
+
},
|
|
713
|
+
requestBody: Parameters.parameters,
|
|
714
|
+
queryParameters: [Parameters.apiVersion],
|
|
715
|
+
urlParameters: [
|
|
716
|
+
Parameters.$host,
|
|
717
|
+
Parameters.subscriptionId,
|
|
718
|
+
Parameters.resourceGroupName,
|
|
719
|
+
Parameters.applicationName
|
|
720
|
+
],
|
|
721
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
722
|
+
mediaType: "json",
|
|
723
|
+
serializer
|
|
724
|
+
};
|
|
725
|
+
const updateOperationSpec = {
|
|
726
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications/{applicationName}",
|
|
727
|
+
httpMethod: "PATCH",
|
|
728
|
+
responses: {
|
|
729
|
+
200: {
|
|
730
|
+
bodyMapper: Mappers.ApplicationPatchable
|
|
731
|
+
},
|
|
732
|
+
201: {
|
|
733
|
+
bodyMapper: Mappers.ApplicationPatchable
|
|
734
|
+
},
|
|
735
|
+
202: {
|
|
736
|
+
bodyMapper: Mappers.ApplicationPatchable
|
|
737
|
+
},
|
|
738
|
+
204: {
|
|
739
|
+
bodyMapper: Mappers.ApplicationPatchable
|
|
740
|
+
},
|
|
741
|
+
default: {
|
|
742
|
+
bodyMapper: Mappers.ErrorResponse
|
|
743
|
+
}
|
|
744
|
+
},
|
|
745
|
+
requestBody: Parameters.parameters1,
|
|
746
|
+
queryParameters: [Parameters.apiVersion],
|
|
747
|
+
urlParameters: [
|
|
748
|
+
Parameters.$host,
|
|
749
|
+
Parameters.subscriptionId,
|
|
750
|
+
Parameters.resourceGroupName,
|
|
751
|
+
Parameters.applicationName
|
|
752
|
+
],
|
|
753
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
754
|
+
mediaType: "json",
|
|
755
|
+
serializer
|
|
756
|
+
};
|
|
757
|
+
const listByResourceGroupOperationSpec = {
|
|
758
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications",
|
|
759
|
+
httpMethod: "GET",
|
|
760
|
+
responses: {
|
|
761
|
+
200: {
|
|
762
|
+
bodyMapper: Mappers.ApplicationListResult
|
|
763
|
+
},
|
|
764
|
+
default: {
|
|
765
|
+
bodyMapper: Mappers.ErrorResponse
|
|
766
|
+
}
|
|
767
|
+
},
|
|
768
|
+
queryParameters: [Parameters.apiVersion],
|
|
769
|
+
urlParameters: [
|
|
770
|
+
Parameters.$host,
|
|
771
|
+
Parameters.subscriptionId,
|
|
772
|
+
Parameters.resourceGroupName
|
|
773
|
+
],
|
|
774
|
+
headerParameters: [Parameters.accept],
|
|
775
|
+
serializer
|
|
776
|
+
};
|
|
777
|
+
const listBySubscriptionOperationSpec = {
|
|
778
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Solutions/applications",
|
|
779
|
+
httpMethod: "GET",
|
|
780
|
+
responses: {
|
|
781
|
+
200: {
|
|
782
|
+
bodyMapper: Mappers.ApplicationListResult
|
|
783
|
+
},
|
|
784
|
+
default: {
|
|
785
|
+
bodyMapper: Mappers.ErrorResponse
|
|
786
|
+
}
|
|
787
|
+
},
|
|
788
|
+
queryParameters: [Parameters.apiVersion],
|
|
789
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
790
|
+
headerParameters: [Parameters.accept],
|
|
791
|
+
serializer
|
|
792
|
+
};
|
|
793
|
+
const getByIdOperationSpec = {
|
|
794
|
+
path: "/{applicationId}",
|
|
795
|
+
httpMethod: "GET",
|
|
796
|
+
responses: {
|
|
797
|
+
200: {
|
|
798
|
+
bodyMapper: Mappers.Application
|
|
799
|
+
},
|
|
800
|
+
404: {},
|
|
801
|
+
default: {
|
|
802
|
+
bodyMapper: Mappers.ErrorResponse
|
|
803
|
+
}
|
|
804
|
+
},
|
|
805
|
+
queryParameters: [Parameters.apiVersion],
|
|
806
|
+
urlParameters: [Parameters.$host, Parameters.applicationId],
|
|
807
|
+
headerParameters: [Parameters.accept],
|
|
808
|
+
serializer
|
|
809
|
+
};
|
|
810
|
+
const deleteByIdOperationSpec = {
|
|
811
|
+
path: "/{applicationId}",
|
|
812
|
+
httpMethod: "DELETE",
|
|
813
|
+
responses: {
|
|
814
|
+
200: {},
|
|
815
|
+
201: {},
|
|
816
|
+
202: {},
|
|
817
|
+
204: {},
|
|
818
|
+
default: {
|
|
819
|
+
bodyMapper: Mappers.ErrorResponse
|
|
820
|
+
}
|
|
821
|
+
},
|
|
822
|
+
queryParameters: [Parameters.apiVersion],
|
|
823
|
+
urlParameters: [Parameters.$host, Parameters.applicationId],
|
|
824
|
+
headerParameters: [Parameters.accept],
|
|
825
|
+
serializer
|
|
826
|
+
};
|
|
827
|
+
const createOrUpdateByIdOperationSpec = {
|
|
828
|
+
path: "/{applicationId}",
|
|
829
|
+
httpMethod: "PUT",
|
|
830
|
+
responses: {
|
|
831
|
+
200: {
|
|
832
|
+
bodyMapper: Mappers.Application
|
|
833
|
+
},
|
|
834
|
+
201: {
|
|
835
|
+
bodyMapper: Mappers.Application
|
|
836
|
+
},
|
|
837
|
+
202: {
|
|
838
|
+
bodyMapper: Mappers.Application
|
|
839
|
+
},
|
|
840
|
+
204: {
|
|
841
|
+
bodyMapper: Mappers.Application
|
|
842
|
+
},
|
|
843
|
+
default: {
|
|
844
|
+
bodyMapper: Mappers.ErrorResponse
|
|
845
|
+
}
|
|
846
|
+
},
|
|
847
|
+
requestBody: Parameters.parameters,
|
|
848
|
+
queryParameters: [Parameters.apiVersion],
|
|
849
|
+
urlParameters: [Parameters.$host, Parameters.applicationId],
|
|
850
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
851
|
+
mediaType: "json",
|
|
852
|
+
serializer
|
|
853
|
+
};
|
|
854
|
+
const updateByIdOperationSpec = {
|
|
855
|
+
path: "/{applicationId}",
|
|
856
|
+
httpMethod: "PATCH",
|
|
857
|
+
responses: {
|
|
858
|
+
200: {
|
|
859
|
+
bodyMapper: Mappers.ApplicationPatchable
|
|
860
|
+
},
|
|
861
|
+
201: {
|
|
862
|
+
bodyMapper: Mappers.ApplicationPatchable
|
|
863
|
+
},
|
|
864
|
+
202: {
|
|
865
|
+
bodyMapper: Mappers.ApplicationPatchable
|
|
866
|
+
},
|
|
867
|
+
204: {
|
|
868
|
+
bodyMapper: Mappers.ApplicationPatchable
|
|
869
|
+
},
|
|
870
|
+
default: {
|
|
871
|
+
bodyMapper: Mappers.ErrorResponse
|
|
872
|
+
}
|
|
873
|
+
},
|
|
874
|
+
requestBody: Parameters.parameters1,
|
|
875
|
+
queryParameters: [Parameters.apiVersion],
|
|
876
|
+
urlParameters: [Parameters.$host, Parameters.applicationId],
|
|
877
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
878
|
+
mediaType: "json",
|
|
879
|
+
serializer
|
|
880
|
+
};
|
|
881
|
+
const refreshPermissionsOperationSpec = {
|
|
882
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications/{applicationName}/refreshPermissions",
|
|
883
|
+
httpMethod: "POST",
|
|
884
|
+
responses: {
|
|
885
|
+
200: {},
|
|
886
|
+
201: {},
|
|
887
|
+
202: {},
|
|
888
|
+
204: {},
|
|
889
|
+
default: {
|
|
890
|
+
bodyMapper: Mappers.ErrorResponse
|
|
891
|
+
}
|
|
892
|
+
},
|
|
893
|
+
queryParameters: [Parameters.apiVersion],
|
|
894
|
+
urlParameters: [
|
|
895
|
+
Parameters.$host,
|
|
896
|
+
Parameters.subscriptionId,
|
|
897
|
+
Parameters.resourceGroupName,
|
|
898
|
+
Parameters.applicationName
|
|
899
|
+
],
|
|
900
|
+
headerParameters: [Parameters.accept],
|
|
901
|
+
serializer
|
|
902
|
+
};
|
|
903
|
+
const listAllowedUpgradePlansOperationSpec = {
|
|
904
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications/{applicationName}/listAllowedUpgradePlans",
|
|
905
|
+
httpMethod: "POST",
|
|
906
|
+
responses: {
|
|
907
|
+
200: {
|
|
908
|
+
bodyMapper: Mappers.AllowedUpgradePlansResult
|
|
909
|
+
},
|
|
910
|
+
default: {
|
|
911
|
+
bodyMapper: Mappers.ErrorResponse
|
|
912
|
+
}
|
|
913
|
+
},
|
|
914
|
+
queryParameters: [Parameters.apiVersion],
|
|
915
|
+
urlParameters: [
|
|
916
|
+
Parameters.$host,
|
|
917
|
+
Parameters.subscriptionId,
|
|
918
|
+
Parameters.resourceGroupName,
|
|
919
|
+
Parameters.applicationName
|
|
920
|
+
],
|
|
921
|
+
headerParameters: [Parameters.accept],
|
|
922
|
+
serializer
|
|
923
|
+
};
|
|
924
|
+
const updateAccessOperationSpec = {
|
|
925
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications/{applicationName}/updateAccess",
|
|
926
|
+
httpMethod: "POST",
|
|
927
|
+
responses: {
|
|
928
|
+
200: {},
|
|
929
|
+
201: {},
|
|
930
|
+
202: {},
|
|
931
|
+
204: {},
|
|
932
|
+
default: {
|
|
933
|
+
bodyMapper: Mappers.ErrorResponse
|
|
934
|
+
}
|
|
935
|
+
},
|
|
936
|
+
requestBody: Parameters.parameters2,
|
|
937
|
+
queryParameters: [Parameters.apiVersion],
|
|
938
|
+
urlParameters: [
|
|
939
|
+
Parameters.$host,
|
|
940
|
+
Parameters.subscriptionId,
|
|
941
|
+
Parameters.resourceGroupName,
|
|
942
|
+
Parameters.applicationName
|
|
943
|
+
],
|
|
944
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
945
|
+
mediaType: "json",
|
|
946
|
+
serializer
|
|
947
|
+
};
|
|
948
|
+
const listTokensOperationSpec = {
|
|
949
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications/{applicationName}/listTokens",
|
|
950
|
+
httpMethod: "POST",
|
|
951
|
+
responses: {
|
|
952
|
+
200: {
|
|
953
|
+
bodyMapper: Mappers.ManagedIdentityTokenResult
|
|
954
|
+
},
|
|
955
|
+
default: {
|
|
956
|
+
bodyMapper: Mappers.ErrorResponse
|
|
957
|
+
}
|
|
958
|
+
},
|
|
959
|
+
requestBody: Parameters.parameters3,
|
|
960
|
+
queryParameters: [Parameters.apiVersion],
|
|
961
|
+
urlParameters: [
|
|
962
|
+
Parameters.$host,
|
|
963
|
+
Parameters.subscriptionId,
|
|
964
|
+
Parameters.resourceGroupName,
|
|
965
|
+
Parameters.applicationName
|
|
966
|
+
],
|
|
967
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
968
|
+
mediaType: "json",
|
|
969
|
+
serializer
|
|
970
|
+
};
|
|
971
|
+
const listByResourceGroupNextOperationSpec = {
|
|
972
|
+
path: "{nextLink}",
|
|
973
|
+
httpMethod: "GET",
|
|
974
|
+
responses: {
|
|
975
|
+
200: {
|
|
976
|
+
bodyMapper: Mappers.ApplicationListResult
|
|
977
|
+
},
|
|
978
|
+
default: {
|
|
979
|
+
bodyMapper: Mappers.ErrorResponse
|
|
980
|
+
}
|
|
981
|
+
},
|
|
982
|
+
urlParameters: [
|
|
983
|
+
Parameters.$host,
|
|
984
|
+
Parameters.nextLink,
|
|
985
|
+
Parameters.subscriptionId,
|
|
986
|
+
Parameters.resourceGroupName
|
|
987
|
+
],
|
|
988
|
+
headerParameters: [Parameters.accept],
|
|
989
|
+
serializer
|
|
990
|
+
};
|
|
991
|
+
const listBySubscriptionNextOperationSpec = {
|
|
992
|
+
path: "{nextLink}",
|
|
993
|
+
httpMethod: "GET",
|
|
994
|
+
responses: {
|
|
995
|
+
200: {
|
|
996
|
+
bodyMapper: Mappers.ApplicationListResult
|
|
997
|
+
},
|
|
998
|
+
default: {
|
|
999
|
+
bodyMapper: Mappers.ErrorResponse
|
|
1000
|
+
}
|
|
1001
|
+
},
|
|
1002
|
+
urlParameters: [
|
|
1003
|
+
Parameters.$host,
|
|
1004
|
+
Parameters.nextLink,
|
|
1005
|
+
Parameters.subscriptionId
|
|
1006
|
+
],
|
|
1007
|
+
headerParameters: [Parameters.accept],
|
|
1008
|
+
serializer
|
|
1009
|
+
};
|
|
1010
|
+
//# sourceMappingURL=applications.js.map
|