@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
|
@@ -1,1397 +0,0 @@
|
|
|
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
|
-
|
|
9
|
-
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
|
|
10
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
11
|
-
import { Applications } from "../operationsInterfaces";
|
|
12
|
-
import * as coreClient from "@azure/core-client";
|
|
13
|
-
import * as Mappers from "../models/mappers";
|
|
14
|
-
import * as Parameters from "../models/parameters";
|
|
15
|
-
import { ApplicationClient } from "../applicationClient";
|
|
16
|
-
import {
|
|
17
|
-
SimplePollerLike,
|
|
18
|
-
OperationState,
|
|
19
|
-
createHttpPoller
|
|
20
|
-
} from "@azure/core-lro";
|
|
21
|
-
import { createLroSpec } from "../lroImpl";
|
|
22
|
-
import {
|
|
23
|
-
Application,
|
|
24
|
-
ApplicationsListByResourceGroupNextOptionalParams,
|
|
25
|
-
ApplicationsListByResourceGroupOptionalParams,
|
|
26
|
-
ApplicationsListByResourceGroupResponse,
|
|
27
|
-
ApplicationsListBySubscriptionNextOptionalParams,
|
|
28
|
-
ApplicationsListBySubscriptionOptionalParams,
|
|
29
|
-
ApplicationsListBySubscriptionResponse,
|
|
30
|
-
ApplicationsGetOptionalParams,
|
|
31
|
-
ApplicationsGetResponse,
|
|
32
|
-
ApplicationsDeleteOptionalParams,
|
|
33
|
-
ApplicationsCreateOrUpdateOptionalParams,
|
|
34
|
-
ApplicationsCreateOrUpdateResponse,
|
|
35
|
-
ApplicationsUpdateOptionalParams,
|
|
36
|
-
ApplicationsUpdateResponse,
|
|
37
|
-
ApplicationsGetByIdOptionalParams,
|
|
38
|
-
ApplicationsGetByIdResponse,
|
|
39
|
-
ApplicationsDeleteByIdOptionalParams,
|
|
40
|
-
ApplicationsCreateOrUpdateByIdOptionalParams,
|
|
41
|
-
ApplicationsCreateOrUpdateByIdResponse,
|
|
42
|
-
ApplicationsUpdateByIdOptionalParams,
|
|
43
|
-
ApplicationsUpdateByIdResponse,
|
|
44
|
-
ApplicationsRefreshPermissionsOptionalParams,
|
|
45
|
-
ApplicationsListAllowedUpgradePlansOptionalParams,
|
|
46
|
-
ApplicationsListAllowedUpgradePlansResponse,
|
|
47
|
-
UpdateAccessDefinition,
|
|
48
|
-
ApplicationsUpdateAccessOptionalParams,
|
|
49
|
-
ListTokenRequest,
|
|
50
|
-
ApplicationsListTokensOptionalParams,
|
|
51
|
-
ApplicationsListTokensResponse,
|
|
52
|
-
ApplicationsListByResourceGroupNextResponse,
|
|
53
|
-
ApplicationsListBySubscriptionNextResponse
|
|
54
|
-
} from "../models";
|
|
55
|
-
|
|
56
|
-
/// <reference lib="esnext.asynciterable" />
|
|
57
|
-
/** Class containing Applications operations. */
|
|
58
|
-
export class ApplicationsImpl implements Applications {
|
|
59
|
-
private readonly client: ApplicationClient;
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* Initialize a new instance of the class Applications class.
|
|
63
|
-
* @param client Reference to the service client
|
|
64
|
-
*/
|
|
65
|
-
constructor(client: ApplicationClient) {
|
|
66
|
-
this.client = client;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* Lists all the applications within a resource group.
|
|
71
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
72
|
-
* @param options The options parameters.
|
|
73
|
-
*/
|
|
74
|
-
public listByResourceGroup(
|
|
75
|
-
resourceGroupName: string,
|
|
76
|
-
options?: ApplicationsListByResourceGroupOptionalParams
|
|
77
|
-
): PagedAsyncIterableIterator<Application> {
|
|
78
|
-
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
79
|
-
return {
|
|
80
|
-
next() {
|
|
81
|
-
return iter.next();
|
|
82
|
-
},
|
|
83
|
-
[Symbol.asyncIterator]() {
|
|
84
|
-
return this;
|
|
85
|
-
},
|
|
86
|
-
byPage: (settings?: PageSettings) => {
|
|
87
|
-
if (settings?.maxPageSize) {
|
|
88
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
89
|
-
}
|
|
90
|
-
return this.listByResourceGroupPagingPage(
|
|
91
|
-
resourceGroupName,
|
|
92
|
-
options,
|
|
93
|
-
settings
|
|
94
|
-
);
|
|
95
|
-
}
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
private async *listByResourceGroupPagingPage(
|
|
100
|
-
resourceGroupName: string,
|
|
101
|
-
options?: ApplicationsListByResourceGroupOptionalParams,
|
|
102
|
-
settings?: PageSettings
|
|
103
|
-
): AsyncIterableIterator<Application[]> {
|
|
104
|
-
let result: ApplicationsListByResourceGroupResponse;
|
|
105
|
-
let continuationToken = settings?.continuationToken;
|
|
106
|
-
if (!continuationToken) {
|
|
107
|
-
result = await this._listByResourceGroup(resourceGroupName, options);
|
|
108
|
-
let page = result.value || [];
|
|
109
|
-
continuationToken = result.nextLink;
|
|
110
|
-
setContinuationToken(page, continuationToken);
|
|
111
|
-
yield page;
|
|
112
|
-
}
|
|
113
|
-
while (continuationToken) {
|
|
114
|
-
result = await this._listByResourceGroupNext(
|
|
115
|
-
resourceGroupName,
|
|
116
|
-
continuationToken,
|
|
117
|
-
options
|
|
118
|
-
);
|
|
119
|
-
continuationToken = result.nextLink;
|
|
120
|
-
let page = result.value || [];
|
|
121
|
-
setContinuationToken(page, continuationToken);
|
|
122
|
-
yield page;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
private async *listByResourceGroupPagingAll(
|
|
127
|
-
resourceGroupName: string,
|
|
128
|
-
options?: ApplicationsListByResourceGroupOptionalParams
|
|
129
|
-
): AsyncIterableIterator<Application> {
|
|
130
|
-
for await (const page of this.listByResourceGroupPagingPage(
|
|
131
|
-
resourceGroupName,
|
|
132
|
-
options
|
|
133
|
-
)) {
|
|
134
|
-
yield* page;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* Lists all the applications within a subscription.
|
|
140
|
-
* @param options The options parameters.
|
|
141
|
-
*/
|
|
142
|
-
public listBySubscription(
|
|
143
|
-
options?: ApplicationsListBySubscriptionOptionalParams
|
|
144
|
-
): PagedAsyncIterableIterator<Application> {
|
|
145
|
-
const iter = this.listBySubscriptionPagingAll(options);
|
|
146
|
-
return {
|
|
147
|
-
next() {
|
|
148
|
-
return iter.next();
|
|
149
|
-
},
|
|
150
|
-
[Symbol.asyncIterator]() {
|
|
151
|
-
return this;
|
|
152
|
-
},
|
|
153
|
-
byPage: (settings?: PageSettings) => {
|
|
154
|
-
if (settings?.maxPageSize) {
|
|
155
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
156
|
-
}
|
|
157
|
-
return this.listBySubscriptionPagingPage(options, settings);
|
|
158
|
-
}
|
|
159
|
-
};
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
private async *listBySubscriptionPagingPage(
|
|
163
|
-
options?: ApplicationsListBySubscriptionOptionalParams,
|
|
164
|
-
settings?: PageSettings
|
|
165
|
-
): AsyncIterableIterator<Application[]> {
|
|
166
|
-
let result: ApplicationsListBySubscriptionResponse;
|
|
167
|
-
let continuationToken = settings?.continuationToken;
|
|
168
|
-
if (!continuationToken) {
|
|
169
|
-
result = await this._listBySubscription(options);
|
|
170
|
-
let page = result.value || [];
|
|
171
|
-
continuationToken = result.nextLink;
|
|
172
|
-
setContinuationToken(page, continuationToken);
|
|
173
|
-
yield page;
|
|
174
|
-
}
|
|
175
|
-
while (continuationToken) {
|
|
176
|
-
result = await this._listBySubscriptionNext(continuationToken, options);
|
|
177
|
-
continuationToken = result.nextLink;
|
|
178
|
-
let page = result.value || [];
|
|
179
|
-
setContinuationToken(page, continuationToken);
|
|
180
|
-
yield page;
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
private async *listBySubscriptionPagingAll(
|
|
185
|
-
options?: ApplicationsListBySubscriptionOptionalParams
|
|
186
|
-
): AsyncIterableIterator<Application> {
|
|
187
|
-
for await (const page of this.listBySubscriptionPagingPage(options)) {
|
|
188
|
-
yield* page;
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* Gets the managed application.
|
|
194
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
195
|
-
* @param applicationName The name of the managed application.
|
|
196
|
-
* @param options The options parameters.
|
|
197
|
-
*/
|
|
198
|
-
get(
|
|
199
|
-
resourceGroupName: string,
|
|
200
|
-
applicationName: string,
|
|
201
|
-
options?: ApplicationsGetOptionalParams
|
|
202
|
-
): Promise<ApplicationsGetResponse> {
|
|
203
|
-
return this.client.sendOperationRequest(
|
|
204
|
-
{ resourceGroupName, applicationName, options },
|
|
205
|
-
getOperationSpec
|
|
206
|
-
);
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
* Deletes the 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 options The options parameters.
|
|
214
|
-
*/
|
|
215
|
-
async beginDelete(
|
|
216
|
-
resourceGroupName: string,
|
|
217
|
-
applicationName: string,
|
|
218
|
-
options?: ApplicationsDeleteOptionalParams
|
|
219
|
-
): Promise<SimplePollerLike<OperationState<void>, void>> {
|
|
220
|
-
const directSendOperation = async (
|
|
221
|
-
args: coreClient.OperationArguments,
|
|
222
|
-
spec: coreClient.OperationSpec
|
|
223
|
-
): Promise<void> => {
|
|
224
|
-
return this.client.sendOperationRequest(args, spec);
|
|
225
|
-
};
|
|
226
|
-
const sendOperationFn = async (
|
|
227
|
-
args: coreClient.OperationArguments,
|
|
228
|
-
spec: coreClient.OperationSpec
|
|
229
|
-
) => {
|
|
230
|
-
let currentRawResponse:
|
|
231
|
-
| coreClient.FullOperationResponse
|
|
232
|
-
| undefined = undefined;
|
|
233
|
-
const providedCallback = args.options?.onResponse;
|
|
234
|
-
const callback: coreClient.RawResponseCallback = (
|
|
235
|
-
rawResponse: coreClient.FullOperationResponse,
|
|
236
|
-
flatResponse: unknown
|
|
237
|
-
) => {
|
|
238
|
-
currentRawResponse = rawResponse;
|
|
239
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
240
|
-
};
|
|
241
|
-
const updatedArgs = {
|
|
242
|
-
...args,
|
|
243
|
-
options: {
|
|
244
|
-
...args.options,
|
|
245
|
-
onResponse: callback
|
|
246
|
-
}
|
|
247
|
-
};
|
|
248
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
249
|
-
return {
|
|
250
|
-
flatResponse,
|
|
251
|
-
rawResponse: {
|
|
252
|
-
statusCode: currentRawResponse!.status,
|
|
253
|
-
body: currentRawResponse!.parsedBody,
|
|
254
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
255
|
-
}
|
|
256
|
-
};
|
|
257
|
-
};
|
|
258
|
-
|
|
259
|
-
const lro = createLroSpec({
|
|
260
|
-
sendOperationFn,
|
|
261
|
-
args: { resourceGroupName, applicationName, options },
|
|
262
|
-
spec: deleteOperationSpec
|
|
263
|
-
});
|
|
264
|
-
const poller = await createHttpPoller<void, OperationState<void>>(lro, {
|
|
265
|
-
restoreFrom: options?.resumeFrom,
|
|
266
|
-
intervalInMs: options?.updateIntervalInMs,
|
|
267
|
-
resourceLocationConfig: "azure-async-operation"
|
|
268
|
-
});
|
|
269
|
-
await poller.poll();
|
|
270
|
-
return poller;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
/**
|
|
274
|
-
* Deletes the managed application.
|
|
275
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
276
|
-
* @param applicationName The name of the managed application.
|
|
277
|
-
* @param options The options parameters.
|
|
278
|
-
*/
|
|
279
|
-
async beginDeleteAndWait(
|
|
280
|
-
resourceGroupName: string,
|
|
281
|
-
applicationName: string,
|
|
282
|
-
options?: ApplicationsDeleteOptionalParams
|
|
283
|
-
): Promise<void> {
|
|
284
|
-
const poller = await this.beginDelete(
|
|
285
|
-
resourceGroupName,
|
|
286
|
-
applicationName,
|
|
287
|
-
options
|
|
288
|
-
);
|
|
289
|
-
return poller.pollUntilDone();
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
/**
|
|
293
|
-
* Creates or updates a managed application.
|
|
294
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
295
|
-
* @param applicationName The name of the managed application.
|
|
296
|
-
* @param parameters Parameters supplied to the create or update a managed application.
|
|
297
|
-
* @param options The options parameters.
|
|
298
|
-
*/
|
|
299
|
-
async beginCreateOrUpdate(
|
|
300
|
-
resourceGroupName: string,
|
|
301
|
-
applicationName: string,
|
|
302
|
-
parameters: Application,
|
|
303
|
-
options?: ApplicationsCreateOrUpdateOptionalParams
|
|
304
|
-
): Promise<
|
|
305
|
-
SimplePollerLike<
|
|
306
|
-
OperationState<ApplicationsCreateOrUpdateResponse>,
|
|
307
|
-
ApplicationsCreateOrUpdateResponse
|
|
308
|
-
>
|
|
309
|
-
> {
|
|
310
|
-
const directSendOperation = async (
|
|
311
|
-
args: coreClient.OperationArguments,
|
|
312
|
-
spec: coreClient.OperationSpec
|
|
313
|
-
): Promise<ApplicationsCreateOrUpdateResponse> => {
|
|
314
|
-
return this.client.sendOperationRequest(args, spec);
|
|
315
|
-
};
|
|
316
|
-
const sendOperationFn = async (
|
|
317
|
-
args: coreClient.OperationArguments,
|
|
318
|
-
spec: coreClient.OperationSpec
|
|
319
|
-
) => {
|
|
320
|
-
let currentRawResponse:
|
|
321
|
-
| coreClient.FullOperationResponse
|
|
322
|
-
| undefined = undefined;
|
|
323
|
-
const providedCallback = args.options?.onResponse;
|
|
324
|
-
const callback: coreClient.RawResponseCallback = (
|
|
325
|
-
rawResponse: coreClient.FullOperationResponse,
|
|
326
|
-
flatResponse: unknown
|
|
327
|
-
) => {
|
|
328
|
-
currentRawResponse = rawResponse;
|
|
329
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
330
|
-
};
|
|
331
|
-
const updatedArgs = {
|
|
332
|
-
...args,
|
|
333
|
-
options: {
|
|
334
|
-
...args.options,
|
|
335
|
-
onResponse: callback
|
|
336
|
-
}
|
|
337
|
-
};
|
|
338
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
339
|
-
return {
|
|
340
|
-
flatResponse,
|
|
341
|
-
rawResponse: {
|
|
342
|
-
statusCode: currentRawResponse!.status,
|
|
343
|
-
body: currentRawResponse!.parsedBody,
|
|
344
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
345
|
-
}
|
|
346
|
-
};
|
|
347
|
-
};
|
|
348
|
-
|
|
349
|
-
const lro = createLroSpec({
|
|
350
|
-
sendOperationFn,
|
|
351
|
-
args: { resourceGroupName, applicationName, parameters, options },
|
|
352
|
-
spec: createOrUpdateOperationSpec
|
|
353
|
-
});
|
|
354
|
-
const poller = await createHttpPoller<
|
|
355
|
-
ApplicationsCreateOrUpdateResponse,
|
|
356
|
-
OperationState<ApplicationsCreateOrUpdateResponse>
|
|
357
|
-
>(lro, {
|
|
358
|
-
restoreFrom: options?.resumeFrom,
|
|
359
|
-
intervalInMs: options?.updateIntervalInMs,
|
|
360
|
-
resourceLocationConfig: "azure-async-operation"
|
|
361
|
-
});
|
|
362
|
-
await poller.poll();
|
|
363
|
-
return poller;
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
/**
|
|
367
|
-
* Creates or updates a managed application.
|
|
368
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
369
|
-
* @param applicationName The name of the managed application.
|
|
370
|
-
* @param parameters Parameters supplied to the create or update a managed application.
|
|
371
|
-
* @param options The options parameters.
|
|
372
|
-
*/
|
|
373
|
-
async beginCreateOrUpdateAndWait(
|
|
374
|
-
resourceGroupName: string,
|
|
375
|
-
applicationName: string,
|
|
376
|
-
parameters: Application,
|
|
377
|
-
options?: ApplicationsCreateOrUpdateOptionalParams
|
|
378
|
-
): Promise<ApplicationsCreateOrUpdateResponse> {
|
|
379
|
-
const poller = await this.beginCreateOrUpdate(
|
|
380
|
-
resourceGroupName,
|
|
381
|
-
applicationName,
|
|
382
|
-
parameters,
|
|
383
|
-
options
|
|
384
|
-
);
|
|
385
|
-
return poller.pollUntilDone();
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
/**
|
|
389
|
-
* Updates an existing managed application.
|
|
390
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
391
|
-
* @param applicationName The name of the managed application.
|
|
392
|
-
* @param options The options parameters.
|
|
393
|
-
*/
|
|
394
|
-
async beginUpdate(
|
|
395
|
-
resourceGroupName: string,
|
|
396
|
-
applicationName: string,
|
|
397
|
-
options?: ApplicationsUpdateOptionalParams
|
|
398
|
-
): Promise<
|
|
399
|
-
SimplePollerLike<
|
|
400
|
-
OperationState<ApplicationsUpdateResponse>,
|
|
401
|
-
ApplicationsUpdateResponse
|
|
402
|
-
>
|
|
403
|
-
> {
|
|
404
|
-
const directSendOperation = async (
|
|
405
|
-
args: coreClient.OperationArguments,
|
|
406
|
-
spec: coreClient.OperationSpec
|
|
407
|
-
): Promise<ApplicationsUpdateResponse> => {
|
|
408
|
-
return this.client.sendOperationRequest(args, spec);
|
|
409
|
-
};
|
|
410
|
-
const sendOperationFn = async (
|
|
411
|
-
args: coreClient.OperationArguments,
|
|
412
|
-
spec: coreClient.OperationSpec
|
|
413
|
-
) => {
|
|
414
|
-
let currentRawResponse:
|
|
415
|
-
| coreClient.FullOperationResponse
|
|
416
|
-
| undefined = undefined;
|
|
417
|
-
const providedCallback = args.options?.onResponse;
|
|
418
|
-
const callback: coreClient.RawResponseCallback = (
|
|
419
|
-
rawResponse: coreClient.FullOperationResponse,
|
|
420
|
-
flatResponse: unknown
|
|
421
|
-
) => {
|
|
422
|
-
currentRawResponse = rawResponse;
|
|
423
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
424
|
-
};
|
|
425
|
-
const updatedArgs = {
|
|
426
|
-
...args,
|
|
427
|
-
options: {
|
|
428
|
-
...args.options,
|
|
429
|
-
onResponse: callback
|
|
430
|
-
}
|
|
431
|
-
};
|
|
432
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
433
|
-
return {
|
|
434
|
-
flatResponse,
|
|
435
|
-
rawResponse: {
|
|
436
|
-
statusCode: currentRawResponse!.status,
|
|
437
|
-
body: currentRawResponse!.parsedBody,
|
|
438
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
439
|
-
}
|
|
440
|
-
};
|
|
441
|
-
};
|
|
442
|
-
|
|
443
|
-
const lro = createLroSpec({
|
|
444
|
-
sendOperationFn,
|
|
445
|
-
args: { resourceGroupName, applicationName, options },
|
|
446
|
-
spec: updateOperationSpec
|
|
447
|
-
});
|
|
448
|
-
const poller = await createHttpPoller<
|
|
449
|
-
ApplicationsUpdateResponse,
|
|
450
|
-
OperationState<ApplicationsUpdateResponse>
|
|
451
|
-
>(lro, {
|
|
452
|
-
restoreFrom: options?.resumeFrom,
|
|
453
|
-
intervalInMs: options?.updateIntervalInMs,
|
|
454
|
-
resourceLocationConfig: "azure-async-operation"
|
|
455
|
-
});
|
|
456
|
-
await poller.poll();
|
|
457
|
-
return poller;
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
/**
|
|
461
|
-
* Updates an existing managed application.
|
|
462
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
463
|
-
* @param applicationName The name of the managed application.
|
|
464
|
-
* @param options The options parameters.
|
|
465
|
-
*/
|
|
466
|
-
async beginUpdateAndWait(
|
|
467
|
-
resourceGroupName: string,
|
|
468
|
-
applicationName: string,
|
|
469
|
-
options?: ApplicationsUpdateOptionalParams
|
|
470
|
-
): Promise<ApplicationsUpdateResponse> {
|
|
471
|
-
const poller = await this.beginUpdate(
|
|
472
|
-
resourceGroupName,
|
|
473
|
-
applicationName,
|
|
474
|
-
options
|
|
475
|
-
);
|
|
476
|
-
return poller.pollUntilDone();
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
/**
|
|
480
|
-
* Lists all the applications within a resource group.
|
|
481
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
482
|
-
* @param options The options parameters.
|
|
483
|
-
*/
|
|
484
|
-
private _listByResourceGroup(
|
|
485
|
-
resourceGroupName: string,
|
|
486
|
-
options?: ApplicationsListByResourceGroupOptionalParams
|
|
487
|
-
): Promise<ApplicationsListByResourceGroupResponse> {
|
|
488
|
-
return this.client.sendOperationRequest(
|
|
489
|
-
{ resourceGroupName, options },
|
|
490
|
-
listByResourceGroupOperationSpec
|
|
491
|
-
);
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
/**
|
|
495
|
-
* Lists all the applications within a subscription.
|
|
496
|
-
* @param options The options parameters.
|
|
497
|
-
*/
|
|
498
|
-
private _listBySubscription(
|
|
499
|
-
options?: ApplicationsListBySubscriptionOptionalParams
|
|
500
|
-
): Promise<ApplicationsListBySubscriptionResponse> {
|
|
501
|
-
return this.client.sendOperationRequest(
|
|
502
|
-
{ options },
|
|
503
|
-
listBySubscriptionOperationSpec
|
|
504
|
-
);
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
/**
|
|
508
|
-
* Gets the managed application.
|
|
509
|
-
* @param applicationId The fully qualified ID of the managed application, including the managed
|
|
510
|
-
* application name and the managed application resource type. Use the format,
|
|
511
|
-
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}
|
|
512
|
-
* @param options The options parameters.
|
|
513
|
-
*/
|
|
514
|
-
getById(
|
|
515
|
-
applicationId: string,
|
|
516
|
-
options?: ApplicationsGetByIdOptionalParams
|
|
517
|
-
): Promise<ApplicationsGetByIdResponse> {
|
|
518
|
-
return this.client.sendOperationRequest(
|
|
519
|
-
{ applicationId, options },
|
|
520
|
-
getByIdOperationSpec
|
|
521
|
-
);
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
/**
|
|
525
|
-
* Deletes the managed application.
|
|
526
|
-
* @param applicationId The fully qualified ID of the managed application, including the managed
|
|
527
|
-
* application name and the managed application resource type. Use the format,
|
|
528
|
-
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}
|
|
529
|
-
* @param options The options parameters.
|
|
530
|
-
*/
|
|
531
|
-
async beginDeleteById(
|
|
532
|
-
applicationId: string,
|
|
533
|
-
options?: ApplicationsDeleteByIdOptionalParams
|
|
534
|
-
): Promise<SimplePollerLike<OperationState<void>, void>> {
|
|
535
|
-
const directSendOperation = async (
|
|
536
|
-
args: coreClient.OperationArguments,
|
|
537
|
-
spec: coreClient.OperationSpec
|
|
538
|
-
): Promise<void> => {
|
|
539
|
-
return this.client.sendOperationRequest(args, spec);
|
|
540
|
-
};
|
|
541
|
-
const sendOperationFn = async (
|
|
542
|
-
args: coreClient.OperationArguments,
|
|
543
|
-
spec: coreClient.OperationSpec
|
|
544
|
-
) => {
|
|
545
|
-
let currentRawResponse:
|
|
546
|
-
| coreClient.FullOperationResponse
|
|
547
|
-
| undefined = undefined;
|
|
548
|
-
const providedCallback = args.options?.onResponse;
|
|
549
|
-
const callback: coreClient.RawResponseCallback = (
|
|
550
|
-
rawResponse: coreClient.FullOperationResponse,
|
|
551
|
-
flatResponse: unknown
|
|
552
|
-
) => {
|
|
553
|
-
currentRawResponse = rawResponse;
|
|
554
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
555
|
-
};
|
|
556
|
-
const updatedArgs = {
|
|
557
|
-
...args,
|
|
558
|
-
options: {
|
|
559
|
-
...args.options,
|
|
560
|
-
onResponse: callback
|
|
561
|
-
}
|
|
562
|
-
};
|
|
563
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
564
|
-
return {
|
|
565
|
-
flatResponse,
|
|
566
|
-
rawResponse: {
|
|
567
|
-
statusCode: currentRawResponse!.status,
|
|
568
|
-
body: currentRawResponse!.parsedBody,
|
|
569
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
570
|
-
}
|
|
571
|
-
};
|
|
572
|
-
};
|
|
573
|
-
|
|
574
|
-
const lro = createLroSpec({
|
|
575
|
-
sendOperationFn,
|
|
576
|
-
args: { applicationId, options },
|
|
577
|
-
spec: deleteByIdOperationSpec
|
|
578
|
-
});
|
|
579
|
-
const poller = await createHttpPoller<void, OperationState<void>>(lro, {
|
|
580
|
-
restoreFrom: options?.resumeFrom,
|
|
581
|
-
intervalInMs: options?.updateIntervalInMs,
|
|
582
|
-
resourceLocationConfig: "azure-async-operation"
|
|
583
|
-
});
|
|
584
|
-
await poller.poll();
|
|
585
|
-
return poller;
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
/**
|
|
589
|
-
* Deletes the managed application.
|
|
590
|
-
* @param applicationId The fully qualified ID of the managed application, including the managed
|
|
591
|
-
* application name and the managed application resource type. Use the format,
|
|
592
|
-
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}
|
|
593
|
-
* @param options The options parameters.
|
|
594
|
-
*/
|
|
595
|
-
async beginDeleteByIdAndWait(
|
|
596
|
-
applicationId: string,
|
|
597
|
-
options?: ApplicationsDeleteByIdOptionalParams
|
|
598
|
-
): Promise<void> {
|
|
599
|
-
const poller = await this.beginDeleteById(applicationId, options);
|
|
600
|
-
return poller.pollUntilDone();
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
/**
|
|
604
|
-
* Creates or updates a managed application.
|
|
605
|
-
* @param applicationId The fully qualified ID of the managed application, including the managed
|
|
606
|
-
* application name and the managed application resource type. Use the format,
|
|
607
|
-
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}
|
|
608
|
-
* @param parameters Parameters supplied to the create or update a managed application.
|
|
609
|
-
* @param options The options parameters.
|
|
610
|
-
*/
|
|
611
|
-
async beginCreateOrUpdateById(
|
|
612
|
-
applicationId: string,
|
|
613
|
-
parameters: Application,
|
|
614
|
-
options?: ApplicationsCreateOrUpdateByIdOptionalParams
|
|
615
|
-
): Promise<
|
|
616
|
-
SimplePollerLike<
|
|
617
|
-
OperationState<ApplicationsCreateOrUpdateByIdResponse>,
|
|
618
|
-
ApplicationsCreateOrUpdateByIdResponse
|
|
619
|
-
>
|
|
620
|
-
> {
|
|
621
|
-
const directSendOperation = async (
|
|
622
|
-
args: coreClient.OperationArguments,
|
|
623
|
-
spec: coreClient.OperationSpec
|
|
624
|
-
): Promise<ApplicationsCreateOrUpdateByIdResponse> => {
|
|
625
|
-
return this.client.sendOperationRequest(args, spec);
|
|
626
|
-
};
|
|
627
|
-
const sendOperationFn = async (
|
|
628
|
-
args: coreClient.OperationArguments,
|
|
629
|
-
spec: coreClient.OperationSpec
|
|
630
|
-
) => {
|
|
631
|
-
let currentRawResponse:
|
|
632
|
-
| coreClient.FullOperationResponse
|
|
633
|
-
| undefined = undefined;
|
|
634
|
-
const providedCallback = args.options?.onResponse;
|
|
635
|
-
const callback: coreClient.RawResponseCallback = (
|
|
636
|
-
rawResponse: coreClient.FullOperationResponse,
|
|
637
|
-
flatResponse: unknown
|
|
638
|
-
) => {
|
|
639
|
-
currentRawResponse = rawResponse;
|
|
640
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
641
|
-
};
|
|
642
|
-
const updatedArgs = {
|
|
643
|
-
...args,
|
|
644
|
-
options: {
|
|
645
|
-
...args.options,
|
|
646
|
-
onResponse: callback
|
|
647
|
-
}
|
|
648
|
-
};
|
|
649
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
650
|
-
return {
|
|
651
|
-
flatResponse,
|
|
652
|
-
rawResponse: {
|
|
653
|
-
statusCode: currentRawResponse!.status,
|
|
654
|
-
body: currentRawResponse!.parsedBody,
|
|
655
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
656
|
-
}
|
|
657
|
-
};
|
|
658
|
-
};
|
|
659
|
-
|
|
660
|
-
const lro = createLroSpec({
|
|
661
|
-
sendOperationFn,
|
|
662
|
-
args: { applicationId, parameters, options },
|
|
663
|
-
spec: createOrUpdateByIdOperationSpec
|
|
664
|
-
});
|
|
665
|
-
const poller = await createHttpPoller<
|
|
666
|
-
ApplicationsCreateOrUpdateByIdResponse,
|
|
667
|
-
OperationState<ApplicationsCreateOrUpdateByIdResponse>
|
|
668
|
-
>(lro, {
|
|
669
|
-
restoreFrom: options?.resumeFrom,
|
|
670
|
-
intervalInMs: options?.updateIntervalInMs,
|
|
671
|
-
resourceLocationConfig: "azure-async-operation"
|
|
672
|
-
});
|
|
673
|
-
await poller.poll();
|
|
674
|
-
return poller;
|
|
675
|
-
}
|
|
676
|
-
|
|
677
|
-
/**
|
|
678
|
-
* Creates or updates a managed application.
|
|
679
|
-
* @param applicationId The fully qualified ID of the managed application, including the managed
|
|
680
|
-
* application name and the managed application resource type. Use the format,
|
|
681
|
-
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}
|
|
682
|
-
* @param parameters Parameters supplied to the create or update a managed application.
|
|
683
|
-
* @param options The options parameters.
|
|
684
|
-
*/
|
|
685
|
-
async beginCreateOrUpdateByIdAndWait(
|
|
686
|
-
applicationId: string,
|
|
687
|
-
parameters: Application,
|
|
688
|
-
options?: ApplicationsCreateOrUpdateByIdOptionalParams
|
|
689
|
-
): Promise<ApplicationsCreateOrUpdateByIdResponse> {
|
|
690
|
-
const poller = await this.beginCreateOrUpdateById(
|
|
691
|
-
applicationId,
|
|
692
|
-
parameters,
|
|
693
|
-
options
|
|
694
|
-
);
|
|
695
|
-
return poller.pollUntilDone();
|
|
696
|
-
}
|
|
697
|
-
|
|
698
|
-
/**
|
|
699
|
-
* Updates an existing managed application.
|
|
700
|
-
* @param applicationId The fully qualified ID of the managed application, including the managed
|
|
701
|
-
* application name and the managed application resource type. Use the format,
|
|
702
|
-
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}
|
|
703
|
-
* @param options The options parameters.
|
|
704
|
-
*/
|
|
705
|
-
async beginUpdateById(
|
|
706
|
-
applicationId: string,
|
|
707
|
-
options?: ApplicationsUpdateByIdOptionalParams
|
|
708
|
-
): Promise<
|
|
709
|
-
SimplePollerLike<
|
|
710
|
-
OperationState<ApplicationsUpdateByIdResponse>,
|
|
711
|
-
ApplicationsUpdateByIdResponse
|
|
712
|
-
>
|
|
713
|
-
> {
|
|
714
|
-
const directSendOperation = async (
|
|
715
|
-
args: coreClient.OperationArguments,
|
|
716
|
-
spec: coreClient.OperationSpec
|
|
717
|
-
): Promise<ApplicationsUpdateByIdResponse> => {
|
|
718
|
-
return this.client.sendOperationRequest(args, spec);
|
|
719
|
-
};
|
|
720
|
-
const sendOperationFn = async (
|
|
721
|
-
args: coreClient.OperationArguments,
|
|
722
|
-
spec: coreClient.OperationSpec
|
|
723
|
-
) => {
|
|
724
|
-
let currentRawResponse:
|
|
725
|
-
| coreClient.FullOperationResponse
|
|
726
|
-
| undefined = undefined;
|
|
727
|
-
const providedCallback = args.options?.onResponse;
|
|
728
|
-
const callback: coreClient.RawResponseCallback = (
|
|
729
|
-
rawResponse: coreClient.FullOperationResponse,
|
|
730
|
-
flatResponse: unknown
|
|
731
|
-
) => {
|
|
732
|
-
currentRawResponse = rawResponse;
|
|
733
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
734
|
-
};
|
|
735
|
-
const updatedArgs = {
|
|
736
|
-
...args,
|
|
737
|
-
options: {
|
|
738
|
-
...args.options,
|
|
739
|
-
onResponse: callback
|
|
740
|
-
}
|
|
741
|
-
};
|
|
742
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
743
|
-
return {
|
|
744
|
-
flatResponse,
|
|
745
|
-
rawResponse: {
|
|
746
|
-
statusCode: currentRawResponse!.status,
|
|
747
|
-
body: currentRawResponse!.parsedBody,
|
|
748
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
749
|
-
}
|
|
750
|
-
};
|
|
751
|
-
};
|
|
752
|
-
|
|
753
|
-
const lro = createLroSpec({
|
|
754
|
-
sendOperationFn,
|
|
755
|
-
args: { applicationId, options },
|
|
756
|
-
spec: updateByIdOperationSpec
|
|
757
|
-
});
|
|
758
|
-
const poller = await createHttpPoller<
|
|
759
|
-
ApplicationsUpdateByIdResponse,
|
|
760
|
-
OperationState<ApplicationsUpdateByIdResponse>
|
|
761
|
-
>(lro, {
|
|
762
|
-
restoreFrom: options?.resumeFrom,
|
|
763
|
-
intervalInMs: options?.updateIntervalInMs,
|
|
764
|
-
resourceLocationConfig: "azure-async-operation"
|
|
765
|
-
});
|
|
766
|
-
await poller.poll();
|
|
767
|
-
return poller;
|
|
768
|
-
}
|
|
769
|
-
|
|
770
|
-
/**
|
|
771
|
-
* Updates an existing managed application.
|
|
772
|
-
* @param applicationId The fully qualified ID of the managed application, including the managed
|
|
773
|
-
* application name and the managed application resource type. Use the format,
|
|
774
|
-
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}
|
|
775
|
-
* @param options The options parameters.
|
|
776
|
-
*/
|
|
777
|
-
async beginUpdateByIdAndWait(
|
|
778
|
-
applicationId: string,
|
|
779
|
-
options?: ApplicationsUpdateByIdOptionalParams
|
|
780
|
-
): Promise<ApplicationsUpdateByIdResponse> {
|
|
781
|
-
const poller = await this.beginUpdateById(applicationId, options);
|
|
782
|
-
return poller.pollUntilDone();
|
|
783
|
-
}
|
|
784
|
-
|
|
785
|
-
/**
|
|
786
|
-
* Refresh Permissions for application.
|
|
787
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
788
|
-
* @param applicationName The name of the managed application.
|
|
789
|
-
* @param options The options parameters.
|
|
790
|
-
*/
|
|
791
|
-
async beginRefreshPermissions(
|
|
792
|
-
resourceGroupName: string,
|
|
793
|
-
applicationName: string,
|
|
794
|
-
options?: ApplicationsRefreshPermissionsOptionalParams
|
|
795
|
-
): Promise<SimplePollerLike<OperationState<void>, void>> {
|
|
796
|
-
const directSendOperation = async (
|
|
797
|
-
args: coreClient.OperationArguments,
|
|
798
|
-
spec: coreClient.OperationSpec
|
|
799
|
-
): Promise<void> => {
|
|
800
|
-
return this.client.sendOperationRequest(args, spec);
|
|
801
|
-
};
|
|
802
|
-
const sendOperationFn = async (
|
|
803
|
-
args: coreClient.OperationArguments,
|
|
804
|
-
spec: coreClient.OperationSpec
|
|
805
|
-
) => {
|
|
806
|
-
let currentRawResponse:
|
|
807
|
-
| coreClient.FullOperationResponse
|
|
808
|
-
| undefined = undefined;
|
|
809
|
-
const providedCallback = args.options?.onResponse;
|
|
810
|
-
const callback: coreClient.RawResponseCallback = (
|
|
811
|
-
rawResponse: coreClient.FullOperationResponse,
|
|
812
|
-
flatResponse: unknown
|
|
813
|
-
) => {
|
|
814
|
-
currentRawResponse = rawResponse;
|
|
815
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
816
|
-
};
|
|
817
|
-
const updatedArgs = {
|
|
818
|
-
...args,
|
|
819
|
-
options: {
|
|
820
|
-
...args.options,
|
|
821
|
-
onResponse: callback
|
|
822
|
-
}
|
|
823
|
-
};
|
|
824
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
825
|
-
return {
|
|
826
|
-
flatResponse,
|
|
827
|
-
rawResponse: {
|
|
828
|
-
statusCode: currentRawResponse!.status,
|
|
829
|
-
body: currentRawResponse!.parsedBody,
|
|
830
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
831
|
-
}
|
|
832
|
-
};
|
|
833
|
-
};
|
|
834
|
-
|
|
835
|
-
const lro = createLroSpec({
|
|
836
|
-
sendOperationFn,
|
|
837
|
-
args: { resourceGroupName, applicationName, options },
|
|
838
|
-
spec: refreshPermissionsOperationSpec
|
|
839
|
-
});
|
|
840
|
-
const poller = await createHttpPoller<void, OperationState<void>>(lro, {
|
|
841
|
-
restoreFrom: options?.resumeFrom,
|
|
842
|
-
intervalInMs: options?.updateIntervalInMs,
|
|
843
|
-
resourceLocationConfig: "location"
|
|
844
|
-
});
|
|
845
|
-
await poller.poll();
|
|
846
|
-
return poller;
|
|
847
|
-
}
|
|
848
|
-
|
|
849
|
-
/**
|
|
850
|
-
* Refresh Permissions for application.
|
|
851
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
852
|
-
* @param applicationName The name of the managed application.
|
|
853
|
-
* @param options The options parameters.
|
|
854
|
-
*/
|
|
855
|
-
async beginRefreshPermissionsAndWait(
|
|
856
|
-
resourceGroupName: string,
|
|
857
|
-
applicationName: string,
|
|
858
|
-
options?: ApplicationsRefreshPermissionsOptionalParams
|
|
859
|
-
): Promise<void> {
|
|
860
|
-
const poller = await this.beginRefreshPermissions(
|
|
861
|
-
resourceGroupName,
|
|
862
|
-
applicationName,
|
|
863
|
-
options
|
|
864
|
-
);
|
|
865
|
-
return poller.pollUntilDone();
|
|
866
|
-
}
|
|
867
|
-
|
|
868
|
-
/**
|
|
869
|
-
* List allowed upgrade plans for application.
|
|
870
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
871
|
-
* @param applicationName The name of the managed application.
|
|
872
|
-
* @param options The options parameters.
|
|
873
|
-
*/
|
|
874
|
-
listAllowedUpgradePlans(
|
|
875
|
-
resourceGroupName: string,
|
|
876
|
-
applicationName: string,
|
|
877
|
-
options?: ApplicationsListAllowedUpgradePlansOptionalParams
|
|
878
|
-
): Promise<ApplicationsListAllowedUpgradePlansResponse> {
|
|
879
|
-
return this.client.sendOperationRequest(
|
|
880
|
-
{ resourceGroupName, applicationName, options },
|
|
881
|
-
listAllowedUpgradePlansOperationSpec
|
|
882
|
-
);
|
|
883
|
-
}
|
|
884
|
-
|
|
885
|
-
/**
|
|
886
|
-
* Update access for application.
|
|
887
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
888
|
-
* @param applicationName The name of the managed application.
|
|
889
|
-
* @param parameters Request body parameters to list tokens.
|
|
890
|
-
* @param options The options parameters.
|
|
891
|
-
*/
|
|
892
|
-
async beginUpdateAccess(
|
|
893
|
-
resourceGroupName: string,
|
|
894
|
-
applicationName: string,
|
|
895
|
-
parameters: UpdateAccessDefinition,
|
|
896
|
-
options?: ApplicationsUpdateAccessOptionalParams
|
|
897
|
-
): Promise<SimplePollerLike<OperationState<void>, void>> {
|
|
898
|
-
const directSendOperation = async (
|
|
899
|
-
args: coreClient.OperationArguments,
|
|
900
|
-
spec: coreClient.OperationSpec
|
|
901
|
-
): Promise<void> => {
|
|
902
|
-
return this.client.sendOperationRequest(args, spec);
|
|
903
|
-
};
|
|
904
|
-
const sendOperationFn = async (
|
|
905
|
-
args: coreClient.OperationArguments,
|
|
906
|
-
spec: coreClient.OperationSpec
|
|
907
|
-
) => {
|
|
908
|
-
let currentRawResponse:
|
|
909
|
-
| coreClient.FullOperationResponse
|
|
910
|
-
| undefined = undefined;
|
|
911
|
-
const providedCallback = args.options?.onResponse;
|
|
912
|
-
const callback: coreClient.RawResponseCallback = (
|
|
913
|
-
rawResponse: coreClient.FullOperationResponse,
|
|
914
|
-
flatResponse: unknown
|
|
915
|
-
) => {
|
|
916
|
-
currentRawResponse = rawResponse;
|
|
917
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
918
|
-
};
|
|
919
|
-
const updatedArgs = {
|
|
920
|
-
...args,
|
|
921
|
-
options: {
|
|
922
|
-
...args.options,
|
|
923
|
-
onResponse: callback
|
|
924
|
-
}
|
|
925
|
-
};
|
|
926
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
927
|
-
return {
|
|
928
|
-
flatResponse,
|
|
929
|
-
rawResponse: {
|
|
930
|
-
statusCode: currentRawResponse!.status,
|
|
931
|
-
body: currentRawResponse!.parsedBody,
|
|
932
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
933
|
-
}
|
|
934
|
-
};
|
|
935
|
-
};
|
|
936
|
-
|
|
937
|
-
const lro = createLroSpec({
|
|
938
|
-
sendOperationFn,
|
|
939
|
-
args: { resourceGroupName, applicationName, parameters, options },
|
|
940
|
-
spec: updateAccessOperationSpec
|
|
941
|
-
});
|
|
942
|
-
const poller = await createHttpPoller<void, OperationState<void>>(lro, {
|
|
943
|
-
restoreFrom: options?.resumeFrom,
|
|
944
|
-
intervalInMs: options?.updateIntervalInMs,
|
|
945
|
-
resourceLocationConfig: "location"
|
|
946
|
-
});
|
|
947
|
-
await poller.poll();
|
|
948
|
-
return poller;
|
|
949
|
-
}
|
|
950
|
-
|
|
951
|
-
/**
|
|
952
|
-
* Update access for application.
|
|
953
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
954
|
-
* @param applicationName The name of the managed application.
|
|
955
|
-
* @param parameters Request body parameters to list tokens.
|
|
956
|
-
* @param options The options parameters.
|
|
957
|
-
*/
|
|
958
|
-
async beginUpdateAccessAndWait(
|
|
959
|
-
resourceGroupName: string,
|
|
960
|
-
applicationName: string,
|
|
961
|
-
parameters: UpdateAccessDefinition,
|
|
962
|
-
options?: ApplicationsUpdateAccessOptionalParams
|
|
963
|
-
): Promise<void> {
|
|
964
|
-
const poller = await this.beginUpdateAccess(
|
|
965
|
-
resourceGroupName,
|
|
966
|
-
applicationName,
|
|
967
|
-
parameters,
|
|
968
|
-
options
|
|
969
|
-
);
|
|
970
|
-
return poller.pollUntilDone();
|
|
971
|
-
}
|
|
972
|
-
|
|
973
|
-
/**
|
|
974
|
-
* List tokens for application.
|
|
975
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
976
|
-
* @param applicationName The name of the managed application.
|
|
977
|
-
* @param parameters Request body parameters to list tokens.
|
|
978
|
-
* @param options The options parameters.
|
|
979
|
-
*/
|
|
980
|
-
listTokens(
|
|
981
|
-
resourceGroupName: string,
|
|
982
|
-
applicationName: string,
|
|
983
|
-
parameters: ListTokenRequest,
|
|
984
|
-
options?: ApplicationsListTokensOptionalParams
|
|
985
|
-
): Promise<ApplicationsListTokensResponse> {
|
|
986
|
-
return this.client.sendOperationRequest(
|
|
987
|
-
{ resourceGroupName, applicationName, parameters, options },
|
|
988
|
-
listTokensOperationSpec
|
|
989
|
-
);
|
|
990
|
-
}
|
|
991
|
-
|
|
992
|
-
/**
|
|
993
|
-
* ListByResourceGroupNext
|
|
994
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
995
|
-
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
996
|
-
* @param options The options parameters.
|
|
997
|
-
*/
|
|
998
|
-
private _listByResourceGroupNext(
|
|
999
|
-
resourceGroupName: string,
|
|
1000
|
-
nextLink: string,
|
|
1001
|
-
options?: ApplicationsListByResourceGroupNextOptionalParams
|
|
1002
|
-
): Promise<ApplicationsListByResourceGroupNextResponse> {
|
|
1003
|
-
return this.client.sendOperationRequest(
|
|
1004
|
-
{ resourceGroupName, nextLink, options },
|
|
1005
|
-
listByResourceGroupNextOperationSpec
|
|
1006
|
-
);
|
|
1007
|
-
}
|
|
1008
|
-
|
|
1009
|
-
/**
|
|
1010
|
-
* ListBySubscriptionNext
|
|
1011
|
-
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
1012
|
-
* @param options The options parameters.
|
|
1013
|
-
*/
|
|
1014
|
-
private _listBySubscriptionNext(
|
|
1015
|
-
nextLink: string,
|
|
1016
|
-
options?: ApplicationsListBySubscriptionNextOptionalParams
|
|
1017
|
-
): Promise<ApplicationsListBySubscriptionNextResponse> {
|
|
1018
|
-
return this.client.sendOperationRequest(
|
|
1019
|
-
{ nextLink, options },
|
|
1020
|
-
listBySubscriptionNextOperationSpec
|
|
1021
|
-
);
|
|
1022
|
-
}
|
|
1023
|
-
}
|
|
1024
|
-
// Operation Specifications
|
|
1025
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
1026
|
-
|
|
1027
|
-
const getOperationSpec: coreClient.OperationSpec = {
|
|
1028
|
-
path:
|
|
1029
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications/{applicationName}",
|
|
1030
|
-
httpMethod: "GET",
|
|
1031
|
-
responses: {
|
|
1032
|
-
200: {
|
|
1033
|
-
bodyMapper: Mappers.Application
|
|
1034
|
-
},
|
|
1035
|
-
404: {},
|
|
1036
|
-
default: {
|
|
1037
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1038
|
-
}
|
|
1039
|
-
},
|
|
1040
|
-
queryParameters: [Parameters.apiVersion],
|
|
1041
|
-
urlParameters: [
|
|
1042
|
-
Parameters.$host,
|
|
1043
|
-
Parameters.subscriptionId,
|
|
1044
|
-
Parameters.resourceGroupName,
|
|
1045
|
-
Parameters.applicationName
|
|
1046
|
-
],
|
|
1047
|
-
headerParameters: [Parameters.accept],
|
|
1048
|
-
serializer
|
|
1049
|
-
};
|
|
1050
|
-
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
1051
|
-
path:
|
|
1052
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications/{applicationName}",
|
|
1053
|
-
httpMethod: "DELETE",
|
|
1054
|
-
responses: {
|
|
1055
|
-
200: {},
|
|
1056
|
-
201: {},
|
|
1057
|
-
202: {},
|
|
1058
|
-
204: {},
|
|
1059
|
-
default: {
|
|
1060
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1061
|
-
}
|
|
1062
|
-
},
|
|
1063
|
-
queryParameters: [Parameters.apiVersion],
|
|
1064
|
-
urlParameters: [
|
|
1065
|
-
Parameters.$host,
|
|
1066
|
-
Parameters.subscriptionId,
|
|
1067
|
-
Parameters.resourceGroupName,
|
|
1068
|
-
Parameters.applicationName
|
|
1069
|
-
],
|
|
1070
|
-
headerParameters: [Parameters.accept],
|
|
1071
|
-
serializer
|
|
1072
|
-
};
|
|
1073
|
-
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
1074
|
-
path:
|
|
1075
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications/{applicationName}",
|
|
1076
|
-
httpMethod: "PUT",
|
|
1077
|
-
responses: {
|
|
1078
|
-
200: {
|
|
1079
|
-
bodyMapper: Mappers.Application
|
|
1080
|
-
},
|
|
1081
|
-
201: {
|
|
1082
|
-
bodyMapper: Mappers.Application
|
|
1083
|
-
},
|
|
1084
|
-
202: {
|
|
1085
|
-
bodyMapper: Mappers.Application
|
|
1086
|
-
},
|
|
1087
|
-
204: {
|
|
1088
|
-
bodyMapper: Mappers.Application
|
|
1089
|
-
},
|
|
1090
|
-
default: {
|
|
1091
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1092
|
-
}
|
|
1093
|
-
},
|
|
1094
|
-
requestBody: Parameters.parameters,
|
|
1095
|
-
queryParameters: [Parameters.apiVersion],
|
|
1096
|
-
urlParameters: [
|
|
1097
|
-
Parameters.$host,
|
|
1098
|
-
Parameters.subscriptionId,
|
|
1099
|
-
Parameters.resourceGroupName,
|
|
1100
|
-
Parameters.applicationName
|
|
1101
|
-
],
|
|
1102
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1103
|
-
mediaType: "json",
|
|
1104
|
-
serializer
|
|
1105
|
-
};
|
|
1106
|
-
const updateOperationSpec: coreClient.OperationSpec = {
|
|
1107
|
-
path:
|
|
1108
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications/{applicationName}",
|
|
1109
|
-
httpMethod: "PATCH",
|
|
1110
|
-
responses: {
|
|
1111
|
-
200: {
|
|
1112
|
-
bodyMapper: Mappers.ApplicationPatchable
|
|
1113
|
-
},
|
|
1114
|
-
201: {
|
|
1115
|
-
bodyMapper: Mappers.ApplicationPatchable
|
|
1116
|
-
},
|
|
1117
|
-
202: {
|
|
1118
|
-
bodyMapper: Mappers.ApplicationPatchable
|
|
1119
|
-
},
|
|
1120
|
-
204: {
|
|
1121
|
-
bodyMapper: Mappers.ApplicationPatchable
|
|
1122
|
-
},
|
|
1123
|
-
default: {
|
|
1124
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1125
|
-
}
|
|
1126
|
-
},
|
|
1127
|
-
requestBody: Parameters.parameters1,
|
|
1128
|
-
queryParameters: [Parameters.apiVersion],
|
|
1129
|
-
urlParameters: [
|
|
1130
|
-
Parameters.$host,
|
|
1131
|
-
Parameters.subscriptionId,
|
|
1132
|
-
Parameters.resourceGroupName,
|
|
1133
|
-
Parameters.applicationName
|
|
1134
|
-
],
|
|
1135
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1136
|
-
mediaType: "json",
|
|
1137
|
-
serializer
|
|
1138
|
-
};
|
|
1139
|
-
const listByResourceGroupOperationSpec: coreClient.OperationSpec = {
|
|
1140
|
-
path:
|
|
1141
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications",
|
|
1142
|
-
httpMethod: "GET",
|
|
1143
|
-
responses: {
|
|
1144
|
-
200: {
|
|
1145
|
-
bodyMapper: Mappers.ApplicationListResult
|
|
1146
|
-
},
|
|
1147
|
-
default: {
|
|
1148
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1149
|
-
}
|
|
1150
|
-
},
|
|
1151
|
-
queryParameters: [Parameters.apiVersion],
|
|
1152
|
-
urlParameters: [
|
|
1153
|
-
Parameters.$host,
|
|
1154
|
-
Parameters.subscriptionId,
|
|
1155
|
-
Parameters.resourceGroupName
|
|
1156
|
-
],
|
|
1157
|
-
headerParameters: [Parameters.accept],
|
|
1158
|
-
serializer
|
|
1159
|
-
};
|
|
1160
|
-
const listBySubscriptionOperationSpec: coreClient.OperationSpec = {
|
|
1161
|
-
path:
|
|
1162
|
-
"/subscriptions/{subscriptionId}/providers/Microsoft.Solutions/applications",
|
|
1163
|
-
httpMethod: "GET",
|
|
1164
|
-
responses: {
|
|
1165
|
-
200: {
|
|
1166
|
-
bodyMapper: Mappers.ApplicationListResult
|
|
1167
|
-
},
|
|
1168
|
-
default: {
|
|
1169
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1170
|
-
}
|
|
1171
|
-
},
|
|
1172
|
-
queryParameters: [Parameters.apiVersion],
|
|
1173
|
-
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
1174
|
-
headerParameters: [Parameters.accept],
|
|
1175
|
-
serializer
|
|
1176
|
-
};
|
|
1177
|
-
const getByIdOperationSpec: coreClient.OperationSpec = {
|
|
1178
|
-
path: "/{applicationId}",
|
|
1179
|
-
httpMethod: "GET",
|
|
1180
|
-
responses: {
|
|
1181
|
-
200: {
|
|
1182
|
-
bodyMapper: Mappers.Application
|
|
1183
|
-
},
|
|
1184
|
-
404: {},
|
|
1185
|
-
default: {
|
|
1186
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1187
|
-
}
|
|
1188
|
-
},
|
|
1189
|
-
queryParameters: [Parameters.apiVersion],
|
|
1190
|
-
urlParameters: [Parameters.$host, Parameters.applicationId],
|
|
1191
|
-
headerParameters: [Parameters.accept],
|
|
1192
|
-
serializer
|
|
1193
|
-
};
|
|
1194
|
-
const deleteByIdOperationSpec: coreClient.OperationSpec = {
|
|
1195
|
-
path: "/{applicationId}",
|
|
1196
|
-
httpMethod: "DELETE",
|
|
1197
|
-
responses: {
|
|
1198
|
-
200: {},
|
|
1199
|
-
201: {},
|
|
1200
|
-
202: {},
|
|
1201
|
-
204: {},
|
|
1202
|
-
default: {
|
|
1203
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1204
|
-
}
|
|
1205
|
-
},
|
|
1206
|
-
queryParameters: [Parameters.apiVersion],
|
|
1207
|
-
urlParameters: [Parameters.$host, Parameters.applicationId],
|
|
1208
|
-
headerParameters: [Parameters.accept],
|
|
1209
|
-
serializer
|
|
1210
|
-
};
|
|
1211
|
-
const createOrUpdateByIdOperationSpec: coreClient.OperationSpec = {
|
|
1212
|
-
path: "/{applicationId}",
|
|
1213
|
-
httpMethod: "PUT",
|
|
1214
|
-
responses: {
|
|
1215
|
-
200: {
|
|
1216
|
-
bodyMapper: Mappers.Application
|
|
1217
|
-
},
|
|
1218
|
-
201: {
|
|
1219
|
-
bodyMapper: Mappers.Application
|
|
1220
|
-
},
|
|
1221
|
-
202: {
|
|
1222
|
-
bodyMapper: Mappers.Application
|
|
1223
|
-
},
|
|
1224
|
-
204: {
|
|
1225
|
-
bodyMapper: Mappers.Application
|
|
1226
|
-
},
|
|
1227
|
-
default: {
|
|
1228
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1229
|
-
}
|
|
1230
|
-
},
|
|
1231
|
-
requestBody: Parameters.parameters,
|
|
1232
|
-
queryParameters: [Parameters.apiVersion],
|
|
1233
|
-
urlParameters: [Parameters.$host, Parameters.applicationId],
|
|
1234
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1235
|
-
mediaType: "json",
|
|
1236
|
-
serializer
|
|
1237
|
-
};
|
|
1238
|
-
const updateByIdOperationSpec: coreClient.OperationSpec = {
|
|
1239
|
-
path: "/{applicationId}",
|
|
1240
|
-
httpMethod: "PATCH",
|
|
1241
|
-
responses: {
|
|
1242
|
-
200: {
|
|
1243
|
-
bodyMapper: Mappers.ApplicationPatchable
|
|
1244
|
-
},
|
|
1245
|
-
201: {
|
|
1246
|
-
bodyMapper: Mappers.ApplicationPatchable
|
|
1247
|
-
},
|
|
1248
|
-
202: {
|
|
1249
|
-
bodyMapper: Mappers.ApplicationPatchable
|
|
1250
|
-
},
|
|
1251
|
-
204: {
|
|
1252
|
-
bodyMapper: Mappers.ApplicationPatchable
|
|
1253
|
-
},
|
|
1254
|
-
default: {
|
|
1255
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1256
|
-
}
|
|
1257
|
-
},
|
|
1258
|
-
requestBody: Parameters.parameters1,
|
|
1259
|
-
queryParameters: [Parameters.apiVersion],
|
|
1260
|
-
urlParameters: [Parameters.$host, Parameters.applicationId],
|
|
1261
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1262
|
-
mediaType: "json",
|
|
1263
|
-
serializer
|
|
1264
|
-
};
|
|
1265
|
-
const refreshPermissionsOperationSpec: coreClient.OperationSpec = {
|
|
1266
|
-
path:
|
|
1267
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications/{applicationName}/refreshPermissions",
|
|
1268
|
-
httpMethod: "POST",
|
|
1269
|
-
responses: {
|
|
1270
|
-
200: {},
|
|
1271
|
-
201: {},
|
|
1272
|
-
202: {},
|
|
1273
|
-
204: {},
|
|
1274
|
-
default: {
|
|
1275
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1276
|
-
}
|
|
1277
|
-
},
|
|
1278
|
-
queryParameters: [Parameters.apiVersion],
|
|
1279
|
-
urlParameters: [
|
|
1280
|
-
Parameters.$host,
|
|
1281
|
-
Parameters.subscriptionId,
|
|
1282
|
-
Parameters.resourceGroupName,
|
|
1283
|
-
Parameters.applicationName
|
|
1284
|
-
],
|
|
1285
|
-
headerParameters: [Parameters.accept],
|
|
1286
|
-
serializer
|
|
1287
|
-
};
|
|
1288
|
-
const listAllowedUpgradePlansOperationSpec: coreClient.OperationSpec = {
|
|
1289
|
-
path:
|
|
1290
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications/{applicationName}/listAllowedUpgradePlans",
|
|
1291
|
-
httpMethod: "POST",
|
|
1292
|
-
responses: {
|
|
1293
|
-
200: {
|
|
1294
|
-
bodyMapper: Mappers.AllowedUpgradePlansResult
|
|
1295
|
-
},
|
|
1296
|
-
default: {
|
|
1297
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1298
|
-
}
|
|
1299
|
-
},
|
|
1300
|
-
queryParameters: [Parameters.apiVersion],
|
|
1301
|
-
urlParameters: [
|
|
1302
|
-
Parameters.$host,
|
|
1303
|
-
Parameters.subscriptionId,
|
|
1304
|
-
Parameters.resourceGroupName,
|
|
1305
|
-
Parameters.applicationName
|
|
1306
|
-
],
|
|
1307
|
-
headerParameters: [Parameters.accept],
|
|
1308
|
-
serializer
|
|
1309
|
-
};
|
|
1310
|
-
const updateAccessOperationSpec: coreClient.OperationSpec = {
|
|
1311
|
-
path:
|
|
1312
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications/{applicationName}/updateAccess",
|
|
1313
|
-
httpMethod: "POST",
|
|
1314
|
-
responses: {
|
|
1315
|
-
200: {},
|
|
1316
|
-
201: {},
|
|
1317
|
-
202: {},
|
|
1318
|
-
204: {},
|
|
1319
|
-
default: {
|
|
1320
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1321
|
-
}
|
|
1322
|
-
},
|
|
1323
|
-
requestBody: Parameters.parameters2,
|
|
1324
|
-
queryParameters: [Parameters.apiVersion],
|
|
1325
|
-
urlParameters: [
|
|
1326
|
-
Parameters.$host,
|
|
1327
|
-
Parameters.subscriptionId,
|
|
1328
|
-
Parameters.resourceGroupName,
|
|
1329
|
-
Parameters.applicationName
|
|
1330
|
-
],
|
|
1331
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1332
|
-
mediaType: "json",
|
|
1333
|
-
serializer
|
|
1334
|
-
};
|
|
1335
|
-
const listTokensOperationSpec: coreClient.OperationSpec = {
|
|
1336
|
-
path:
|
|
1337
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications/{applicationName}/listTokens",
|
|
1338
|
-
httpMethod: "POST",
|
|
1339
|
-
responses: {
|
|
1340
|
-
200: {
|
|
1341
|
-
bodyMapper: Mappers.ManagedIdentityTokenResult
|
|
1342
|
-
},
|
|
1343
|
-
default: {
|
|
1344
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1345
|
-
}
|
|
1346
|
-
},
|
|
1347
|
-
requestBody: Parameters.parameters3,
|
|
1348
|
-
queryParameters: [Parameters.apiVersion],
|
|
1349
|
-
urlParameters: [
|
|
1350
|
-
Parameters.$host,
|
|
1351
|
-
Parameters.subscriptionId,
|
|
1352
|
-
Parameters.resourceGroupName,
|
|
1353
|
-
Parameters.applicationName
|
|
1354
|
-
],
|
|
1355
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1356
|
-
mediaType: "json",
|
|
1357
|
-
serializer
|
|
1358
|
-
};
|
|
1359
|
-
const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
|
|
1360
|
-
path: "{nextLink}",
|
|
1361
|
-
httpMethod: "GET",
|
|
1362
|
-
responses: {
|
|
1363
|
-
200: {
|
|
1364
|
-
bodyMapper: Mappers.ApplicationListResult
|
|
1365
|
-
},
|
|
1366
|
-
default: {
|
|
1367
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1368
|
-
}
|
|
1369
|
-
},
|
|
1370
|
-
urlParameters: [
|
|
1371
|
-
Parameters.$host,
|
|
1372
|
-
Parameters.nextLink,
|
|
1373
|
-
Parameters.subscriptionId,
|
|
1374
|
-
Parameters.resourceGroupName
|
|
1375
|
-
],
|
|
1376
|
-
headerParameters: [Parameters.accept],
|
|
1377
|
-
serializer
|
|
1378
|
-
};
|
|
1379
|
-
const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {
|
|
1380
|
-
path: "{nextLink}",
|
|
1381
|
-
httpMethod: "GET",
|
|
1382
|
-
responses: {
|
|
1383
|
-
200: {
|
|
1384
|
-
bodyMapper: Mappers.ApplicationListResult
|
|
1385
|
-
},
|
|
1386
|
-
default: {
|
|
1387
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1388
|
-
}
|
|
1389
|
-
},
|
|
1390
|
-
urlParameters: [
|
|
1391
|
-
Parameters.$host,
|
|
1392
|
-
Parameters.nextLink,
|
|
1393
|
-
Parameters.subscriptionId
|
|
1394
|
-
],
|
|
1395
|
-
headerParameters: [Parameters.accept],
|
|
1396
|
-
serializer
|
|
1397
|
-
};
|