@azure/arm-durabletask 1.0.0-beta.2 → 1.0.0
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 +1 -1
- package/dist/browser/api/durableTaskContext.d.ts +5 -2
- package/dist/browser/api/durableTaskContext.js +14 -10
- package/dist/browser/api/durableTaskContext.js.map +1 -1
- package/dist/browser/api/operations/operations.d.ts +5 -5
- package/dist/browser/api/operations/operations.js +10 -5
- package/dist/browser/api/operations/operations.js.map +1 -1
- package/dist/browser/api/operations/options.d.ts +1 -1
- package/dist/browser/api/operations/options.js.map +1 -1
- package/dist/browser/api/retentionPolicies/operations.d.ts +6 -6
- package/dist/browser/api/retentionPolicies/operations.js +48 -25
- package/dist/browser/api/retentionPolicies/operations.js.map +1 -1
- package/dist/browser/api/retentionPolicies/options.d.ts +1 -1
- package/dist/browser/api/retentionPolicies/options.js.map +1 -1
- package/dist/browser/api/schedulers/operations.d.ts +6 -6
- package/dist/browser/api/schedulers/operations.js +56 -28
- package/dist/browser/api/schedulers/operations.js.map +1 -1
- package/dist/browser/api/schedulers/options.d.ts +1 -1
- package/dist/browser/api/schedulers/options.js.map +1 -1
- package/dist/browser/api/taskHubs/operations.d.ts +6 -6
- package/dist/browser/api/taskHubs/operations.js +36 -20
- package/dist/browser/api/taskHubs/operations.js.map +1 -1
- package/dist/browser/api/taskHubs/options.d.ts +1 -1
- package/dist/browser/api/taskHubs/options.js.map +1 -1
- package/dist/browser/classic/operations/index.d.ts +4 -4
- package/dist/browser/classic/operations/index.js +3 -1
- package/dist/browser/classic/operations/index.js.map +1 -1
- package/dist/browser/classic/retentionPolicies/index.d.ts +5 -5
- package/dist/browser/classic/retentionPolicies/index.js +3 -1
- package/dist/browser/classic/retentionPolicies/index.js.map +1 -1
- package/dist/browser/classic/schedulers/index.d.ts +5 -5
- package/dist/browser/classic/schedulers/index.js +3 -1
- package/dist/browser/classic/schedulers/index.js.map +1 -1
- package/dist/browser/classic/taskHubs/index.d.ts +5 -5
- package/dist/browser/classic/taskHubs/index.js +3 -1
- package/dist/browser/classic/taskHubs/index.js.map +1 -1
- package/dist/browser/durableTaskClient.d.ts +7 -7
- package/dist/browser/durableTaskClient.js +20 -7
- package/dist/browser/durableTaskClient.js.map +1 -1
- package/dist/browser/index.d.ts +3 -1
- package/dist/browser/index.js +3 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/index.d.ts +1 -1
- package/dist/browser/models/index.js +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +22 -12
- package/dist/browser/models/models.js +11 -8
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/restorePollerHelpers.d.ts +4 -4
- package/dist/browser/restorePollerHelpers.js +15 -17
- package/dist/browser/restorePollerHelpers.js.map +1 -1
- package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts +1 -1
- package/dist/browser/static-helpers/pagingHelpers.js +31 -50
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/pollingHelpers.d.ts +3 -3
- package/dist/browser/static-helpers/pollingHelpers.js +15 -12
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/urlTemplate.js +24 -8
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -1
- package/dist/commonjs/api/durableTaskContext.d.ts +5 -2
- package/dist/commonjs/api/durableTaskContext.js +14 -10
- package/dist/commonjs/api/durableTaskContext.js.map +1 -1
- package/dist/commonjs/api/operations/operations.d.ts +5 -5
- package/dist/commonjs/api/operations/operations.js +8 -3
- package/dist/commonjs/api/operations/operations.js.map +1 -1
- package/dist/commonjs/api/operations/options.d.ts +1 -1
- package/dist/commonjs/api/operations/options.js.map +1 -1
- package/dist/commonjs/api/retentionPolicies/operations.d.ts +6 -6
- package/dist/commonjs/api/retentionPolicies/operations.js +46 -23
- package/dist/commonjs/api/retentionPolicies/operations.js.map +1 -1
- package/dist/commonjs/api/retentionPolicies/options.d.ts +1 -1
- package/dist/commonjs/api/retentionPolicies/options.js.map +1 -1
- package/dist/commonjs/api/schedulers/operations.d.ts +6 -6
- package/dist/commonjs/api/schedulers/operations.js +54 -26
- package/dist/commonjs/api/schedulers/operations.js.map +1 -1
- package/dist/commonjs/api/schedulers/options.d.ts +1 -1
- package/dist/commonjs/api/schedulers/options.js.map +1 -1
- package/dist/commonjs/api/taskHubs/operations.d.ts +6 -6
- package/dist/commonjs/api/taskHubs/operations.js +34 -18
- package/dist/commonjs/api/taskHubs/operations.js.map +1 -1
- package/dist/commonjs/api/taskHubs/options.d.ts +1 -1
- package/dist/commonjs/api/taskHubs/options.js.map +1 -1
- package/dist/commonjs/classic/operations/index.d.ts +4 -4
- package/dist/commonjs/classic/operations/index.js +3 -1
- package/dist/commonjs/classic/operations/index.js.map +1 -1
- package/dist/commonjs/classic/retentionPolicies/index.d.ts +5 -5
- package/dist/commonjs/classic/retentionPolicies/index.js +3 -1
- package/dist/commonjs/classic/retentionPolicies/index.js.map +1 -1
- package/dist/commonjs/classic/schedulers/index.d.ts +5 -5
- package/dist/commonjs/classic/schedulers/index.js +3 -1
- package/dist/commonjs/classic/schedulers/index.js.map +1 -1
- package/dist/commonjs/classic/taskHubs/index.d.ts +5 -5
- package/dist/commonjs/classic/taskHubs/index.js +3 -1
- package/dist/commonjs/classic/taskHubs/index.js.map +1 -1
- package/dist/commonjs/durableTaskClient.d.ts +7 -7
- package/dist/commonjs/durableTaskClient.js +22 -9
- package/dist/commonjs/durableTaskClient.js.map +1 -1
- package/dist/commonjs/index.d.ts +3 -1
- package/dist/commonjs/index.js +4 -1
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +1 -1
- package/dist/commonjs/models/index.js +2 -1
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/models.d.ts +22 -12
- package/dist/commonjs/models/models.js +12 -10
- package/dist/commonjs/models/models.js.map +1 -1
- package/dist/commonjs/restorePollerHelpers.d.ts +4 -4
- package/dist/commonjs/restorePollerHelpers.js +14 -16
- package/dist/commonjs/restorePollerHelpers.js.map +1 -1
- package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js +42 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +1 -1
- package/dist/commonjs/static-helpers/pagingHelpers.js +31 -50
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +3 -3
- package/dist/commonjs/static-helpers/pollingHelpers.js +14 -11
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/commonjs/static-helpers/urlTemplate.js +24 -8
- package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/api/durableTaskContext.d.ts +5 -2
- package/dist/esm/api/durableTaskContext.js +14 -10
- package/dist/esm/api/durableTaskContext.js.map +1 -1
- package/dist/esm/api/operations/operations.d.ts +5 -5
- package/dist/esm/api/operations/operations.js +10 -5
- package/dist/esm/api/operations/operations.js.map +1 -1
- package/dist/esm/api/operations/options.d.ts +1 -1
- package/dist/esm/api/operations/options.js.map +1 -1
- package/dist/esm/api/retentionPolicies/operations.d.ts +6 -6
- package/dist/esm/api/retentionPolicies/operations.js +48 -25
- package/dist/esm/api/retentionPolicies/operations.js.map +1 -1
- package/dist/esm/api/retentionPolicies/options.d.ts +1 -1
- package/dist/esm/api/retentionPolicies/options.js.map +1 -1
- package/dist/esm/api/schedulers/operations.d.ts +6 -6
- package/dist/esm/api/schedulers/operations.js +56 -28
- package/dist/esm/api/schedulers/operations.js.map +1 -1
- package/dist/esm/api/schedulers/options.d.ts +1 -1
- package/dist/esm/api/schedulers/options.js.map +1 -1
- package/dist/esm/api/taskHubs/operations.d.ts +6 -6
- package/dist/esm/api/taskHubs/operations.js +36 -20
- package/dist/esm/api/taskHubs/operations.js.map +1 -1
- package/dist/esm/api/taskHubs/options.d.ts +1 -1
- package/dist/esm/api/taskHubs/options.js.map +1 -1
- package/dist/esm/classic/operations/index.d.ts +4 -4
- package/dist/esm/classic/operations/index.js +3 -1
- package/dist/esm/classic/operations/index.js.map +1 -1
- package/dist/esm/classic/retentionPolicies/index.d.ts +5 -5
- package/dist/esm/classic/retentionPolicies/index.js +3 -1
- package/dist/esm/classic/retentionPolicies/index.js.map +1 -1
- package/dist/esm/classic/schedulers/index.d.ts +5 -5
- package/dist/esm/classic/schedulers/index.js +3 -1
- package/dist/esm/classic/schedulers/index.js.map +1 -1
- package/dist/esm/classic/taskHubs/index.d.ts +5 -5
- package/dist/esm/classic/taskHubs/index.js +3 -1
- package/dist/esm/classic/taskHubs/index.js.map +1 -1
- package/dist/esm/durableTaskClient.d.ts +7 -7
- package/dist/esm/durableTaskClient.js +20 -7
- package/dist/esm/durableTaskClient.js.map +1 -1
- package/dist/esm/index.d.ts +3 -1
- package/dist/esm/index.js +3 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/index.d.ts +1 -1
- package/dist/esm/models/index.js +1 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +22 -12
- package/dist/esm/models/models.js +11 -8
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/restorePollerHelpers.d.ts +4 -4
- package/dist/esm/restorePollerHelpers.js +15 -17
- package/dist/esm/restorePollerHelpers.js.map +1 -1
- package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts +1 -1
- package/dist/esm/static-helpers/pagingHelpers.js +31 -50
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/esm/static-helpers/pollingHelpers.d.ts +3 -3
- package/dist/esm/static-helpers/pollingHelpers.js +15 -12
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/esm/static-helpers/urlTemplate.js +24 -8
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -1
- package/dist/react-native/api/durableTaskContext.d.ts +5 -2
- package/dist/react-native/api/durableTaskContext.js +14 -10
- package/dist/react-native/api/durableTaskContext.js.map +1 -1
- package/dist/react-native/api/operations/operations.d.ts +5 -5
- package/dist/react-native/api/operations/operations.js +10 -5
- package/dist/react-native/api/operations/operations.js.map +1 -1
- package/dist/react-native/api/operations/options.d.ts +1 -1
- package/dist/react-native/api/operations/options.js.map +1 -1
- package/dist/react-native/api/retentionPolicies/operations.d.ts +6 -6
- package/dist/react-native/api/retentionPolicies/operations.js +48 -25
- package/dist/react-native/api/retentionPolicies/operations.js.map +1 -1
- package/dist/react-native/api/retentionPolicies/options.d.ts +1 -1
- package/dist/react-native/api/retentionPolicies/options.js.map +1 -1
- package/dist/react-native/api/schedulers/operations.d.ts +6 -6
- package/dist/react-native/api/schedulers/operations.js +56 -28
- package/dist/react-native/api/schedulers/operations.js.map +1 -1
- package/dist/react-native/api/schedulers/options.d.ts +1 -1
- package/dist/react-native/api/schedulers/options.js.map +1 -1
- package/dist/react-native/api/taskHubs/operations.d.ts +6 -6
- package/dist/react-native/api/taskHubs/operations.js +36 -20
- package/dist/react-native/api/taskHubs/operations.js.map +1 -1
- package/dist/react-native/api/taskHubs/options.d.ts +1 -1
- package/dist/react-native/api/taskHubs/options.js.map +1 -1
- package/dist/react-native/classic/operations/index.d.ts +4 -4
- package/dist/react-native/classic/operations/index.js +3 -1
- package/dist/react-native/classic/operations/index.js.map +1 -1
- package/dist/react-native/classic/retentionPolicies/index.d.ts +5 -5
- package/dist/react-native/classic/retentionPolicies/index.js +3 -1
- package/dist/react-native/classic/retentionPolicies/index.js.map +1 -1
- package/dist/react-native/classic/schedulers/index.d.ts +5 -5
- package/dist/react-native/classic/schedulers/index.js +3 -1
- package/dist/react-native/classic/schedulers/index.js.map +1 -1
- package/dist/react-native/classic/taskHubs/index.d.ts +5 -5
- package/dist/react-native/classic/taskHubs/index.js +3 -1
- package/dist/react-native/classic/taskHubs/index.js.map +1 -1
- package/dist/react-native/durableTaskClient.d.ts +7 -7
- package/dist/react-native/durableTaskClient.js +20 -7
- package/dist/react-native/durableTaskClient.js.map +1 -1
- package/dist/react-native/index.d.ts +3 -1
- package/dist/react-native/index.js +3 -1
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/models/index.d.ts +1 -1
- package/dist/react-native/models/index.js +1 -1
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/models.d.ts +22 -12
- package/dist/react-native/models/models.js +11 -8
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/restorePollerHelpers.d.ts +4 -4
- package/dist/react-native/restorePollerHelpers.js +15 -17
- package/dist/react-native/restorePollerHelpers.js.map +1 -1
- package/dist/react-native/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/react-native/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/react-native/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/pagingHelpers.d.ts +1 -1
- package/dist/react-native/static-helpers/pagingHelpers.js +31 -50
- package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/react-native/static-helpers/pollingHelpers.d.ts +3 -3
- package/dist/react-native/static-helpers/pollingHelpers.js +15 -12
- package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/react-native/static-helpers/urlTemplate.js +24 -8
- package/dist/react-native/static-helpers/urlTemplate.js.map +1 -1
- package/package.json +36 -44
- package/CHANGELOG.md +0 -26
- package/dist/browser/api/durableTaskContext.d.ts.map +0 -1
- package/dist/browser/api/index.d.ts.map +0 -1
- package/dist/browser/api/operations/index.d.ts.map +0 -1
- package/dist/browser/api/operations/operations.d.ts.map +0 -1
- package/dist/browser/api/operations/options.d.ts.map +0 -1
- package/dist/browser/api/retentionPolicies/index.d.ts.map +0 -1
- package/dist/browser/api/retentionPolicies/operations.d.ts.map +0 -1
- package/dist/browser/api/retentionPolicies/options.d.ts.map +0 -1
- package/dist/browser/api/schedulers/index.d.ts.map +0 -1
- package/dist/browser/api/schedulers/operations.d.ts.map +0 -1
- package/dist/browser/api/schedulers/options.d.ts.map +0 -1
- package/dist/browser/api/taskHubs/index.d.ts.map +0 -1
- package/dist/browser/api/taskHubs/operations.d.ts.map +0 -1
- package/dist/browser/api/taskHubs/options.d.ts.map +0 -1
- package/dist/browser/classic/index.d.ts.map +0 -1
- package/dist/browser/classic/operations/index.d.ts.map +0 -1
- package/dist/browser/classic/retentionPolicies/index.d.ts.map +0 -1
- package/dist/browser/classic/schedulers/index.d.ts.map +0 -1
- package/dist/browser/classic/taskHubs/index.d.ts.map +0 -1
- package/dist/browser/durableTaskClient.d.ts.map +0 -1
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/browser/logger.d.ts.map +0 -1
- package/dist/browser/models/index.d.ts.map +0 -1
- package/dist/browser/models/models.d.ts.map +0 -1
- package/dist/browser/restorePollerHelpers.d.ts.map +0 -1
- package/dist/browser/static-helpers/pagingHelpers.d.ts.map +0 -1
- package/dist/browser/static-helpers/pollingHelpers.d.ts.map +0 -1
- package/dist/browser/static-helpers/urlTemplate.d.ts.map +0 -1
- package/dist/commonjs/api/durableTaskContext.d.ts.map +0 -1
- package/dist/commonjs/api/index.d.ts.map +0 -1
- package/dist/commonjs/api/operations/index.d.ts.map +0 -1
- package/dist/commonjs/api/operations/operations.d.ts.map +0 -1
- package/dist/commonjs/api/operations/options.d.ts.map +0 -1
- package/dist/commonjs/api/retentionPolicies/index.d.ts.map +0 -1
- package/dist/commonjs/api/retentionPolicies/operations.d.ts.map +0 -1
- package/dist/commonjs/api/retentionPolicies/options.d.ts.map +0 -1
- package/dist/commonjs/api/schedulers/index.d.ts.map +0 -1
- package/dist/commonjs/api/schedulers/operations.d.ts.map +0 -1
- package/dist/commonjs/api/schedulers/options.d.ts.map +0 -1
- package/dist/commonjs/api/taskHubs/index.d.ts.map +0 -1
- package/dist/commonjs/api/taskHubs/operations.d.ts.map +0 -1
- package/dist/commonjs/api/taskHubs/options.d.ts.map +0 -1
- package/dist/commonjs/classic/index.d.ts.map +0 -1
- package/dist/commonjs/classic/operations/index.d.ts.map +0 -1
- package/dist/commonjs/classic/retentionPolicies/index.d.ts.map +0 -1
- package/dist/commonjs/classic/schedulers/index.d.ts.map +0 -1
- package/dist/commonjs/classic/taskHubs/index.d.ts.map +0 -1
- package/dist/commonjs/durableTaskClient.d.ts.map +0 -1
- package/dist/commonjs/index.d.ts.map +0 -1
- package/dist/commonjs/logger.d.ts.map +0 -1
- package/dist/commonjs/models/index.d.ts.map +0 -1
- package/dist/commonjs/models/models.d.ts.map +0 -1
- package/dist/commonjs/restorePollerHelpers.d.ts.map +0 -1
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts.map +0 -1
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts.map +0 -1
- package/dist/commonjs/static-helpers/urlTemplate.d.ts.map +0 -1
- package/dist/esm/api/durableTaskContext.d.ts.map +0 -1
- package/dist/esm/api/index.d.ts.map +0 -1
- package/dist/esm/api/operations/index.d.ts.map +0 -1
- package/dist/esm/api/operations/operations.d.ts.map +0 -1
- package/dist/esm/api/operations/options.d.ts.map +0 -1
- package/dist/esm/api/retentionPolicies/index.d.ts.map +0 -1
- package/dist/esm/api/retentionPolicies/operations.d.ts.map +0 -1
- package/dist/esm/api/retentionPolicies/options.d.ts.map +0 -1
- package/dist/esm/api/schedulers/index.d.ts.map +0 -1
- package/dist/esm/api/schedulers/operations.d.ts.map +0 -1
- package/dist/esm/api/schedulers/options.d.ts.map +0 -1
- package/dist/esm/api/taskHubs/index.d.ts.map +0 -1
- package/dist/esm/api/taskHubs/operations.d.ts.map +0 -1
- package/dist/esm/api/taskHubs/options.d.ts.map +0 -1
- package/dist/esm/classic/index.d.ts.map +0 -1
- package/dist/esm/classic/operations/index.d.ts.map +0 -1
- package/dist/esm/classic/retentionPolicies/index.d.ts.map +0 -1
- package/dist/esm/classic/schedulers/index.d.ts.map +0 -1
- package/dist/esm/classic/taskHubs/index.d.ts.map +0 -1
- package/dist/esm/durableTaskClient.d.ts.map +0 -1
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/logger.d.ts.map +0 -1
- package/dist/esm/models/index.d.ts.map +0 -1
- package/dist/esm/models/models.d.ts.map +0 -1
- package/dist/esm/restorePollerHelpers.d.ts.map +0 -1
- package/dist/esm/static-helpers/pagingHelpers.d.ts.map +0 -1
- package/dist/esm/static-helpers/pollingHelpers.d.ts.map +0 -1
- package/dist/esm/static-helpers/urlTemplate.d.ts.map +0 -1
- package/dist/react-native/api/durableTaskContext.d.ts.map +0 -1
- package/dist/react-native/api/index.d.ts.map +0 -1
- package/dist/react-native/api/operations/index.d.ts.map +0 -1
- package/dist/react-native/api/operations/operations.d.ts.map +0 -1
- package/dist/react-native/api/operations/options.d.ts.map +0 -1
- package/dist/react-native/api/retentionPolicies/index.d.ts.map +0 -1
- package/dist/react-native/api/retentionPolicies/operations.d.ts.map +0 -1
- package/dist/react-native/api/retentionPolicies/options.d.ts.map +0 -1
- package/dist/react-native/api/schedulers/index.d.ts.map +0 -1
- package/dist/react-native/api/schedulers/operations.d.ts.map +0 -1
- package/dist/react-native/api/schedulers/options.d.ts.map +0 -1
- package/dist/react-native/api/taskHubs/index.d.ts.map +0 -1
- package/dist/react-native/api/taskHubs/operations.d.ts.map +0 -1
- package/dist/react-native/api/taskHubs/options.d.ts.map +0 -1
- package/dist/react-native/classic/index.d.ts.map +0 -1
- package/dist/react-native/classic/operations/index.d.ts.map +0 -1
- package/dist/react-native/classic/retentionPolicies/index.d.ts.map +0 -1
- package/dist/react-native/classic/schedulers/index.d.ts.map +0 -1
- package/dist/react-native/classic/taskHubs/index.d.ts.map +0 -1
- package/dist/react-native/durableTaskClient.d.ts.map +0 -1
- package/dist/react-native/index.d.ts.map +0 -1
- package/dist/react-native/logger.d.ts.map +0 -1
- package/dist/react-native/models/index.d.ts.map +0 -1
- package/dist/react-native/models/models.d.ts.map +0 -1
- package/dist/react-native/restorePollerHelpers.d.ts.map +0 -1
- package/dist/react-native/static-helpers/pagingHelpers.d.ts.map +0 -1
- package/dist/react-native/static-helpers/pollingHelpers.d.ts.map +0 -1
- package/dist/react-native/static-helpers/urlTemplate.d.ts.map +0 -1
- package/review/arm-durabletask-api-operations.api.md +0 -19
- package/review/arm-durabletask-api-retentionPolicies.api.md +0 -52
- package/review/arm-durabletask-api-schedulers.api.md +0 -59
- package/review/arm-durabletask-api-taskHubs.api.md +0 -44
- package/review/arm-durabletask-api.api.md +0 -27
- package/review/arm-durabletask-models.api.md +0 -212
- package/review/arm-durabletask.api.md +0 -367
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/retentionPolicies/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/retentionPolicies/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,eAAe,EACf,OAAO,EACP,MAAM,EACN,eAAe,EACf,GAAG,GACJ,MAAM,2CAA2C,CAAC;AAqDnD,SAAS,qBAAqB,CAAC,OAA2B;IACxD,OAAO;QACL,eAAe,EAAE,CACf,iBAAyB,EACzB,aAAqB,EACrB,OAAwD,EACxD,EAAE,CAAC,eAAe,CAAC,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,OAAO,CAAC;QACxE,MAAM,EAAE,CACN,iBAAyB,EACzB,aAAqB,EACrB,OAA+C,EAC/C,EAAE,CAAC,OAAO,CAAC,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,OAAO,CAAC;QAChE,MAAM,EAAE,CACN,iBAAyB,EACzB,aAAqB,EACrB,UAA2B,EAC3B,OAA+C,EAC/C,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,UAAU,EAAE,OAAO,CAAC;QAC3E,eAAe,EAAE,CACf,iBAAyB,EACzB,aAAqB,EACrB,QAAyB,EACzB,OAAwD,EACxD,EAAE,CAAC,eAAe,CAAC,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,QAAQ,EAAE,OAAO,CAAC;QAClF,GAAG,EAAE,CACH,iBAAyB,EACzB,aAAqB,EACrB,OAA4C,EAC5C,EAAE,CAAC,GAAG,CAAC,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,OAAO,CAAC;KAC7D,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,+BAA+B,CAC7C,OAA2B;IAE3B,OAAO;QACL,GAAG,qBAAqB,CAAC,OAAO,CAAC;KAClC,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { DurableTaskContext } from \"../../api/durableTaskContext.js\";\nimport {\n listByScheduler,\n $delete,\n update,\n createOrReplace,\n get,\n} from \"../../api/retentionPolicies/operations.js\";\nimport type {\n RetentionPoliciesListBySchedulerOptionalParams,\n RetentionPoliciesDeleteOptionalParams,\n RetentionPoliciesUpdateOptionalParams,\n RetentionPoliciesCreateOrReplaceOptionalParams,\n RetentionPoliciesGetOptionalParams,\n} from \"../../api/retentionPolicies/options.js\";\nimport type { RetentionPolicy } from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport type { PollerLike, OperationState } from \"@azure/core-lro\";\n\n/** Interface representing a RetentionPolicies operations. */\nexport interface RetentionPoliciesOperations {\n /** List Retention Policies */\n listByScheduler: (\n resourceGroupName: string,\n schedulerName: string,\n options?: RetentionPoliciesListBySchedulerOptionalParams,\n ) => PagedAsyncIterableIterator<RetentionPolicy>;\n /** Delete a Retention Policy */\n /**\n * @fixme delete is a reserved word that cannot be used as an operation name.\n * Please add @clientName(\"clientName\") or @clientName(\"<JS-Specific-Name>\", \"javascript\")\n * to the operation to override the generated name.\n */\n delete: (\n resourceGroupName: string,\n schedulerName: string,\n options?: RetentionPoliciesDeleteOptionalParams,\n ) => PollerLike<OperationState<void>, void>;\n /** Update a Retention Policy */\n update: (\n resourceGroupName: string,\n schedulerName: string,\n properties: RetentionPolicy,\n options?: RetentionPoliciesUpdateOptionalParams,\n ) => PollerLike<OperationState<RetentionPolicy>, RetentionPolicy>;\n /** Create or Update a Retention Policy */\n createOrReplace: (\n resourceGroupName: string,\n schedulerName: string,\n resource: RetentionPolicy,\n options?: RetentionPoliciesCreateOrReplaceOptionalParams,\n ) => PollerLike<OperationState<RetentionPolicy>, RetentionPolicy>;\n /** Get a Retention Policy */\n get: (\n resourceGroupName: string,\n schedulerName: string,\n options?: RetentionPoliciesGetOptionalParams,\n ) => Promise<RetentionPolicy>;\n}\n\nfunction _getRetentionPolicies(context: DurableTaskContext) {\n return {\n listByScheduler: (\n resourceGroupName: string,\n schedulerName: string,\n options?: RetentionPoliciesListBySchedulerOptionalParams,\n ) => listByScheduler(context, resourceGroupName, schedulerName, options),\n delete: (\n resourceGroupName: string,\n schedulerName: string,\n options?: RetentionPoliciesDeleteOptionalParams,\n ) => $delete(context, resourceGroupName, schedulerName, options),\n update: (\n resourceGroupName: string,\n schedulerName: string,\n properties: RetentionPolicy,\n options?: RetentionPoliciesUpdateOptionalParams,\n ) => update(context, resourceGroupName, schedulerName, properties, options),\n createOrReplace: (\n resourceGroupName: string,\n schedulerName: string,\n resource: RetentionPolicy,\n options?: RetentionPoliciesCreateOrReplaceOptionalParams,\n ) => createOrReplace(context, resourceGroupName, schedulerName, resource, options),\n get: (\n resourceGroupName: string,\n schedulerName: string,\n options?: RetentionPoliciesGetOptionalParams,\n ) => get(context, resourceGroupName, schedulerName, options),\n };\n}\n\nexport function _getRetentionPoliciesOperations(\n context: DurableTaskContext,\n): RetentionPoliciesOperations {\n return {\n ..._getRetentionPolicies(context),\n };\n}\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { DurableTaskContext } from "../../api/durableTaskContext.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
-
import { PollerLike, OperationState } from "@azure/core-lro";
|
|
1
|
+
import type { DurableTaskContext } from "../../api/durableTaskContext.js";
|
|
2
|
+
import type { SchedulersListBySubscriptionOptionalParams, SchedulersListByResourceGroupOptionalParams, SchedulersDeleteOptionalParams, SchedulersUpdateOptionalParams, SchedulersCreateOrUpdateOptionalParams, SchedulersGetOptionalParams } from "../../api/schedulers/options.js";
|
|
3
|
+
import type { Scheduler, SchedulerUpdate } from "../../models/models.js";
|
|
4
|
+
import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
import type { PollerLike, OperationState } from "@azure/core-lro";
|
|
6
6
|
/** Interface representing a Schedulers operations. */
|
|
7
7
|
export interface SchedulersOperations {
|
|
8
8
|
/** List Schedulers by subscription */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/schedulers/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/schedulers/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,OAAO,EACP,MAAM,EACN,cAAc,EACd,GAAG,GACJ,MAAM,oCAAoC,CAAC;AAyD5C,SAAS,cAAc,CAAC,OAA2B;IACjD,OAAO;QACL,kBAAkB,EAAE,CAAC,OAAoD,EAAE,EAAE,CAC3E,kBAAkB,CAAC,OAAO,EAAE,OAAO,CAAC;QACtC,mBAAmB,EAAE,CACnB,iBAAyB,EACzB,OAAqD,EACrD,EAAE,CAAC,mBAAmB,CAAC,OAAO,EAAE,iBAAiB,EAAE,OAAO,CAAC;QAC7D,MAAM,EAAE,CACN,iBAAyB,EACzB,aAAqB,EACrB,OAAwC,EACxC,EAAE,CAAC,OAAO,CAAC,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,OAAO,CAAC;QAChE,MAAM,EAAE,CACN,iBAAyB,EACzB,aAAqB,EACrB,UAA2B,EAC3B,OAAwC,EACxC,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,UAAU,EAAE,OAAO,CAAC;QAC3E,cAAc,EAAE,CACd,iBAAyB,EACzB,aAAqB,EACrB,QAAmB,EACnB,OAAgD,EAChD,EAAE,CAAC,cAAc,CAAC,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,QAAQ,EAAE,OAAO,CAAC;QACjF,GAAG,EAAE,CACH,iBAAyB,EACzB,aAAqB,EACrB,OAAqC,EACrC,EAAE,CAAC,GAAG,CAAC,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,OAAO,CAAC;KAC7D,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,wBAAwB,CAAC,OAA2B;IAClE,OAAO;QACL,GAAG,cAAc,CAAC,OAAO,CAAC;KAC3B,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { DurableTaskContext } from \"../../api/durableTaskContext.js\";\nimport {\n listBySubscription,\n listByResourceGroup,\n $delete,\n update,\n createOrUpdate,\n get,\n} from \"../../api/schedulers/operations.js\";\nimport type {\n SchedulersListBySubscriptionOptionalParams,\n SchedulersListByResourceGroupOptionalParams,\n SchedulersDeleteOptionalParams,\n SchedulersUpdateOptionalParams,\n SchedulersCreateOrUpdateOptionalParams,\n SchedulersGetOptionalParams,\n} from \"../../api/schedulers/options.js\";\nimport type { Scheduler, SchedulerUpdate } from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport type { PollerLike, OperationState } from \"@azure/core-lro\";\n\n/** Interface representing a Schedulers operations. */\nexport interface SchedulersOperations {\n /** List Schedulers by subscription */\n listBySubscription: (\n options?: SchedulersListBySubscriptionOptionalParams,\n ) => PagedAsyncIterableIterator<Scheduler>;\n /** List Schedulers by resource group */\n listByResourceGroup: (\n resourceGroupName: string,\n options?: SchedulersListByResourceGroupOptionalParams,\n ) => PagedAsyncIterableIterator<Scheduler>;\n /** Delete a Scheduler */\n /**\n * @fixme delete is a reserved word that cannot be used as an operation name.\n * Please add @clientName(\"clientName\") or @clientName(\"<JS-Specific-Name>\", \"javascript\")\n * to the operation to override the generated name.\n */\n delete: (\n resourceGroupName: string,\n schedulerName: string,\n options?: SchedulersDeleteOptionalParams,\n ) => PollerLike<OperationState<void>, void>;\n /** Update a Scheduler */\n update: (\n resourceGroupName: string,\n schedulerName: string,\n properties: SchedulerUpdate,\n options?: SchedulersUpdateOptionalParams,\n ) => PollerLike<OperationState<Scheduler>, Scheduler>;\n /** Create or update a Scheduler */\n createOrUpdate: (\n resourceGroupName: string,\n schedulerName: string,\n resource: Scheduler,\n options?: SchedulersCreateOrUpdateOptionalParams,\n ) => PollerLike<OperationState<Scheduler>, Scheduler>;\n /** Get a Scheduler */\n get: (\n resourceGroupName: string,\n schedulerName: string,\n options?: SchedulersGetOptionalParams,\n ) => Promise<Scheduler>;\n}\n\nfunction _getSchedulers(context: DurableTaskContext) {\n return {\n listBySubscription: (options?: SchedulersListBySubscriptionOptionalParams) =>\n listBySubscription(context, options),\n listByResourceGroup: (\n resourceGroupName: string,\n options?: SchedulersListByResourceGroupOptionalParams,\n ) => listByResourceGroup(context, resourceGroupName, options),\n delete: (\n resourceGroupName: string,\n schedulerName: string,\n options?: SchedulersDeleteOptionalParams,\n ) => $delete(context, resourceGroupName, schedulerName, options),\n update: (\n resourceGroupName: string,\n schedulerName: string,\n properties: SchedulerUpdate,\n options?: SchedulersUpdateOptionalParams,\n ) => update(context, resourceGroupName, schedulerName, properties, options),\n createOrUpdate: (\n resourceGroupName: string,\n schedulerName: string,\n resource: Scheduler,\n options?: SchedulersCreateOrUpdateOptionalParams,\n ) => createOrUpdate(context, resourceGroupName, schedulerName, resource, options),\n get: (\n resourceGroupName: string,\n schedulerName: string,\n options?: SchedulersGetOptionalParams,\n ) => get(context, resourceGroupName, schedulerName, options),\n };\n}\n\nexport function _getSchedulersOperations(context: DurableTaskContext): SchedulersOperations {\n return {\n ..._getSchedulers(context),\n };\n}\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { DurableTaskContext } from "../../api/durableTaskContext.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
-
import { PollerLike, OperationState } from "@azure/core-lro";
|
|
1
|
+
import type { DurableTaskContext } from "../../api/durableTaskContext.js";
|
|
2
|
+
import type { TaskHubsListBySchedulerOptionalParams, TaskHubsDeleteOptionalParams, TaskHubsCreateOrUpdateOptionalParams, TaskHubsGetOptionalParams } from "../../api/taskHubs/options.js";
|
|
3
|
+
import type { TaskHub } from "../../models/models.js";
|
|
4
|
+
import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
import type { PollerLike, OperationState } from "@azure/core-lro";
|
|
6
6
|
/** Interface representing a TaskHubs operations. */
|
|
7
7
|
export interface TaskHubsOperations {
|
|
8
8
|
/** List Task Hubs */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/taskHubs/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/taskHubs/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,eAAe,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,kCAAkC,CAAC;AAgDjG,SAAS,YAAY,CAAC,OAA2B;IAC/C,OAAO;QACL,eAAe,EAAE,CACf,iBAAyB,EACzB,aAAqB,EACrB,OAA+C,EAC/C,EAAE,CAAC,eAAe,CAAC,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,OAAO,CAAC;QACxE,MAAM,EAAE,CACN,iBAAyB,EACzB,aAAqB,EACrB,WAAmB,EACnB,OAAsC,EACtC,EAAE,CAAC,OAAO,CAAC,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,WAAW,EAAE,OAAO,CAAC;QAC7E,cAAc,EAAE,CACd,iBAAyB,EACzB,aAAqB,EACrB,WAAmB,EACnB,QAAiB,EACjB,OAA8C,EAC9C,EAAE,CAAC,cAAc,CAAC,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,CAAC;QAC9F,GAAG,EAAE,CACH,iBAAyB,EACzB,aAAqB,EACrB,WAAmB,EACnB,OAAmC,EACnC,EAAE,CAAC,GAAG,CAAC,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,WAAW,EAAE,OAAO,CAAC;KAC1E,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,OAA2B;IAChE,OAAO;QACL,GAAG,YAAY,CAAC,OAAO,CAAC;KACzB,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { DurableTaskContext } from \"../../api/durableTaskContext.js\";\nimport { listByScheduler, $delete, createOrUpdate, get } from \"../../api/taskHubs/operations.js\";\nimport type {\n TaskHubsListBySchedulerOptionalParams,\n TaskHubsDeleteOptionalParams,\n TaskHubsCreateOrUpdateOptionalParams,\n TaskHubsGetOptionalParams,\n} from \"../../api/taskHubs/options.js\";\nimport type { TaskHub } from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport type { PollerLike, OperationState } from \"@azure/core-lro\";\n\n/** Interface representing a TaskHubs operations. */\nexport interface TaskHubsOperations {\n /** List Task Hubs */\n listByScheduler: (\n resourceGroupName: string,\n schedulerName: string,\n options?: TaskHubsListBySchedulerOptionalParams,\n ) => PagedAsyncIterableIterator<TaskHub>;\n /** Delete a Task Hub */\n /**\n * @fixme delete is a reserved word that cannot be used as an operation name.\n * Please add @clientName(\"clientName\") or @clientName(\"<JS-Specific-Name>\", \"javascript\")\n * to the operation to override the generated name.\n */\n delete: (\n resourceGroupName: string,\n schedulerName: string,\n taskHubName: string,\n options?: TaskHubsDeleteOptionalParams,\n ) => PollerLike<OperationState<void>, void>;\n /** Create or Update a Task Hub */\n createOrUpdate: (\n resourceGroupName: string,\n schedulerName: string,\n taskHubName: string,\n resource: TaskHub,\n options?: TaskHubsCreateOrUpdateOptionalParams,\n ) => PollerLike<OperationState<TaskHub>, TaskHub>;\n /** Get a Task Hub */\n get: (\n resourceGroupName: string,\n schedulerName: string,\n taskHubName: string,\n options?: TaskHubsGetOptionalParams,\n ) => Promise<TaskHub>;\n}\n\nfunction _getTaskHubs(context: DurableTaskContext) {\n return {\n listByScheduler: (\n resourceGroupName: string,\n schedulerName: string,\n options?: TaskHubsListBySchedulerOptionalParams,\n ) => listByScheduler(context, resourceGroupName, schedulerName, options),\n delete: (\n resourceGroupName: string,\n schedulerName: string,\n taskHubName: string,\n options?: TaskHubsDeleteOptionalParams,\n ) => $delete(context, resourceGroupName, schedulerName, taskHubName, options),\n createOrUpdate: (\n resourceGroupName: string,\n schedulerName: string,\n taskHubName: string,\n resource: TaskHub,\n options?: TaskHubsCreateOrUpdateOptionalParams,\n ) => createOrUpdate(context, resourceGroupName, schedulerName, taskHubName, resource, options),\n get: (\n resourceGroupName: string,\n schedulerName: string,\n taskHubName: string,\n options?: TaskHubsGetOptionalParams,\n ) => get(context, resourceGroupName, schedulerName, taskHubName, options),\n };\n}\n\nexport function _getTaskHubsOperations(context: DurableTaskContext): TaskHubsOperations {\n return {\n ..._getTaskHubs(context),\n };\n}\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { DurableTaskClientOptionalParams } from "./api/index.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { SchedulersOperations } from "./classic/schedulers/index.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
1
|
+
import type { DurableTaskClientOptionalParams } from "./api/index.js";
|
|
2
|
+
import type { OperationsOperations } from "./classic/operations/index.js";
|
|
3
|
+
import type { RetentionPoliciesOperations } from "./classic/retentionPolicies/index.js";
|
|
4
|
+
import type { SchedulersOperations } from "./classic/schedulers/index.js";
|
|
5
|
+
import type { TaskHubsOperations } from "./classic/taskHubs/index.js";
|
|
6
|
+
import type { TokenCredential } from "@azure/core-auth";
|
|
7
|
+
import type { Pipeline } from "@azure/core-rest-pipeline";
|
|
8
8
|
export { DurableTaskClientOptionalParams } from "./api/durableTaskContext.js";
|
|
9
9
|
export declare class DurableTaskClient {
|
|
10
10
|
private _client;
|
|
@@ -1,23 +1,36 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
|
-
import { createDurableTask
|
|
4
|
-
import { _getRetentionPoliciesOperations, } from "./classic/retentionPolicies/index.js";
|
|
5
|
-
import { _getTaskHubsOperations } from "./classic/taskHubs/index.js";
|
|
6
|
-
import { _getSchedulersOperations } from "./classic/schedulers/index.js";
|
|
3
|
+
import { createDurableTask } from "./api/index.js";
|
|
7
4
|
import { _getOperationsOperations } from "./classic/operations/index.js";
|
|
5
|
+
import { _getRetentionPoliciesOperations } from "./classic/retentionPolicies/index.js";
|
|
6
|
+
import { _getSchedulersOperations } from "./classic/schedulers/index.js";
|
|
7
|
+
import { _getTaskHubsOperations } from "./classic/taskHubs/index.js";
|
|
8
8
|
export class DurableTaskClient {
|
|
9
|
+
_client;
|
|
10
|
+
/** The pipeline used by this client to make requests */
|
|
11
|
+
pipeline;
|
|
9
12
|
constructor(credential, subscriptionId, options = {}) {
|
|
10
|
-
|
|
11
|
-
const prefixFromOptions = (_a = options === null || options === void 0 ? void 0 : options.userAgentOptions) === null || _a === void 0 ? void 0 : _a.userAgentPrefix;
|
|
13
|
+
const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;
|
|
12
14
|
const userAgentPrefix = prefixFromOptions
|
|
13
15
|
? `${prefixFromOptions} azsdk-js-client`
|
|
14
16
|
: `azsdk-js-client`;
|
|
15
|
-
this._client = createDurableTask(credential, subscriptionId,
|
|
17
|
+
this._client = createDurableTask(credential, subscriptionId, {
|
|
18
|
+
...options,
|
|
19
|
+
userAgentOptions: { userAgentPrefix },
|
|
20
|
+
});
|
|
16
21
|
this.pipeline = this._client.pipeline;
|
|
17
22
|
this.retentionPolicies = _getRetentionPoliciesOperations(this._client);
|
|
18
23
|
this.taskHubs = _getTaskHubsOperations(this._client);
|
|
19
24
|
this.schedulers = _getSchedulersOperations(this._client);
|
|
20
25
|
this.operations = _getOperationsOperations(this._client);
|
|
21
26
|
}
|
|
27
|
+
/** The operation groups for retentionPolicies */
|
|
28
|
+
retentionPolicies;
|
|
29
|
+
/** The operation groups for taskHubs */
|
|
30
|
+
taskHubs;
|
|
31
|
+
/** The operation groups for schedulers */
|
|
32
|
+
schedulers;
|
|
33
|
+
/** The operation groups for operations */
|
|
34
|
+
operations;
|
|
22
35
|
}
|
|
23
36
|
//# sourceMappingURL=durableTaskClient.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"durableTaskClient.js","sourceRoot":"","sources":["../../src/durableTaskClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;
|
|
1
|
+
{"version":3,"file":"durableTaskClient.js","sourceRoot":"","sources":["../../src/durableTaskClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,k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AC1B,UAAU,CAAuB;CAClD","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { DurableTaskContext, DurableTaskClientOptionalParams } from \"./api/index.js\";\nimport { createDurableTask } from \"./api/index.js\";\nimport type { OperationsOperations } from \"./classic/operations/index.js\";\nimport { _getOperationsOperations } from \"./classic/operations/index.js\";\nimport type { RetentionPoliciesOperations } from \"./classic/retentionPolicies/index.js\";\nimport { _getRetentionPoliciesOperations } from \"./classic/retentionPolicies/index.js\";\nimport type { SchedulersOperations } from \"./classic/schedulers/index.js\";\nimport { _getSchedulersOperations } from \"./classic/schedulers/index.js\";\nimport type { TaskHubsOperations } from \"./classic/taskHubs/index.js\";\nimport { _getTaskHubsOperations } from \"./classic/taskHubs/index.js\";\nimport type { TokenCredential } from \"@azure/core-auth\";\nimport type { Pipeline } from \"@azure/core-rest-pipeline\";\n\nexport { DurableTaskClientOptionalParams } from \"./api/durableTaskContext.js\";\n\nexport class DurableTaskClient {\n private _client: DurableTaskContext;\n /** The pipeline used by this client to make requests */\n public readonly pipeline: Pipeline;\n\n constructor(\n credential: TokenCredential,\n subscriptionId: string,\n options: DurableTaskClientOptionalParams = {},\n ) {\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-client`\n : `azsdk-js-client`;\n this._client = createDurableTask(credential, subscriptionId, {\n ...options,\n userAgentOptions: { userAgentPrefix },\n });\n this.pipeline = this._client.pipeline;\n this.retentionPolicies = _getRetentionPoliciesOperations(this._client);\n this.taskHubs = _getTaskHubsOperations(this._client);\n this.schedulers = _getSchedulersOperations(this._client);\n this.operations = _getOperationsOperations(this._client);\n }\n\n /** The operation groups for retentionPolicies */\n public readonly retentionPolicies: RetentionPoliciesOperations;\n /** The operation groups for taskHubs */\n public readonly taskHubs: TaskHubsOperations;\n /** The operation groups for schedulers */\n public readonly schedulers: SchedulersOperations;\n /** The operation groups for operations */\n public readonly operations: OperationsOperations;\n}\n"]}
|
package/dist/browser/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { AzureClouds, AzureSupportedClouds } from "./static-helpers/cloudSettingHelpers.js";
|
|
1
2
|
import { PageSettings, ContinuablePage, PagedAsyncIterableIterator } from "./static-helpers/pagingHelpers.js";
|
|
2
3
|
export { DurableTaskClient } from "./durableTaskClient.js";
|
|
3
4
|
export { restorePoller, RestorePollerOptions } from "./restorePollerHelpers.js";
|
|
4
|
-
export { Operation, OperationDisplay, KnownOrigin, Origin, KnownActionType, ActionType, ErrorResponse, ErrorDetail, ErrorAdditionalInfo, Scheduler, SchedulerProperties, KnownProvisioningState, ProvisioningState, SchedulerSku, KnownRedundancyState, RedundancyState, TrackedResource, Resource, SystemData, KnownCreatedByType, CreatedByType, SchedulerUpdate, SchedulerPropertiesUpdate, SchedulerSkuUpdate, TaskHub, TaskHubProperties, ProxyResource, RetentionPolicy, RetentionPolicyProperties, RetentionPolicyDetails, KnownPurgeableOrchestrationState, PurgeableOrchestrationState, KnownVersions, } from "./models/index.js";
|
|
5
|
+
export { Operation, OperationDisplay, KnownOrigin, Origin, KnownActionType, ActionType, ErrorResponse, ErrorDetail, ErrorAdditionalInfo, Scheduler, SchedulerProperties, KnownProvisioningState, ProvisioningState, SchedulerSku, KnownSchedulerSkuName, SchedulerSkuName, KnownRedundancyState, RedundancyState, TrackedResource, Resource, SystemData, KnownCreatedByType, CreatedByType, SchedulerUpdate, SchedulerPropertiesUpdate, SchedulerSkuUpdate, TaskHub, TaskHubProperties, ProxyResource, RetentionPolicy, RetentionPolicyProperties, RetentionPolicyDetails, KnownPurgeableOrchestrationState, PurgeableOrchestrationState, KnownVersions, } from "./models/index.js";
|
|
5
6
|
export { DurableTaskClientOptionalParams } from "./api/index.js";
|
|
6
7
|
export { OperationsListOptionalParams } from "./api/operations/index.js";
|
|
7
8
|
export { RetentionPoliciesListBySchedulerOptionalParams, RetentionPoliciesDeleteOptionalParams, RetentionPoliciesUpdateOptionalParams, RetentionPoliciesCreateOrReplaceOptionalParams, RetentionPoliciesGetOptionalParams, } from "./api/retentionPolicies/index.js";
|
|
@@ -9,4 +10,5 @@ export { SchedulersListBySubscriptionOptionalParams, SchedulersListByResourceGro
|
|
|
9
10
|
export { TaskHubsListBySchedulerOptionalParams, TaskHubsDeleteOptionalParams, TaskHubsCreateOrUpdateOptionalParams, TaskHubsGetOptionalParams, } from "./api/taskHubs/index.js";
|
|
10
11
|
export { OperationsOperations, RetentionPoliciesOperations, SchedulersOperations, TaskHubsOperations, } from "./classic/index.js";
|
|
11
12
|
export { PageSettings, ContinuablePage, PagedAsyncIterableIterator };
|
|
13
|
+
export { AzureClouds, AzureSupportedClouds };
|
|
12
14
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/browser/index.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
|
+
import { AzureClouds } from "./static-helpers/cloudSettingHelpers.js";
|
|
3
4
|
export { DurableTaskClient } from "./durableTaskClient.js";
|
|
4
5
|
export { restorePoller } from "./restorePollerHelpers.js";
|
|
5
|
-
export { KnownOrigin, KnownActionType, KnownProvisioningState, KnownRedundancyState, KnownCreatedByType, KnownPurgeableOrchestrationState, KnownVersions, } from "./models/index.js";
|
|
6
|
+
export { KnownOrigin, KnownActionType, KnownProvisioningState, KnownSchedulerSkuName, KnownRedundancyState, KnownCreatedByType, KnownPurgeableOrchestrationState, KnownVersions, } from "./models/index.js";
|
|
7
|
+
export { AzureClouds };
|
|
6
8
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,WAAW,EAAwB,MAAM,yCAAyC,CAAC;AAO5F,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAwB,MAAM,2BAA2B,CAAC;AAChF,OAAO,EAGL,WAAW,EAEX,eAAe,EAOf,sBAAsB,EAGtB,qBAAqB,EAErB,oBAAoB,EAKpB,kBAAkB,EAWlB,gCAAgC,EAEhC,aAAa,GACd,MAAM,mBAAmB,CAAC;AA+B3B,OAAO,EAAE,WAAW,EAAwB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { AzureClouds, AzureSupportedClouds } from \"./static-helpers/cloudSettingHelpers.js\";\nimport {\n PageSettings,\n ContinuablePage,\n PagedAsyncIterableIterator,\n} from \"./static-helpers/pagingHelpers.js\";\n\nexport { DurableTaskClient } from \"./durableTaskClient.js\";\nexport { restorePoller, RestorePollerOptions } from \"./restorePollerHelpers.js\";\nexport {\n Operation,\n OperationDisplay,\n KnownOrigin,\n Origin,\n KnownActionType,\n ActionType,\n ErrorResponse,\n ErrorDetail,\n ErrorAdditionalInfo,\n Scheduler,\n SchedulerProperties,\n KnownProvisioningState,\n ProvisioningState,\n SchedulerSku,\n KnownSchedulerSkuName,\n SchedulerSkuName,\n KnownRedundancyState,\n RedundancyState,\n TrackedResource,\n Resource,\n SystemData,\n KnownCreatedByType,\n CreatedByType,\n SchedulerUpdate,\n SchedulerPropertiesUpdate,\n SchedulerSkuUpdate,\n TaskHub,\n TaskHubProperties,\n ProxyResource,\n RetentionPolicy,\n RetentionPolicyProperties,\n RetentionPolicyDetails,\n KnownPurgeableOrchestrationState,\n PurgeableOrchestrationState,\n KnownVersions,\n} from \"./models/index.js\";\nexport { DurableTaskClientOptionalParams } from \"./api/index.js\";\nexport { OperationsListOptionalParams } from \"./api/operations/index.js\";\nexport {\n RetentionPoliciesListBySchedulerOptionalParams,\n RetentionPoliciesDeleteOptionalParams,\n RetentionPoliciesUpdateOptionalParams,\n RetentionPoliciesCreateOrReplaceOptionalParams,\n RetentionPoliciesGetOptionalParams,\n} from \"./api/retentionPolicies/index.js\";\nexport {\n SchedulersListBySubscriptionOptionalParams,\n SchedulersListByResourceGroupOptionalParams,\n SchedulersDeleteOptionalParams,\n SchedulersUpdateOptionalParams,\n SchedulersCreateOrUpdateOptionalParams,\n SchedulersGetOptionalParams,\n} from \"./api/schedulers/index.js\";\nexport {\n TaskHubsListBySchedulerOptionalParams,\n TaskHubsDeleteOptionalParams,\n TaskHubsCreateOrUpdateOptionalParams,\n TaskHubsGetOptionalParams,\n} from \"./api/taskHubs/index.js\";\nexport {\n OperationsOperations,\n RetentionPoliciesOperations,\n SchedulersOperations,\n TaskHubsOperations,\n} from \"./classic/index.js\";\nexport { PageSettings, ContinuablePage, PagedAsyncIterableIterator };\nexport { AzureClouds, AzureSupportedClouds };\n"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Operation, OperationDisplay, KnownOrigin, Origin, KnownActionType, ActionType, ErrorResponse, ErrorDetail, ErrorAdditionalInfo, Scheduler, SchedulerProperties, KnownProvisioningState, ProvisioningState, SchedulerSku, KnownRedundancyState, RedundancyState, TrackedResource, Resource, SystemData, KnownCreatedByType, CreatedByType, SchedulerUpdate, SchedulerPropertiesUpdate, SchedulerSkuUpdate, TaskHub, TaskHubProperties, ProxyResource, RetentionPolicy, RetentionPolicyProperties, RetentionPolicyDetails, KnownPurgeableOrchestrationState, PurgeableOrchestrationState, KnownVersions, } from "./models.js";
|
|
1
|
+
export { Operation, OperationDisplay, KnownOrigin, Origin, KnownActionType, ActionType, ErrorResponse, ErrorDetail, ErrorAdditionalInfo, Scheduler, SchedulerProperties, KnownProvisioningState, ProvisioningState, SchedulerSku, KnownSchedulerSkuName, SchedulerSkuName, KnownRedundancyState, RedundancyState, TrackedResource, Resource, SystemData, KnownCreatedByType, CreatedByType, SchedulerUpdate, SchedulerPropertiesUpdate, SchedulerSkuUpdate, TaskHub, TaskHubProperties, ProxyResource, RetentionPolicy, RetentionPolicyProperties, RetentionPolicyDetails, KnownPurgeableOrchestrationState, PurgeableOrchestrationState, KnownVersions, } from "./models.js";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
|
-
export { KnownOrigin, KnownActionType, KnownProvisioningState, KnownRedundancyState, KnownCreatedByType, KnownPurgeableOrchestrationState, KnownVersions, } from "./models.js";
|
|
3
|
+
export { KnownOrigin, KnownActionType, KnownProvisioningState, KnownSchedulerSkuName, KnownRedundancyState, KnownCreatedByType, KnownPurgeableOrchestrationState, KnownVersions, } from "./models.js";
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAGL,WAAW,EAEX,eAAe,EAOf,sBAAsB,EAGtB,oBAAoB,EAKpB,kBAAkB,EAWlB,gCAAgC,EAEhC,aAAa,GACd,MAAM,aAAa,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n Operation,\n OperationDisplay,\n KnownOrigin,\n Origin,\n KnownActionType,\n ActionType,\n ErrorResponse,\n ErrorDetail,\n ErrorAdditionalInfo,\n Scheduler,\n SchedulerProperties,\n KnownProvisioningState,\n ProvisioningState,\n SchedulerSku,\n KnownRedundancyState,\n RedundancyState,\n TrackedResource,\n Resource,\n SystemData,\n KnownCreatedByType,\n CreatedByType,\n SchedulerUpdate,\n SchedulerPropertiesUpdate,\n SchedulerSkuUpdate,\n TaskHub,\n TaskHubProperties,\n ProxyResource,\n RetentionPolicy,\n RetentionPolicyProperties,\n RetentionPolicyDetails,\n KnownPurgeableOrchestrationState,\n PurgeableOrchestrationState,\n KnownVersions,\n} from \"./models.js\";\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAGL,WAAW,EAEX,eAAe,EAOf,sBAAsB,EAGtB,qBAAqB,EAErB,oBAAoB,EAKpB,kBAAkB,EAWlB,gCAAgC,EAEhC,aAAa,GACd,MAAM,aAAa,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n Operation,\n OperationDisplay,\n KnownOrigin,\n Origin,\n KnownActionType,\n ActionType,\n ErrorResponse,\n ErrorDetail,\n ErrorAdditionalInfo,\n Scheduler,\n SchedulerProperties,\n KnownProvisioningState,\n ProvisioningState,\n SchedulerSku,\n KnownSchedulerSkuName,\n SchedulerSkuName,\n KnownRedundancyState,\n RedundancyState,\n TrackedResource,\n Resource,\n SystemData,\n KnownCreatedByType,\n CreatedByType,\n SchedulerUpdate,\n SchedulerPropertiesUpdate,\n SchedulerSkuUpdate,\n TaskHub,\n TaskHubProperties,\n ProxyResource,\n RetentionPolicy,\n RetentionPolicyProperties,\n RetentionPolicyDetails,\n KnownPurgeableOrchestrationState,\n PurgeableOrchestrationState,\n KnownVersions,\n} from \"./models.js\";\n"]}
|
|
@@ -92,13 +92,9 @@ export interface ErrorAdditionalInfo {
|
|
|
92
92
|
/** The additional info type. */
|
|
93
93
|
readonly type?: string;
|
|
94
94
|
/** The additional info. */
|
|
95
|
-
readonly info?:
|
|
95
|
+
readonly info?: any;
|
|
96
96
|
}
|
|
97
97
|
export declare function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo;
|
|
98
|
-
/** model interface _ErrorAdditionalInfoInfo */
|
|
99
|
-
export interface _ErrorAdditionalInfoInfo {
|
|
100
|
-
}
|
|
101
|
-
export declare function _errorAdditionalInfoInfoDeserializer(item: any): _ErrorAdditionalInfoInfo;
|
|
102
98
|
/** A Durable Task Scheduler resource */
|
|
103
99
|
export interface Scheduler extends TrackedResource {
|
|
104
100
|
/** The resource-specific properties for this resource. */
|
|
@@ -153,7 +149,7 @@ export type ProvisioningState = string;
|
|
|
153
149
|
/** The SKU (Stock Keeping Unit) assigned to this durable task scheduler */
|
|
154
150
|
export interface SchedulerSku {
|
|
155
151
|
/** The name of the SKU */
|
|
156
|
-
name:
|
|
152
|
+
name: SchedulerSkuName;
|
|
157
153
|
/** The SKU capacity. This allows scale out/in for the resource and impacts zone redundancy */
|
|
158
154
|
capacity?: number;
|
|
159
155
|
/** Indicates whether the current SKU configuration is zone redundant */
|
|
@@ -161,6 +157,22 @@ export interface SchedulerSku {
|
|
|
161
157
|
}
|
|
162
158
|
export declare function schedulerSkuSerializer(item: SchedulerSku): any;
|
|
163
159
|
export declare function schedulerSkuDeserializer(item: any): SchedulerSku;
|
|
160
|
+
/** The name of the Stock Keeping Unit (SKU) of a Durable Task Scheduler */
|
|
161
|
+
export declare enum KnownSchedulerSkuName {
|
|
162
|
+
/** Dedicated SKU */
|
|
163
|
+
Dedicated = "Dedicated",
|
|
164
|
+
/** Consumption SKU */
|
|
165
|
+
Consumption = "Consumption"
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* The name of the Stock Keeping Unit (SKU) of a Durable Task Scheduler \
|
|
169
|
+
* {@link KnownSchedulerSkuName} can be used interchangeably with SchedulerSkuName,
|
|
170
|
+
* this enum contains the known values that the service supports.
|
|
171
|
+
* ### Known values supported by the service
|
|
172
|
+
* **Dedicated**: Dedicated SKU \
|
|
173
|
+
* **Consumption**: Consumption SKU
|
|
174
|
+
*/
|
|
175
|
+
export type SchedulerSkuName = string;
|
|
164
176
|
/** The state of the resource redundancy */
|
|
165
177
|
export declare enum KnownRedundancyState {
|
|
166
178
|
/** The resource is not redundant */
|
|
@@ -228,7 +240,7 @@ export declare enum KnownCreatedByType {
|
|
|
228
240
|
}
|
|
229
241
|
/**
|
|
230
242
|
* The kind of entity that created the resource. \
|
|
231
|
-
* {@link
|
|
243
|
+
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
|
232
244
|
* this enum contains the known values that the service supports.
|
|
233
245
|
* ### Known values supported by the service
|
|
234
246
|
* **User**: The entity was created by a user. \
|
|
@@ -260,7 +272,7 @@ export declare function schedulerPropertiesUpdateSerializer(item: SchedulerPrope
|
|
|
260
272
|
/** The SKU (Stock Keeping Unit) properties to be updated */
|
|
261
273
|
export interface SchedulerSkuUpdate {
|
|
262
274
|
/** The name of the SKU */
|
|
263
|
-
name?:
|
|
275
|
+
name?: SchedulerSkuName;
|
|
264
276
|
/** The SKU capacity. This allows scale out/in for the resource and impacts zone redundancy */
|
|
265
277
|
capacity?: number;
|
|
266
278
|
/** Indicates whether the current SKU configuration is zone redundant */
|
|
@@ -369,9 +381,7 @@ export declare function retentionPolicyArraySerializer(result: Array<RetentionPo
|
|
|
369
381
|
export declare function retentionPolicyArrayDeserializer(result: Array<RetentionPolicy>): any[];
|
|
370
382
|
/** API Versions */
|
|
371
383
|
export declare enum KnownVersions {
|
|
372
|
-
/**
|
|
373
|
-
|
|
374
|
-
/** 2025-04-01-preview */
|
|
375
|
-
V20250401Preview = "2025-04-01-preview"
|
|
384
|
+
/** 2025-11-01 */
|
|
385
|
+
V20251101 = "2025-11-01"
|
|
376
386
|
}
|
|
377
387
|
//# sourceMappingURL=models.d.ts.map
|
|
@@ -73,12 +73,9 @@ export function errorAdditionalInfoArrayDeserializer(result) {
|
|
|
73
73
|
export function errorAdditionalInfoDeserializer(item) {
|
|
74
74
|
return {
|
|
75
75
|
type: item["type"],
|
|
76
|
-
info:
|
|
76
|
+
info: item["info"],
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
|
-
export function _errorAdditionalInfoInfoDeserializer(item) {
|
|
80
|
-
return item;
|
|
81
|
-
}
|
|
82
79
|
export function schedulerSerializer(item) {
|
|
83
80
|
return {
|
|
84
81
|
tags: item["tags"],
|
|
@@ -149,6 +146,14 @@ export function schedulerSkuDeserializer(item) {
|
|
|
149
146
|
redundancyState: item["redundancyState"],
|
|
150
147
|
};
|
|
151
148
|
}
|
|
149
|
+
/** The name of the Stock Keeping Unit (SKU) of a Durable Task Scheduler */
|
|
150
|
+
export var KnownSchedulerSkuName;
|
|
151
|
+
(function (KnownSchedulerSkuName) {
|
|
152
|
+
/** Dedicated SKU */
|
|
153
|
+
KnownSchedulerSkuName["Dedicated"] = "Dedicated";
|
|
154
|
+
/** Consumption SKU */
|
|
155
|
+
KnownSchedulerSkuName["Consumption"] = "Consumption";
|
|
156
|
+
})(KnownSchedulerSkuName || (KnownSchedulerSkuName = {}));
|
|
152
157
|
/** The state of the resource redundancy */
|
|
153
158
|
export var KnownRedundancyState;
|
|
154
159
|
(function (KnownRedundancyState) {
|
|
@@ -392,9 +397,7 @@ export function retentionPolicyArrayDeserializer(result) {
|
|
|
392
397
|
/** API Versions */
|
|
393
398
|
export var KnownVersions;
|
|
394
399
|
(function (KnownVersions) {
|
|
395
|
-
/**
|
|
396
|
-
KnownVersions["
|
|
397
|
-
/** 2025-04-01-preview */
|
|
398
|
-
KnownVersions["V20250401Preview"] = "2025-04-01-preview";
|
|
400
|
+
/** 2025-11-01 */
|
|
401
|
+
KnownVersions["V20251101"] = "2025-11-01";
|
|
399
402
|
})(KnownVersions || (KnownVersions = {}));
|
|
400
403
|
//# sourceMappingURL=models.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAUlC,MAAM,UAAU,gCAAgC,CAAC,IAAS;IACxD,OAAO;QACL,KAAK,EAAE,0BAA0B,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAChD,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;KAC3B,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAC,MAAwB;IACjE,OAAO,MAAM,CAAC,GAAG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AyB,CAAA;IACzB,oCAAoC;IACpC,yDAAqB,CAAA;AACvB,CAAC,EATW,gCAAgC,KAAhC,gCAAgC,QAS3C;AAsBD,MAAM,UAAU,sCAAsC,CAAC,IAAS;IAC9D,OAAO;QACL,KAAK,EAAE,gCAAgC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACtD,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;KAC3B,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,8BAA8B,CAAC,MAA8B;IAC3E,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,yBAAyB,CAAC,IAAI,CAAC,CAAC;IACzC,CAAC,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,gCAAgC,CAAC,MAA8B;IAC7E,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,2BAA2B,CAAC,IAAI,CAAC,CAAC;IAC3C,CAAC,CAAC,CAAC;AACL,CAAC;AAED,mBAAmB;AACnB,MAAM,CAAN,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,yBAAyB;IACzB,wDAAuC,CAAA;IACvC,yBAAyB;IACzB,wDAAuC,CAAA;AACzC,CAAC,EALW,aAAa,KAAb,aAAa,QAKxB","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */\nexport interface _OperationListResult {\n /** The Operation items on this page */\n value: Operation[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _operationListResultDeserializer(item: any): _OperationListResult {\n return {\n value: operationArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function operationArrayDeserializer(result: Array<Operation>): any[] {\n return result.map((item) => {\n return operationDeserializer(item);\n });\n}\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface Operation {\n /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\" */\n readonly name?: string;\n /** Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for Azure Resource Manager/control-plane operations. */\n readonly isDataAction?: boolean;\n /** Localized display information for this particular operation. */\n display?: OperationDisplay;\n /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\n readonly origin?: Origin;\n /** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\n readonly actionType?: ActionType;\n}\n\nexport function operationDeserializer(item: any): Operation {\n return {\n name: item[\"name\"],\n isDataAction: item[\"isDataAction\"],\n display: !item[\"display\"] ? item[\"display\"] : operationDisplayDeserializer(item[\"display\"]),\n origin: item[\"origin\"],\n actionType: item[\"actionType\"],\n };\n}\n\n/** Localized display information for and operation. */\nexport interface OperationDisplay {\n /** The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\". */\n readonly provider?: string;\n /** The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\". */\n readonly resource?: string;\n /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\". */\n readonly operation?: string;\n /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */\n readonly description?: string;\n}\n\nexport function operationDisplayDeserializer(item: any): OperationDisplay {\n return {\n provider: item[\"provider\"],\n resource: item[\"resource\"],\n operation: item[\"operation\"],\n description: item[\"description\"],\n };\n}\n\n/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\nexport enum KnownOrigin {\n /** Indicates the operation is initiated by a user. */\n User = \"user\",\n /** Indicates the operation is initiated by a system. */\n System = \"system\",\n /** Indicates the operation is initiated by a user or system. */\n UserSystem = \"user,system\",\n}\n\n/**\n * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" \\\n * {@link KnownOrigin} can be used interchangeably with Origin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **user**: Indicates the operation is initiated by a user. \\\n * **system**: Indicates the operation is initiated by a system. \\\n * **user,system**: Indicates the operation is initiated by a user or system.\n */\nexport type Origin = string;\n\n/** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\nexport enum KnownActionType {\n /** Actions are for internal-only APIs. */\n Internal = \"Internal\",\n}\n\n/**\n * Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. \\\n * {@link KnownActionType} can be used interchangeably with ActionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Internal**: Actions are for internal-only APIs.\n */\nexport type ActionType = string;\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\nexport function errorResponseDeserializer(item: any): ErrorResponse {\n return {\n error: !item[\"error\"] ? item[\"error\"] : errorDetailDeserializer(item[\"error\"]),\n };\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n /** The error target. */\n readonly target?: string;\n /** The error details. */\n readonly details?: ErrorDetail[];\n /** The error additional info. */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\nexport function errorDetailDeserializer(item: any): ErrorDetail {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n target: item[\"target\"],\n details: !item[\"details\"] ? item[\"details\"] : errorDetailArrayDeserializer(item[\"details\"]),\n additionalInfo: !item[\"additionalInfo\"]\n ? item[\"additionalInfo\"]\n : errorAdditionalInfoArrayDeserializer(item[\"additionalInfo\"]),\n };\n}\n\nexport function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[] {\n return result.map((item) => {\n return errorDetailDeserializer(item);\n });\n}\n\nexport function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[] {\n return result.map((item) => {\n return errorAdditionalInfoDeserializer(item);\n });\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /** The additional info type. */\n readonly type?: string;\n /** The additional info. */\n readonly info?: Record<string, any>;\n}\n\nexport function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo {\n return {\n type: item[\"type\"],\n info: !item[\"info\"] ? item[\"info\"] : _errorAdditionalInfoInfoDeserializer(item[\"info\"]),\n };\n}\n\n/** model interface _ErrorAdditionalInfoInfo */\nexport interface _ErrorAdditionalInfoInfo {}\n\nexport function _errorAdditionalInfoInfoDeserializer(item: any): _ErrorAdditionalInfoInfo {\n return item;\n}\n\n/** A Durable Task Scheduler resource */\nexport interface Scheduler extends TrackedResource {\n /** The resource-specific properties for this resource. */\n properties?: SchedulerProperties;\n}\n\nexport function schedulerSerializer(item: Scheduler): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : schedulerPropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function schedulerDeserializer(item: any): Scheduler {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : schedulerPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Details of the Scheduler */\nexport interface SchedulerProperties {\n /** The status of the last operation */\n readonly provisioningState?: ProvisioningState;\n /** URL of the durable task scheduler */\n readonly endpoint?: string;\n /** IP allow list for durable task scheduler. Values can be IPv4, IPv6 or CIDR */\n ipAllowlist: string[];\n /** SKU of the durable task scheduler */\n sku: SchedulerSku;\n}\n\nexport function schedulerPropertiesSerializer(item: SchedulerProperties): any {\n return {\n ipAllowlist: item[\"ipAllowlist\"].map((p: any) => {\n return p;\n }),\n sku: schedulerSkuSerializer(item[\"sku\"]),\n };\n}\n\nexport function schedulerPropertiesDeserializer(item: any): SchedulerProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n endpoint: item[\"endpoint\"],\n ipAllowlist: item[\"ipAllowlist\"].map((p: any) => {\n return p;\n }),\n sku: schedulerSkuDeserializer(item[\"sku\"]),\n };\n}\n\n/** The status of the current operation */\nexport enum KnownProvisioningState {\n /** Resource has been created. */\n Succeeded = \"Succeeded\",\n /** Resource creation failed. */\n Failed = \"Failed\",\n /** Resource creation was canceled. */\n Canceled = \"Canceled\",\n /** The resource is being provisioned */\n Provisioning = \"Provisioning\",\n /** The resource is updating */\n Updating = \"Updating\",\n /** The resource is being deleted */\n Deleting = \"Deleting\",\n /** The resource create request has been accepted */\n Accepted = \"Accepted\",\n}\n\n/**\n * The status of the current operation \\\n * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded**: Resource has been created. \\\n * **Failed**: Resource creation failed. \\\n * **Canceled**: Resource creation was canceled. \\\n * **Provisioning**: The resource is being provisioned \\\n * **Updating**: The resource is updating \\\n * **Deleting**: The resource is being deleted \\\n * **Accepted**: The resource create request has been accepted\n */\nexport type ProvisioningState = string;\n\n/** The SKU (Stock Keeping Unit) assigned to this durable task scheduler */\nexport interface SchedulerSku {\n /** The name of the SKU */\n name: string;\n /** The SKU capacity. This allows scale out/in for the resource and impacts zone redundancy */\n capacity?: number;\n /** Indicates whether the current SKU configuration is zone redundant */\n readonly redundancyState?: RedundancyState;\n}\n\nexport function schedulerSkuSerializer(item: SchedulerSku): any {\n return { name: item[\"name\"], capacity: item[\"capacity\"] };\n}\n\nexport function schedulerSkuDeserializer(item: any): SchedulerSku {\n return {\n name: item[\"name\"],\n capacity: item[\"capacity\"],\n redundancyState: item[\"redundancyState\"],\n };\n}\n\n/** The state of the resource redundancy */\nexport enum KnownRedundancyState {\n /** The resource is not redundant */\n None = \"None\",\n /** The resource is zone redundant */\n Zone = \"Zone\",\n}\n\n/**\n * The state of the resource redundancy \\\n * {@link KnownRedundancyState} can be used interchangeably with RedundancyState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **None**: The resource is not redundant \\\n * **Zone**: The resource is zone redundant\n */\nexport type RedundancyState = string;\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResource extends Resource {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The geo-location where the resource lives */\n location: string;\n}\n\nexport function trackedResourceSerializer(item: TrackedResource): any {\n return { tags: item[\"tags\"], location: item[\"location\"] };\n}\n\nexport function trackedResourceDeserializer(item: any): TrackedResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n tags: item[\"tags\"],\n location: item[\"location\"],\n };\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */\n readonly id?: string;\n /** The name of the resource */\n readonly name?: string;\n /** The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" */\n readonly type?: string;\n /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */\n readonly systemData?: SystemData;\n}\n\nexport function resourceSerializer(item: Resource): any {\n return item;\n}\n\nexport function resourceDeserializer(item: any): Resource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\nexport function systemDataDeserializer(item: any): SystemData {\n return {\n createdBy: item[\"createdBy\"],\n createdByType: item[\"createdByType\"],\n createdAt: !item[\"createdAt\"] ? item[\"createdAt\"] : new Date(item[\"createdAt\"]),\n lastModifiedBy: item[\"lastModifiedBy\"],\n lastModifiedByType: item[\"lastModifiedByType\"],\n lastModifiedAt: !item[\"lastModifiedAt\"]\n ? item[\"lastModifiedAt\"]\n : new Date(item[\"lastModifiedAt\"]),\n };\n}\n\n/** The kind of entity that created the resource. */\nexport enum KnownCreatedByType {\n /** The entity was created by a user. */\n User = \"User\",\n /** The entity was created by an application. */\n Application = \"Application\",\n /** The entity was created by a managed identity. */\n ManagedIdentity = \"ManagedIdentity\",\n /** The entity was created by a key. */\n Key = \"Key\",\n}\n\n/**\n * The kind of entity that created the resource. \\\n * {@link KnowncreatedByType} can be used interchangeably with createdByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User**: The entity was created by a user. \\\n * **Application**: The entity was created by an application. \\\n * **ManagedIdentity**: The entity was created by a managed identity. \\\n * **Key**: The entity was created by a key.\n */\nexport type CreatedByType = string;\n\n/** The update request model for the Scheduler resource */\nexport interface SchedulerUpdate {\n /** The resource-specific properties for this resource. */\n properties?: SchedulerPropertiesUpdate;\n /** Resource tags. */\n tags?: Record<string, string>;\n}\n\nexport function schedulerUpdateSerializer(item: SchedulerUpdate): any {\n return {\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : schedulerPropertiesUpdateSerializer(item[\"properties\"]),\n tags: item[\"tags\"],\n };\n}\n\n/** The Scheduler resource properties to be updated */\nexport interface SchedulerPropertiesUpdate {\n /** The status of the last operation */\n readonly provisioningState?: ProvisioningState;\n /** URL of the durable task scheduler */\n readonly endpoint?: string;\n /** IP allow list for durable task scheduler. Values can be IPv4, IPv6 or CIDR */\n ipAllowlist?: string[];\n /** SKU of the durable task scheduler */\n sku?: SchedulerSkuUpdate;\n}\n\nexport function schedulerPropertiesUpdateSerializer(item: SchedulerPropertiesUpdate): any {\n return {\n ipAllowlist: !item[\"ipAllowlist\"]\n ? item[\"ipAllowlist\"]\n : item[\"ipAllowlist\"].map((p: any) => {\n return p;\n }),\n sku: !item[\"sku\"] ? item[\"sku\"] : schedulerSkuUpdateSerializer(item[\"sku\"]),\n };\n}\n\n/** The SKU (Stock Keeping Unit) properties to be updated */\nexport interface SchedulerSkuUpdate {\n /** The name of the SKU */\n name?: string;\n /** The SKU capacity. This allows scale out/in for the resource and impacts zone redundancy */\n capacity?: number;\n /** Indicates whether the current SKU configuration is zone redundant */\n readonly redundancyState?: RedundancyState;\n}\n\nexport function schedulerSkuUpdateSerializer(item: SchedulerSkuUpdate): any {\n return { name: item[\"name\"], capacity: item[\"capacity\"] };\n}\n\n/** The response of a Scheduler list operation. */\nexport interface _SchedulerListResult {\n /** The Scheduler items on this page */\n value: Scheduler[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _schedulerListResultDeserializer(item: any): _SchedulerListResult {\n return {\n value: schedulerArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function schedulerArraySerializer(result: Array<Scheduler>): any[] {\n return result.map((item) => {\n return schedulerSerializer(item);\n });\n}\n\nexport function schedulerArrayDeserializer(result: Array<Scheduler>): any[] {\n return result.map((item) => {\n return schedulerDeserializer(item);\n });\n}\n\n/** A Task Hub resource belonging to the scheduler */\nexport interface TaskHub extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: TaskHubProperties;\n}\n\nexport function taskHubSerializer(item: TaskHub): any {\n return {\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : taskHubPropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function taskHubDeserializer(item: any): TaskHub {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : taskHubPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** The properties of Task Hub */\nexport interface TaskHubProperties {\n /** The status of the last operation */\n readonly provisioningState?: ProvisioningState;\n /** URL of the durable task scheduler dashboard */\n readonly dashboardUrl?: string;\n}\n\nexport function taskHubPropertiesSerializer(item: TaskHubProperties): any {\n return item;\n}\n\nexport function taskHubPropertiesDeserializer(item: any): TaskHubProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n dashboardUrl: item[\"dashboardUrl\"],\n };\n}\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResource extends Resource {}\n\nexport function proxyResourceSerializer(item: ProxyResource): any {\n return item;\n}\n\nexport function proxyResourceDeserializer(item: any): ProxyResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** The response of a TaskHub list operation. */\nexport interface _TaskHubListResult {\n /** The TaskHub items on this page */\n value: TaskHub[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _taskHubListResultDeserializer(item: any): _TaskHubListResult {\n return {\n value: taskHubArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function taskHubArraySerializer(result: Array<TaskHub>): any[] {\n return result.map((item) => {\n return taskHubSerializer(item);\n });\n}\n\nexport function taskHubArrayDeserializer(result: Array<TaskHub>): any[] {\n return result.map((item) => {\n return taskHubDeserializer(item);\n });\n}\n\n/** A retention policy resource belonging to the scheduler */\nexport interface RetentionPolicy extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: RetentionPolicyProperties;\n}\n\nexport function retentionPolicySerializer(item: RetentionPolicy): any {\n return {\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : retentionPolicyPropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function retentionPolicyDeserializer(item: any): RetentionPolicy {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : retentionPolicyPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** The retention policy settings for the resource */\nexport interface RetentionPolicyProperties {\n /** The status of the last operation */\n readonly provisioningState?: ProvisioningState;\n /** The orchestration retention policies */\n retentionPolicies?: RetentionPolicyDetails[];\n}\n\nexport function retentionPolicyPropertiesSerializer(item: RetentionPolicyProperties): any {\n return {\n retentionPolicies: !item[\"retentionPolicies\"]\n ? item[\"retentionPolicies\"]\n : retentionPolicyDetailsArraySerializer(item[\"retentionPolicies\"]),\n };\n}\n\nexport function retentionPolicyPropertiesDeserializer(item: any): RetentionPolicyProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n retentionPolicies: !item[\"retentionPolicies\"]\n ? item[\"retentionPolicies\"]\n : retentionPolicyDetailsArrayDeserializer(item[\"retentionPolicies\"]),\n };\n}\n\nexport function retentionPolicyDetailsArraySerializer(\n result: Array<RetentionPolicyDetails>,\n): any[] {\n return result.map((item) => {\n return retentionPolicyDetailsSerializer(item);\n });\n}\n\nexport function retentionPolicyDetailsArrayDeserializer(\n result: Array<RetentionPolicyDetails>,\n): any[] {\n return result.map((item) => {\n return retentionPolicyDetailsDeserializer(item);\n });\n}\n\n/** The properties of a retention policy */\nexport interface RetentionPolicyDetails {\n /** The retention period in days after which the orchestration will be purged automatically */\n retentionPeriodInDays: number;\n /** The orchestration state to which this policy applies. If omitted, the policy applies to all purgeable orchestration states. */\n orchestrationState?: PurgeableOrchestrationState;\n}\n\nexport function retentionPolicyDetailsSerializer(item: RetentionPolicyDetails): any {\n return {\n retentionPeriodInDays: item[\"retentionPeriodInDays\"],\n orchestrationState: item[\"orchestrationState\"],\n };\n}\n\nexport function retentionPolicyDetailsDeserializer(item: any): RetentionPolicyDetails {\n return {\n retentionPeriodInDays: item[\"retentionPeriodInDays\"],\n orchestrationState: item[\"orchestrationState\"],\n };\n}\n\n/** Purgeable orchestration state to be used in retention policies */\nexport enum KnownPurgeableOrchestrationState {\n /** The orchestration is completed */\n Completed = \"Completed\",\n /** The orchestration is failed */\n Failed = \"Failed\",\n /** The orchestration is terminated */\n Terminated = \"Terminated\",\n /** The orchestration is canceled */\n Canceled = \"Canceled\",\n}\n\n/**\n * Purgeable orchestration state to be used in retention policies \\\n * {@link KnownPurgeableOrchestrationState} can be used interchangeably with PurgeableOrchestrationState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Completed**: The orchestration is completed \\\n * **Failed**: The orchestration is failed \\\n * **Terminated**: The orchestration is terminated \\\n * **Canceled**: The orchestration is canceled\n */\nexport type PurgeableOrchestrationState = string;\n\n/** The response of a RetentionPolicy list operation. */\nexport interface _RetentionPolicyListResult {\n /** The RetentionPolicy items on this page */\n value: RetentionPolicy[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _retentionPolicyListResultDeserializer(item: any): _RetentionPolicyListResult {\n return {\n value: retentionPolicyArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function retentionPolicyArraySerializer(result: Array<RetentionPolicy>): any[] {\n return result.map((item) => {\n return retentionPolicySerializer(item);\n });\n}\n\nexport function retentionPolicyArrayDeserializer(result: Array<RetentionPolicy>): any[] {\n return result.map((item) => {\n return retentionPolicyDeserializer(item);\n });\n}\n\n/** API Versions */\nexport enum KnownVersions {\n /** 2024-10-01-preview */\n V20241001Preview = \"2024-10-01-preview\",\n /** 2025-04-01-preview */\n V20250401Preview = \"2025-04-01-preview\",\n}\n"]}
|
|
1
|
+
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":"AAAA,uCAA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AqB,EAAE,IAAI,CAAC,uBAAuB,CAAC;QACpD,kBAAkB,EAAE,IAAI,CAAC,oBAAoB,CAAC;KAC/C,CAAC;AACJ,CAAC;AAED,qEAAqE;AACrE,MAAM,CAAN,IAAY,gCASX;AATD,WAAY,gCAAgC;IAC1C,qCAAqC;IACrC,2DAAuB,CAAA;IACvB,kCAAkC;IAClC,qDAAiB,CAAA;IACjB,sCAAsC;IACtC,6DAAyB,CAAA;IACzB,oCAAoC;IACpC,yDAAqB,CAAA;AACvB,CAAC,EATW,gCAAgC,KAAhC,gCAAgC,QAS3C;AAsBD,MAAM,UAAU,sCAAsC,CAAC,IAAS;IAC9D,OAAO;QACL,KAAK,EAAE,gCAAgC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACtD,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;KAC3B,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,8BAA8B,CAAC,MAA8B;IAC3E,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,yBAAyB,CAAC,IAAI,CAAC,CAAC;IACzC,CAAC,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,gCAAgC,CAAC,MAA8B;IAC7E,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,2BAA2B,CAAC,IAAI,CAAC,CAAC;IAC3C,CAAC,CAAC,CAAC;AACL,CAAC;AAED,mBAAmB;AACnB,MAAM,CAAN,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,iBAAiB;IACjB,yCAAwB,CAAA;AAC1B,CAAC,EAHW,aAAa,KAAb,aAAa,QAGxB","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */\nexport interface _OperationListResult {\n /** The Operation items on this page */\n value: Operation[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _operationListResultDeserializer(item: any): _OperationListResult {\n return {\n value: operationArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function operationArrayDeserializer(result: Array<Operation>): any[] {\n return result.map((item) => {\n return operationDeserializer(item);\n });\n}\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface Operation {\n /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\" */\n readonly name?: string;\n /** Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for Azure Resource Manager/control-plane operations. */\n readonly isDataAction?: boolean;\n /** Localized display information for this particular operation. */\n display?: OperationDisplay;\n /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\n readonly origin?: Origin;\n /** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\n readonly actionType?: ActionType;\n}\n\nexport function operationDeserializer(item: any): Operation {\n return {\n name: item[\"name\"],\n isDataAction: item[\"isDataAction\"],\n display: !item[\"display\"] ? item[\"display\"] : operationDisplayDeserializer(item[\"display\"]),\n origin: item[\"origin\"],\n actionType: item[\"actionType\"],\n };\n}\n\n/** Localized display information for and operation. */\nexport interface OperationDisplay {\n /** The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\". */\n readonly provider?: string;\n /** The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\". */\n readonly resource?: string;\n /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\". */\n readonly operation?: string;\n /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */\n readonly description?: string;\n}\n\nexport function operationDisplayDeserializer(item: any): OperationDisplay {\n return {\n provider: item[\"provider\"],\n resource: item[\"resource\"],\n operation: item[\"operation\"],\n description: item[\"description\"],\n };\n}\n\n/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\nexport enum KnownOrigin {\n /** Indicates the operation is initiated by a user. */\n User = \"user\",\n /** Indicates the operation is initiated by a system. */\n System = \"system\",\n /** Indicates the operation is initiated by a user or system. */\n UserSystem = \"user,system\",\n}\n\n/**\n * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" \\\n * {@link KnownOrigin} can be used interchangeably with Origin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **user**: Indicates the operation is initiated by a user. \\\n * **system**: Indicates the operation is initiated by a system. \\\n * **user,system**: Indicates the operation is initiated by a user or system.\n */\nexport type Origin = string;\n\n/** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\nexport enum KnownActionType {\n /** Actions are for internal-only APIs. */\n Internal = \"Internal\",\n}\n\n/**\n * Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. \\\n * {@link KnownActionType} can be used interchangeably with ActionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Internal**: Actions are for internal-only APIs.\n */\nexport type ActionType = string;\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\nexport function errorResponseDeserializer(item: any): ErrorResponse {\n return {\n error: !item[\"error\"] ? item[\"error\"] : errorDetailDeserializer(item[\"error\"]),\n };\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n /** The error target. */\n readonly target?: string;\n /** The error details. */\n readonly details?: ErrorDetail[];\n /** The error additional info. */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\nexport function errorDetailDeserializer(item: any): ErrorDetail {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n target: item[\"target\"],\n details: !item[\"details\"] ? item[\"details\"] : errorDetailArrayDeserializer(item[\"details\"]),\n additionalInfo: !item[\"additionalInfo\"]\n ? item[\"additionalInfo\"]\n : errorAdditionalInfoArrayDeserializer(item[\"additionalInfo\"]),\n };\n}\n\nexport function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[] {\n return result.map((item) => {\n return errorDetailDeserializer(item);\n });\n}\n\nexport function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[] {\n return result.map((item) => {\n return errorAdditionalInfoDeserializer(item);\n });\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /** The additional info type. */\n readonly type?: string;\n /** The additional info. */\n readonly info?: any;\n}\n\nexport function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo {\n return {\n type: item[\"type\"],\n info: item[\"info\"],\n };\n}\n\n/** A Durable Task Scheduler resource */\nexport interface Scheduler extends TrackedResource {\n /** The resource-specific properties for this resource. */\n properties?: SchedulerProperties;\n}\n\nexport function schedulerSerializer(item: Scheduler): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : schedulerPropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function schedulerDeserializer(item: any): Scheduler {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : schedulerPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Details of the Scheduler */\nexport interface SchedulerProperties {\n /** The status of the last operation */\n readonly provisioningState?: ProvisioningState;\n /** URL of the durable task scheduler */\n readonly endpoint?: string;\n /** IP allow list for durable task scheduler. Values can be IPv4, IPv6 or CIDR */\n ipAllowlist: string[];\n /** SKU of the durable task scheduler */\n sku: SchedulerSku;\n}\n\nexport function schedulerPropertiesSerializer(item: SchedulerProperties): any {\n return {\n ipAllowlist: item[\"ipAllowlist\"].map((p: any) => {\n return p;\n }),\n sku: schedulerSkuSerializer(item[\"sku\"]),\n };\n}\n\nexport function schedulerPropertiesDeserializer(item: any): SchedulerProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n endpoint: item[\"endpoint\"],\n ipAllowlist: item[\"ipAllowlist\"].map((p: any) => {\n return p;\n }),\n sku: schedulerSkuDeserializer(item[\"sku\"]),\n };\n}\n\n/** The status of the current operation */\nexport enum KnownProvisioningState {\n /** Resource has been created. */\n Succeeded = \"Succeeded\",\n /** Resource creation failed. */\n Failed = \"Failed\",\n /** Resource creation was canceled. */\n Canceled = \"Canceled\",\n /** The resource is being provisioned */\n Provisioning = \"Provisioning\",\n /** The resource is updating */\n Updating = \"Updating\",\n /** The resource is being deleted */\n Deleting = \"Deleting\",\n /** The resource create request has been accepted */\n Accepted = \"Accepted\",\n}\n\n/**\n * The status of the current operation \\\n * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded**: Resource has been created. \\\n * **Failed**: Resource creation failed. \\\n * **Canceled**: Resource creation was canceled. \\\n * **Provisioning**: The resource is being provisioned \\\n * **Updating**: The resource is updating \\\n * **Deleting**: The resource is being deleted \\\n * **Accepted**: The resource create request has been accepted\n */\nexport type ProvisioningState = string;\n\n/** The SKU (Stock Keeping Unit) assigned to this durable task scheduler */\nexport interface SchedulerSku {\n /** The name of the SKU */\n name: SchedulerSkuName;\n /** The SKU capacity. This allows scale out/in for the resource and impacts zone redundancy */\n capacity?: number;\n /** Indicates whether the current SKU configuration is zone redundant */\n readonly redundancyState?: RedundancyState;\n}\n\nexport function schedulerSkuSerializer(item: SchedulerSku): any {\n return { name: item[\"name\"], capacity: item[\"capacity\"] };\n}\n\nexport function schedulerSkuDeserializer(item: any): SchedulerSku {\n return {\n name: item[\"name\"],\n capacity: item[\"capacity\"],\n redundancyState: item[\"redundancyState\"],\n };\n}\n\n/** The name of the Stock Keeping Unit (SKU) of a Durable Task Scheduler */\nexport enum KnownSchedulerSkuName {\n /** Dedicated SKU */\n Dedicated = \"Dedicated\",\n /** Consumption SKU */\n Consumption = \"Consumption\",\n}\n\n/**\n * The name of the Stock Keeping Unit (SKU) of a Durable Task Scheduler \\\n * {@link KnownSchedulerSkuName} can be used interchangeably with SchedulerSkuName,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Dedicated**: Dedicated SKU \\\n * **Consumption**: Consumption SKU\n */\nexport type SchedulerSkuName = string;\n\n/** The state of the resource redundancy */\nexport enum KnownRedundancyState {\n /** The resource is not redundant */\n None = \"None\",\n /** The resource is zone redundant */\n Zone = \"Zone\",\n}\n\n/**\n * The state of the resource redundancy \\\n * {@link KnownRedundancyState} can be used interchangeably with RedundancyState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **None**: The resource is not redundant \\\n * **Zone**: The resource is zone redundant\n */\nexport type RedundancyState = string;\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResource extends Resource {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The geo-location where the resource lives */\n location: string;\n}\n\nexport function trackedResourceSerializer(item: TrackedResource): any {\n return { tags: item[\"tags\"], location: item[\"location\"] };\n}\n\nexport function trackedResourceDeserializer(item: any): TrackedResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n tags: item[\"tags\"],\n location: item[\"location\"],\n };\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */\n readonly id?: string;\n /** The name of the resource */\n readonly name?: string;\n /** The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" */\n readonly type?: string;\n /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */\n readonly systemData?: SystemData;\n}\n\nexport function resourceSerializer(item: Resource): any {\n return item;\n}\n\nexport function resourceDeserializer(item: any): Resource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\nexport function systemDataDeserializer(item: any): SystemData {\n return {\n createdBy: item[\"createdBy\"],\n createdByType: item[\"createdByType\"],\n createdAt: !item[\"createdAt\"] ? item[\"createdAt\"] : new Date(item[\"createdAt\"]),\n lastModifiedBy: item[\"lastModifiedBy\"],\n lastModifiedByType: item[\"lastModifiedByType\"],\n lastModifiedAt: !item[\"lastModifiedAt\"]\n ? item[\"lastModifiedAt\"]\n : new Date(item[\"lastModifiedAt\"]),\n };\n}\n\n/** The kind of entity that created the resource. */\nexport enum KnownCreatedByType {\n /** The entity was created by a user. */\n User = \"User\",\n /** The entity was created by an application. */\n Application = \"Application\",\n /** The entity was created by a managed identity. */\n ManagedIdentity = \"ManagedIdentity\",\n /** The entity was created by a key. */\n Key = \"Key\",\n}\n\n/**\n * The kind of entity that created the resource. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User**: The entity was created by a user. \\\n * **Application**: The entity was created by an application. \\\n * **ManagedIdentity**: The entity was created by a managed identity. \\\n * **Key**: The entity was created by a key.\n */\nexport type CreatedByType = string;\n\n/** The update request model for the Scheduler resource */\nexport interface SchedulerUpdate {\n /** The resource-specific properties for this resource. */\n properties?: SchedulerPropertiesUpdate;\n /** Resource tags. */\n tags?: Record<string, string>;\n}\n\nexport function schedulerUpdateSerializer(item: SchedulerUpdate): any {\n return {\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : schedulerPropertiesUpdateSerializer(item[\"properties\"]),\n tags: item[\"tags\"],\n };\n}\n\n/** The Scheduler resource properties to be updated */\nexport interface SchedulerPropertiesUpdate {\n /** The status of the last operation */\n readonly provisioningState?: ProvisioningState;\n /** URL of the durable task scheduler */\n readonly endpoint?: string;\n /** IP allow list for durable task scheduler. Values can be IPv4, IPv6 or CIDR */\n ipAllowlist?: string[];\n /** SKU of the durable task scheduler */\n sku?: SchedulerSkuUpdate;\n}\n\nexport function schedulerPropertiesUpdateSerializer(item: SchedulerPropertiesUpdate): any {\n return {\n ipAllowlist: !item[\"ipAllowlist\"]\n ? item[\"ipAllowlist\"]\n : item[\"ipAllowlist\"].map((p: any) => {\n return p;\n }),\n sku: !item[\"sku\"] ? item[\"sku\"] : schedulerSkuUpdateSerializer(item[\"sku\"]),\n };\n}\n\n/** The SKU (Stock Keeping Unit) properties to be updated */\nexport interface SchedulerSkuUpdate {\n /** The name of the SKU */\n name?: SchedulerSkuName;\n /** The SKU capacity. This allows scale out/in for the resource and impacts zone redundancy */\n capacity?: number;\n /** Indicates whether the current SKU configuration is zone redundant */\n readonly redundancyState?: RedundancyState;\n}\n\nexport function schedulerSkuUpdateSerializer(item: SchedulerSkuUpdate): any {\n return { name: item[\"name\"], capacity: item[\"capacity\"] };\n}\n\n/** The response of a Scheduler list operation. */\nexport interface _SchedulerListResult {\n /** The Scheduler items on this page */\n value: Scheduler[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _schedulerListResultDeserializer(item: any): _SchedulerListResult {\n return {\n value: schedulerArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function schedulerArraySerializer(result: Array<Scheduler>): any[] {\n return result.map((item) => {\n return schedulerSerializer(item);\n });\n}\n\nexport function schedulerArrayDeserializer(result: Array<Scheduler>): any[] {\n return result.map((item) => {\n return schedulerDeserializer(item);\n });\n}\n\n/** A Task Hub resource belonging to the scheduler */\nexport interface TaskHub extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: TaskHubProperties;\n}\n\nexport function taskHubSerializer(item: TaskHub): any {\n return {\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : taskHubPropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function taskHubDeserializer(item: any): TaskHub {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : taskHubPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** The properties of Task Hub */\nexport interface TaskHubProperties {\n /** The status of the last operation */\n readonly provisioningState?: ProvisioningState;\n /** URL of the durable task scheduler dashboard */\n readonly dashboardUrl?: string;\n}\n\nexport function taskHubPropertiesSerializer(item: TaskHubProperties): any {\n return item;\n}\n\nexport function taskHubPropertiesDeserializer(item: any): TaskHubProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n dashboardUrl: item[\"dashboardUrl\"],\n };\n}\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResource extends Resource {}\n\nexport function proxyResourceSerializer(item: ProxyResource): any {\n return item;\n}\n\nexport function proxyResourceDeserializer(item: any): ProxyResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** The response of a TaskHub list operation. */\nexport interface _TaskHubListResult {\n /** The TaskHub items on this page */\n value: TaskHub[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _taskHubListResultDeserializer(item: any): _TaskHubListResult {\n return {\n value: taskHubArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function taskHubArraySerializer(result: Array<TaskHub>): any[] {\n return result.map((item) => {\n return taskHubSerializer(item);\n });\n}\n\nexport function taskHubArrayDeserializer(result: Array<TaskHub>): any[] {\n return result.map((item) => {\n return taskHubDeserializer(item);\n });\n}\n\n/** A retention policy resource belonging to the scheduler */\nexport interface RetentionPolicy extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: RetentionPolicyProperties;\n}\n\nexport function retentionPolicySerializer(item: RetentionPolicy): any {\n return {\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : retentionPolicyPropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function retentionPolicyDeserializer(item: any): RetentionPolicy {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : retentionPolicyPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** The retention policy settings for the resource */\nexport interface RetentionPolicyProperties {\n /** The status of the last operation */\n readonly provisioningState?: ProvisioningState;\n /** The orchestration retention policies */\n retentionPolicies?: RetentionPolicyDetails[];\n}\n\nexport function retentionPolicyPropertiesSerializer(item: RetentionPolicyProperties): any {\n return {\n retentionPolicies: !item[\"retentionPolicies\"]\n ? item[\"retentionPolicies\"]\n : retentionPolicyDetailsArraySerializer(item[\"retentionPolicies\"]),\n };\n}\n\nexport function retentionPolicyPropertiesDeserializer(item: any): RetentionPolicyProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n retentionPolicies: !item[\"retentionPolicies\"]\n ? item[\"retentionPolicies\"]\n : retentionPolicyDetailsArrayDeserializer(item[\"retentionPolicies\"]),\n };\n}\n\nexport function retentionPolicyDetailsArraySerializer(\n result: Array<RetentionPolicyDetails>,\n): any[] {\n return result.map((item) => {\n return retentionPolicyDetailsSerializer(item);\n });\n}\n\nexport function retentionPolicyDetailsArrayDeserializer(\n result: Array<RetentionPolicyDetails>,\n): any[] {\n return result.map((item) => {\n return retentionPolicyDetailsDeserializer(item);\n });\n}\n\n/** The properties of a retention policy */\nexport interface RetentionPolicyDetails {\n /** The retention period in days after which the orchestration will be purged automatically */\n retentionPeriodInDays: number;\n /** The orchestration state to which this policy applies. If omitted, the policy applies to all purgeable orchestration states. */\n orchestrationState?: PurgeableOrchestrationState;\n}\n\nexport function retentionPolicyDetailsSerializer(item: RetentionPolicyDetails): any {\n return {\n retentionPeriodInDays: item[\"retentionPeriodInDays\"],\n orchestrationState: item[\"orchestrationState\"],\n };\n}\n\nexport function retentionPolicyDetailsDeserializer(item: any): RetentionPolicyDetails {\n return {\n retentionPeriodInDays: item[\"retentionPeriodInDays\"],\n orchestrationState: item[\"orchestrationState\"],\n };\n}\n\n/** Purgeable orchestration state to be used in retention policies */\nexport enum KnownPurgeableOrchestrationState {\n /** The orchestration is completed */\n Completed = \"Completed\",\n /** The orchestration is failed */\n Failed = \"Failed\",\n /** The orchestration is terminated */\n Terminated = \"Terminated\",\n /** The orchestration is canceled */\n Canceled = \"Canceled\",\n}\n\n/**\n * Purgeable orchestration state to be used in retention policies \\\n * {@link KnownPurgeableOrchestrationState} can be used interchangeably with PurgeableOrchestrationState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Completed**: The orchestration is completed \\\n * **Failed**: The orchestration is failed \\\n * **Terminated**: The orchestration is terminated \\\n * **Canceled**: The orchestration is canceled\n */\nexport type PurgeableOrchestrationState = string;\n\n/** The response of a RetentionPolicy list operation. */\nexport interface _RetentionPolicyListResult {\n /** The RetentionPolicy items on this page */\n value: RetentionPolicy[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _retentionPolicyListResultDeserializer(item: any): _RetentionPolicyListResult {\n return {\n value: retentionPolicyArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function retentionPolicyArraySerializer(result: Array<RetentionPolicy>): any[] {\n return result.map((item) => {\n return retentionPolicySerializer(item);\n });\n}\n\nexport function retentionPolicyArrayDeserializer(result: Array<RetentionPolicy>): any[] {\n return result.map((item) => {\n return retentionPolicyDeserializer(item);\n });\n}\n\n/** API Versions */\nexport enum KnownVersions {\n /** 2025-11-01 */\n V20251101 = \"2025-11-01\",\n}\n"]}
|