@azure/arm-networkfunction 2.0.2-alpha.20260306.1 → 3.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +10 -11
- package/dist/browser/api/azureTrafficCollectorContext.d.ts +22 -0
- package/dist/browser/api/azureTrafficCollectorContext.js +26 -0
- package/dist/browser/api/azureTrafficCollectorContext.js.map +1 -0
- package/dist/browser/api/azureTrafficCollectors/index.d.ts +3 -0
- package/dist/browser/api/azureTrafficCollectors/index.js +4 -0
- package/dist/browser/api/azureTrafficCollectors/index.js.map +1 -0
- package/dist/browser/api/azureTrafficCollectors/operations.d.ts +22 -0
- package/dist/browser/api/azureTrafficCollectors/operations.js +138 -0
- package/dist/browser/api/azureTrafficCollectors/operations.js.map +1 -0
- package/dist/browser/api/azureTrafficCollectors/options.d.ts +18 -0
- package/dist/browser/api/azureTrafficCollectors/options.js +4 -0
- package/dist/browser/api/azureTrafficCollectors/options.js.map +1 -0
- package/dist/browser/api/azureTrafficCollectorsByResourceGroup/index.d.ts +3 -0
- package/dist/browser/api/azureTrafficCollectorsByResourceGroup/index.js +4 -0
- package/dist/browser/api/azureTrafficCollectorsByResourceGroup/index.js.map +1 -0
- package/dist/browser/api/azureTrafficCollectorsByResourceGroup/operations.d.ts +10 -0
- package/dist/browser/api/azureTrafficCollectorsByResourceGroup/operations.js +35 -0
- package/dist/browser/api/azureTrafficCollectorsByResourceGroup/operations.js.map +1 -0
- package/dist/browser/api/azureTrafficCollectorsByResourceGroup/options.d.ts +5 -0
- package/dist/browser/api/azureTrafficCollectorsByResourceGroup/options.js +4 -0
- package/dist/browser/api/azureTrafficCollectorsByResourceGroup/options.js.map +1 -0
- package/dist/browser/api/azureTrafficCollectorsBySubscription/index.d.ts +3 -0
- package/dist/browser/api/azureTrafficCollectorsBySubscription/index.js +4 -0
- package/dist/browser/api/azureTrafficCollectorsBySubscription/index.js.map +1 -0
- package/dist/browser/api/azureTrafficCollectorsBySubscription/operations.d.ts +10 -0
- package/dist/browser/api/azureTrafficCollectorsBySubscription/operations.js +34 -0
- package/dist/browser/api/azureTrafficCollectorsBySubscription/operations.js.map +1 -0
- package/dist/browser/api/azureTrafficCollectorsBySubscription/options.d.ts +5 -0
- package/dist/browser/api/azureTrafficCollectorsBySubscription/options.js +4 -0
- package/dist/browser/api/azureTrafficCollectorsBySubscription/options.js.map +1 -0
- package/dist/browser/api/collectorPolicies/index.d.ts +3 -0
- package/dist/browser/api/collectorPolicies/index.js +4 -0
- package/dist/browser/api/collectorPolicies/index.js.map +1 -0
- package/dist/browser/api/collectorPolicies/operations.d.ts +27 -0
- package/dist/browser/api/collectorPolicies/operations.js +172 -0
- package/dist/browser/api/collectorPolicies/operations.js.map +1 -0
- package/dist/browser/api/collectorPolicies/options.d.ts +21 -0
- package/dist/browser/api/collectorPolicies/options.js +4 -0
- package/dist/browser/api/collectorPolicies/options.js.map +1 -0
- package/dist/browser/api/index.d.ts +3 -0
- package/dist/browser/api/index.js +4 -0
- package/dist/browser/api/index.js.map +1 -0
- package/dist/browser/api/networkFunction/index.d.ts +3 -0
- package/dist/browser/api/networkFunction/index.js +4 -0
- package/dist/browser/api/networkFunction/index.js.map +1 -0
- package/dist/browser/api/networkFunction/operations.d.ts +10 -0
- package/dist/browser/api/networkFunction/operations.js +33 -0
- package/dist/browser/api/networkFunction/operations.js.map +1 -0
- package/dist/browser/api/networkFunction/options.d.ts +5 -0
- package/dist/browser/api/networkFunction/options.js +4 -0
- package/dist/browser/api/networkFunction/options.js.map +1 -0
- package/dist/browser/azureTrafficCollectorClient.d.ts +25 -22
- package/dist/browser/azureTrafficCollectorClient.js +41 -105
- package/dist/browser/azureTrafficCollectorClient.js.map +1 -1
- package/dist/browser/classic/azureTrafficCollectors/index.d.ts +26 -0
- package/dist/browser/classic/azureTrafficCollectors/index.js +34 -0
- package/dist/browser/classic/azureTrafficCollectors/index.js.map +1 -0
- package/dist/browser/classic/azureTrafficCollectorsByResourceGroup/index.d.ts +11 -0
- package/dist/browser/classic/azureTrafficCollectorsByResourceGroup/index.js +14 -0
- package/dist/browser/classic/azureTrafficCollectorsByResourceGroup/index.js.map +1 -0
- package/dist/browser/classic/azureTrafficCollectorsBySubscription/index.d.ts +11 -0
- package/dist/browser/classic/azureTrafficCollectorsBySubscription/index.js +14 -0
- package/dist/browser/classic/azureTrafficCollectorsBySubscription/index.js.map +1 -0
- package/dist/browser/classic/collectorPolicies/index.d.ts +29 -0
- package/dist/browser/classic/collectorPolicies/index.js +35 -0
- package/dist/browser/classic/collectorPolicies/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +6 -0
- package/dist/browser/classic/index.js +4 -0
- package/dist/browser/classic/index.js.map +1 -0
- package/dist/browser/classic/networkFunction/index.d.ts +11 -0
- package/dist/browser/classic/networkFunction/index.js +14 -0
- package/dist/browser/classic/networkFunction/index.js.map +1 -0
- package/dist/browser/index.d.ts +19 -3
- package/dist/browser/index.js +7 -11
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.js +5 -0
- package/dist/browser/logger.js.map +1 -0
- package/dist/browser/models/index.d.ts +2 -432
- package/dist/browser/models/index.js +3 -65
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +335 -0
- package/dist/browser/models/models.js +405 -0
- package/dist/browser/models/models.js.map +1 -0
- package/dist/browser/restorePollerHelpers.d.ts +21 -0
- package/dist/browser/restorePollerHelpers.js +104 -0
- package/dist/browser/restorePollerHelpers.js.map +1 -0
- 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 +74 -0
- package/dist/browser/static-helpers/pagingHelpers.js +143 -0
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/browser/static-helpers/pollingHelpers.js +95 -0
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.js +17 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.js.map +1 -0
- package/dist/browser/static-helpers/simplePollerHelpers.d.ts +73 -0
- package/dist/browser/static-helpers/simplePollerHelpers.js +44 -0
- package/dist/browser/static-helpers/simplePollerHelpers.js.map +1 -0
- package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/browser/static-helpers/urlTemplate.js +200 -0
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/api/azureTrafficCollectorContext.d.ts +22 -0
- package/dist/commonjs/api/azureTrafficCollectorContext.js +47 -0
- package/dist/commonjs/api/azureTrafficCollectorContext.js.map +7 -0
- package/dist/commonjs/api/azureTrafficCollectors/index.d.ts +3 -0
- package/dist/commonjs/api/azureTrafficCollectors/index.js +34 -0
- package/dist/commonjs/api/azureTrafficCollectors/index.js.map +7 -0
- package/dist/commonjs/api/azureTrafficCollectors/operations.d.ts +22 -0
- package/dist/commonjs/api/azureTrafficCollectors/operations.js +208 -0
- package/dist/commonjs/api/azureTrafficCollectors/operations.js.map +7 -0
- package/dist/commonjs/api/azureTrafficCollectors/options.d.ts +18 -0
- package/dist/commonjs/{operationsInterfaces/azureTrafficCollectors.js → api/azureTrafficCollectors/options.js} +3 -2
- package/dist/commonjs/api/azureTrafficCollectors/options.js.map +7 -0
- package/dist/commonjs/api/azureTrafficCollectorsByResourceGroup/index.d.ts +3 -0
- package/dist/commonjs/{operationsInterfaces/azureTrafficCollectorsByResourceGroup.js → api/azureTrafficCollectorsByResourceGroup/index.js} +13 -0
- package/dist/commonjs/api/azureTrafficCollectorsByResourceGroup/index.js.map +7 -0
- package/dist/commonjs/api/azureTrafficCollectorsByResourceGroup/operations.d.ts +10 -0
- package/dist/commonjs/api/azureTrafficCollectorsByResourceGroup/operations.js +72 -0
- package/dist/commonjs/api/azureTrafficCollectorsByResourceGroup/operations.js.map +7 -0
- package/dist/commonjs/api/azureTrafficCollectorsByResourceGroup/options.d.ts +5 -0
- package/dist/commonjs/{operationsInterfaces/collectorPolicies.js → api/azureTrafficCollectorsByResourceGroup/options.js} +3 -2
- package/dist/commonjs/api/azureTrafficCollectorsByResourceGroup/options.js.map +7 -0
- package/dist/commonjs/api/azureTrafficCollectorsBySubscription/index.d.ts +3 -0
- package/dist/commonjs/api/azureTrafficCollectorsBySubscription/index.js +28 -0
- package/dist/commonjs/api/azureTrafficCollectorsBySubscription/index.js.map +7 -0
- package/dist/commonjs/api/azureTrafficCollectorsBySubscription/operations.d.ts +10 -0
- package/dist/commonjs/api/azureTrafficCollectorsBySubscription/operations.js +71 -0
- package/dist/commonjs/api/azureTrafficCollectorsBySubscription/operations.js.map +7 -0
- package/dist/commonjs/api/azureTrafficCollectorsBySubscription/options.d.ts +5 -0
- package/dist/commonjs/{operationsInterfaces/azureTrafficCollectorsBySubscription.js → api/azureTrafficCollectorsBySubscription/options.js} +3 -2
- package/dist/commonjs/api/azureTrafficCollectorsBySubscription/options.js.map +7 -0
- package/dist/commonjs/api/collectorPolicies/index.d.ts +3 -0
- package/dist/commonjs/api/collectorPolicies/index.js +36 -0
- package/dist/commonjs/api/collectorPolicies/index.js.map +7 -0
- package/dist/commonjs/api/collectorPolicies/operations.d.ts +27 -0
- package/dist/commonjs/api/collectorPolicies/operations.js +271 -0
- package/dist/commonjs/api/collectorPolicies/operations.js.map +7 -0
- package/dist/commonjs/api/collectorPolicies/options.d.ts +21 -0
- package/dist/commonjs/api/collectorPolicies/options.js +16 -0
- package/dist/commonjs/api/collectorPolicies/options.js.map +7 -0
- package/dist/commonjs/api/index.d.ts +3 -0
- package/dist/commonjs/api/index.js +28 -0
- package/dist/commonjs/api/index.js.map +7 -0
- package/dist/commonjs/api/networkFunction/index.d.ts +3 -0
- package/dist/commonjs/api/networkFunction/index.js +28 -0
- package/dist/commonjs/api/networkFunction/index.js.map +7 -0
- package/dist/commonjs/api/networkFunction/operations.d.ts +10 -0
- package/dist/commonjs/api/networkFunction/operations.js +70 -0
- package/dist/commonjs/api/networkFunction/operations.js.map +7 -0
- package/dist/commonjs/api/networkFunction/options.d.ts +5 -0
- package/dist/commonjs/api/networkFunction/options.js +16 -0
- package/dist/commonjs/api/networkFunction/options.js.map +7 -0
- package/dist/commonjs/azureTrafficCollectorClient.d.ts +25 -22
- package/dist/commonjs/azureTrafficCollectorClient.js +38 -105
- package/dist/commonjs/azureTrafficCollectorClient.js.map +3 -3
- package/dist/commonjs/classic/azureTrafficCollectors/index.d.ts +26 -0
- package/dist/commonjs/classic/azureTrafficCollectors/index.js +70 -0
- package/dist/commonjs/classic/azureTrafficCollectors/index.js.map +7 -0
- package/dist/commonjs/classic/azureTrafficCollectorsByResourceGroup/index.d.ts +11 -0
- package/dist/commonjs/classic/azureTrafficCollectorsByResourceGroup/index.js +38 -0
- package/dist/commonjs/classic/azureTrafficCollectorsByResourceGroup/index.js.map +7 -0
- package/dist/commonjs/classic/azureTrafficCollectorsBySubscription/index.d.ts +11 -0
- package/dist/commonjs/classic/azureTrafficCollectorsBySubscription/index.js +38 -0
- package/dist/commonjs/classic/azureTrafficCollectorsBySubscription/index.js.map +7 -0
- package/dist/commonjs/classic/collectorPolicies/index.d.ts +29 -0
- package/dist/commonjs/classic/collectorPolicies/index.js +99 -0
- package/dist/commonjs/classic/collectorPolicies/index.js.map +7 -0
- package/dist/commonjs/classic/index.d.ts +6 -0
- package/dist/commonjs/{operationsInterfaces/networkFunction.js → classic/index.js} +3 -2
- package/dist/commonjs/classic/index.js.map +7 -0
- package/dist/commonjs/classic/networkFunction/index.d.ts +11 -0
- package/dist/commonjs/{pagingHelper.js → classic/networkFunction/index.js} +15 -20
- package/dist/commonjs/classic/networkFunction/index.js.map +7 -0
- package/dist/commonjs/index.d.ts +19 -3
- package/dist/commonjs/index.js +27 -8
- package/dist/commonjs/index.js.map +3 -3
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.js +29 -0
- package/dist/commonjs/logger.js.map +7 -0
- package/dist/commonjs/models/index.d.ts +2 -432
- package/dist/commonjs/models/index.js +11 -45
- package/dist/commonjs/models/index.js.map +4 -4
- package/dist/commonjs/models/models.d.ts +335 -0
- package/dist/commonjs/models/models.js +461 -0
- package/dist/commonjs/models/models.js.map +7 -0
- package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
- package/dist/commonjs/restorePollerHelpers.js +117 -0
- package/dist/commonjs/restorePollerHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js +143 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js +101 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/commonjs/{lroImpl.js → static-helpers/serialization/check-prop-undefined.js} +12 -23
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +7 -0
- package/dist/commonjs/static-helpers/simplePollerHelpers.d.ts +73 -0
- package/dist/commonjs/static-helpers/simplePollerHelpers.js +67 -0
- package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/commonjs/static-helpers/urlTemplate.js +197 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/api/azureTrafficCollectorContext.d.ts +22 -0
- package/dist/esm/api/azureTrafficCollectorContext.js +26 -0
- package/dist/esm/api/azureTrafficCollectorContext.js.map +1 -0
- package/dist/esm/api/azureTrafficCollectors/index.d.ts +3 -0
- package/dist/esm/api/azureTrafficCollectors/index.js +4 -0
- package/dist/esm/api/azureTrafficCollectors/index.js.map +1 -0
- package/dist/esm/api/azureTrafficCollectors/operations.d.ts +22 -0
- package/dist/esm/api/azureTrafficCollectors/operations.js +138 -0
- package/dist/esm/api/azureTrafficCollectors/operations.js.map +1 -0
- package/dist/esm/api/azureTrafficCollectors/options.d.ts +18 -0
- package/dist/esm/api/azureTrafficCollectors/options.js +4 -0
- package/dist/esm/api/azureTrafficCollectors/options.js.map +1 -0
- package/dist/esm/api/azureTrafficCollectorsByResourceGroup/index.d.ts +3 -0
- package/dist/esm/api/azureTrafficCollectorsByResourceGroup/index.js +4 -0
- package/dist/esm/api/azureTrafficCollectorsByResourceGroup/index.js.map +1 -0
- package/dist/esm/api/azureTrafficCollectorsByResourceGroup/operations.d.ts +10 -0
- package/dist/esm/api/azureTrafficCollectorsByResourceGroup/operations.js +35 -0
- package/dist/esm/api/azureTrafficCollectorsByResourceGroup/operations.js.map +1 -0
- package/dist/esm/api/azureTrafficCollectorsByResourceGroup/options.d.ts +5 -0
- package/dist/esm/api/azureTrafficCollectorsByResourceGroup/options.js +4 -0
- package/dist/esm/api/azureTrafficCollectorsByResourceGroup/options.js.map +1 -0
- package/dist/esm/api/azureTrafficCollectorsBySubscription/index.d.ts +3 -0
- package/dist/esm/api/azureTrafficCollectorsBySubscription/index.js +4 -0
- package/dist/esm/api/azureTrafficCollectorsBySubscription/index.js.map +1 -0
- package/dist/esm/api/azureTrafficCollectorsBySubscription/operations.d.ts +10 -0
- package/dist/esm/api/azureTrafficCollectorsBySubscription/operations.js +34 -0
- package/dist/esm/api/azureTrafficCollectorsBySubscription/operations.js.map +1 -0
- package/dist/esm/api/azureTrafficCollectorsBySubscription/options.d.ts +5 -0
- package/dist/esm/api/azureTrafficCollectorsBySubscription/options.js +4 -0
- package/dist/esm/api/azureTrafficCollectorsBySubscription/options.js.map +1 -0
- package/dist/esm/api/collectorPolicies/index.d.ts +3 -0
- package/dist/esm/api/collectorPolicies/index.js +4 -0
- package/dist/esm/api/collectorPolicies/index.js.map +1 -0
- package/dist/esm/api/collectorPolicies/operations.d.ts +27 -0
- package/dist/esm/api/collectorPolicies/operations.js +172 -0
- package/dist/esm/api/collectorPolicies/operations.js.map +1 -0
- package/dist/esm/api/collectorPolicies/options.d.ts +21 -0
- package/dist/esm/api/collectorPolicies/options.js +4 -0
- package/dist/esm/api/collectorPolicies/options.js.map +1 -0
- package/dist/esm/api/index.d.ts +3 -0
- package/dist/esm/api/index.js +4 -0
- package/dist/esm/api/index.js.map +1 -0
- package/dist/esm/api/networkFunction/index.d.ts +3 -0
- package/dist/esm/api/networkFunction/index.js +4 -0
- package/dist/esm/api/networkFunction/index.js.map +1 -0
- package/dist/esm/api/networkFunction/operations.d.ts +10 -0
- package/dist/esm/api/networkFunction/operations.js +33 -0
- package/dist/esm/api/networkFunction/operations.js.map +1 -0
- package/dist/esm/api/networkFunction/options.d.ts +5 -0
- package/dist/esm/api/networkFunction/options.js +4 -0
- package/dist/esm/api/networkFunction/options.js.map +1 -0
- package/dist/esm/azureTrafficCollectorClient.d.ts +25 -22
- package/dist/esm/azureTrafficCollectorClient.js +48 -110
- package/dist/esm/azureTrafficCollectorClient.js.map +1 -7
- package/dist/esm/classic/azureTrafficCollectors/index.d.ts +26 -0
- package/dist/esm/classic/azureTrafficCollectors/index.js +34 -0
- package/dist/esm/classic/azureTrafficCollectors/index.js.map +1 -0
- package/dist/esm/classic/azureTrafficCollectorsByResourceGroup/index.d.ts +11 -0
- package/dist/esm/classic/azureTrafficCollectorsByResourceGroup/index.js +14 -0
- package/dist/esm/classic/azureTrafficCollectorsByResourceGroup/index.js.map +1 -0
- package/dist/esm/classic/azureTrafficCollectorsBySubscription/index.d.ts +11 -0
- package/dist/esm/classic/azureTrafficCollectorsBySubscription/index.js +14 -0
- package/dist/esm/classic/azureTrafficCollectorsBySubscription/index.js.map +1 -0
- package/dist/esm/classic/collectorPolicies/index.d.ts +29 -0
- package/dist/esm/classic/collectorPolicies/index.js +35 -0
- package/dist/esm/classic/collectorPolicies/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +6 -0
- package/dist/esm/classic/index.js +4 -0
- package/dist/esm/classic/index.js.map +1 -0
- package/dist/esm/classic/networkFunction/index.d.ts +11 -0
- package/dist/esm/classic/networkFunction/index.js +14 -0
- package/dist/esm/classic/networkFunction/index.js.map +1 -0
- package/dist/esm/index.d.ts +19 -3
- package/dist/esm/index.js +9 -8
- package/dist/esm/index.js.map +1 -7
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/models/index.d.ts +2 -432
- package/dist/esm/models/index.js +4 -45
- package/dist/esm/models/index.js.map +1 -7
- package/dist/esm/models/models.d.ts +335 -0
- package/dist/esm/models/models.js +405 -0
- package/dist/esm/models/models.js.map +1 -0
- package/dist/esm/restorePollerHelpers.d.ts +21 -0
- package/dist/esm/restorePollerHelpers.js +104 -0
- package/dist/esm/restorePollerHelpers.js.map +1 -0
- 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 +74 -0
- package/dist/esm/static-helpers/pagingHelpers.js +143 -0
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/esm/static-helpers/pollingHelpers.js +95 -0
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js +17 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +1 -0
- package/dist/esm/static-helpers/simplePollerHelpers.d.ts +73 -0
- package/dist/esm/static-helpers/simplePollerHelpers.js +44 -0
- package/dist/esm/static-helpers/simplePollerHelpers.js.map +1 -0
- package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/esm/static-helpers/urlTemplate.js +200 -0
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
- package/package.json +189 -80
- package/CHANGELOG.md +0 -44
- package/dist/browser/azureTrafficCollectorClient.d.ts.map +0 -1
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/browser/lroImpl.d.ts +0 -16
- package/dist/browser/lroImpl.d.ts.map +0 -1
- package/dist/browser/lroImpl.js +0 -33
- package/dist/browser/lroImpl.js.map +0 -1
- package/dist/browser/models/index.d.ts.map +0 -1
- package/dist/browser/models/mappers.d.ts +0 -21
- package/dist/browser/models/mappers.d.ts.map +0 -1
- package/dist/browser/models/mappers.js +0 -534
- package/dist/browser/models/mappers.js.map +0 -1
- package/dist/browser/models/parameters.d.ts +0 -19
- package/dist/browser/models/parameters.d.ts.map +0 -1
- package/dist/browser/models/parameters.js +0 -136
- package/dist/browser/models/parameters.js.map +0 -1
- package/dist/browser/operations/azureTrafficCollectors.d.ts +0 -59
- package/dist/browser/operations/azureTrafficCollectors.d.ts.map +0 -1
- package/dist/browser/operations/azureTrafficCollectors.js +0 -258
- package/dist/browser/operations/azureTrafficCollectors.js.map +0 -1
- package/dist/browser/operations/azureTrafficCollectorsByResourceGroup.d.ts +0 -35
- package/dist/browser/operations/azureTrafficCollectorsByResourceGroup.d.ts.map +0 -1
- package/dist/browser/operations/azureTrafficCollectorsByResourceGroup.js +0 -129
- package/dist/browser/operations/azureTrafficCollectorsByResourceGroup.js.map +0 -1
- package/dist/browser/operations/azureTrafficCollectorsBySubscription.d.ts +0 -32
- package/dist/browser/operations/azureTrafficCollectorsBySubscription.d.ts.map +0 -1
- package/dist/browser/operations/azureTrafficCollectorsBySubscription.js +0 -121
- package/dist/browser/operations/azureTrafficCollectorsBySubscription.js.map +0 -1
- package/dist/browser/operations/collectorPolicies.d.ts +0 -90
- package/dist/browser/operations/collectorPolicies.d.ts.map +0 -1
- package/dist/browser/operations/collectorPolicies.js +0 -401
- package/dist/browser/operations/collectorPolicies.js.map +0 -1
- package/dist/browser/operations/index.d.ts +0 -6
- package/dist/browser/operations/index.d.ts.map +0 -1
- package/dist/browser/operations/index.js +0 -13
- package/dist/browser/operations/index.js.map +0 -1
- package/dist/browser/operations/networkFunction.d.ts +0 -26
- package/dist/browser/operations/networkFunction.d.ts.map +0 -1
- package/dist/browser/operations/networkFunction.js +0 -79
- package/dist/browser/operations/networkFunction.js.map +0 -1
- package/dist/browser/operationsInterfaces/azureTrafficCollectors.d.ts +0 -51
- package/dist/browser/operationsInterfaces/azureTrafficCollectors.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/azureTrafficCollectors.js +0 -9
- package/dist/browser/operationsInterfaces/azureTrafficCollectors.js.map +0 -1
- package/dist/browser/operationsInterfaces/azureTrafficCollectorsByResourceGroup.d.ts +0 -12
- package/dist/browser/operationsInterfaces/azureTrafficCollectorsByResourceGroup.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js +0 -9
- package/dist/browser/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js.map +0 -1
- package/dist/browser/operationsInterfaces/azureTrafficCollectorsBySubscription.d.ts +0 -11
- package/dist/browser/operationsInterfaces/azureTrafficCollectorsBySubscription.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/azureTrafficCollectorsBySubscription.js +0 -9
- package/dist/browser/operationsInterfaces/azureTrafficCollectorsBySubscription.js.map +0 -1
- package/dist/browser/operationsInterfaces/collectorPolicies.d.ts +0 -65
- package/dist/browser/operationsInterfaces/collectorPolicies.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/collectorPolicies.js +0 -9
- package/dist/browser/operationsInterfaces/collectorPolicies.js.map +0 -1
- package/dist/browser/operationsInterfaces/index.d.ts +0 -6
- package/dist/browser/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/index.js +0 -13
- package/dist/browser/operationsInterfaces/index.js.map +0 -1
- package/dist/browser/operationsInterfaces/networkFunction.d.ts +0 -11
- package/dist/browser/operationsInterfaces/networkFunction.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/networkFunction.js +0 -9
- package/dist/browser/operationsInterfaces/networkFunction.js.map +0 -1
- package/dist/browser/pagingHelper.d.ts +0 -13
- package/dist/browser/pagingHelper.d.ts.map +0 -1
- package/dist/browser/pagingHelper.js +0 -30
- package/dist/browser/pagingHelper.js.map +0 -1
- package/dist/commonjs/azureTrafficCollectorClient.d.ts.map +0 -1
- package/dist/commonjs/index.d.ts.map +0 -1
- package/dist/commonjs/lroImpl.d.ts +0 -16
- package/dist/commonjs/lroImpl.d.ts.map +0 -1
- package/dist/commonjs/lroImpl.js.map +0 -7
- package/dist/commonjs/models/index.d.ts.map +0 -1
- package/dist/commonjs/models/mappers.d.ts +0 -21
- package/dist/commonjs/models/mappers.d.ts.map +0 -1
- package/dist/commonjs/models/mappers.js +0 -588
- package/dist/commonjs/models/mappers.js.map +0 -7
- package/dist/commonjs/models/parameters.d.ts +0 -19
- package/dist/commonjs/models/parameters.d.ts.map +0 -1
- package/dist/commonjs/models/parameters.js +0 -186
- package/dist/commonjs/models/parameters.js.map +0 -7
- package/dist/commonjs/operations/azureTrafficCollectors.d.ts +0 -59
- package/dist/commonjs/operations/azureTrafficCollectors.d.ts.map +0 -1
- package/dist/commonjs/operations/azureTrafficCollectors.js +0 -311
- package/dist/commonjs/operations/azureTrafficCollectors.js.map +0 -7
- package/dist/commonjs/operations/azureTrafficCollectorsByResourceGroup.d.ts +0 -35
- package/dist/commonjs/operations/azureTrafficCollectorsByResourceGroup.d.ts.map +0 -1
- package/dist/commonjs/operations/azureTrafficCollectorsByResourceGroup.js +0 -168
- package/dist/commonjs/operations/azureTrafficCollectorsByResourceGroup.js.map +0 -7
- package/dist/commonjs/operations/azureTrafficCollectorsBySubscription.d.ts +0 -32
- package/dist/commonjs/operations/azureTrafficCollectorsBySubscription.d.ts.map +0 -1
- package/dist/commonjs/operations/azureTrafficCollectorsBySubscription.js +0 -153
- package/dist/commonjs/operations/azureTrafficCollectorsBySubscription.js.map +0 -7
- package/dist/commonjs/operations/collectorPolicies.d.ts +0 -90
- package/dist/commonjs/operations/collectorPolicies.d.ts.map +0 -1
- package/dist/commonjs/operations/collectorPolicies.js +0 -483
- package/dist/commonjs/operations/collectorPolicies.js.map +0 -7
- package/dist/commonjs/operations/index.d.ts +0 -6
- package/dist/commonjs/operations/index.d.ts.map +0 -1
- package/dist/commonjs/operations/index.js +0 -29
- package/dist/commonjs/operations/index.js.map +0 -7
- package/dist/commonjs/operations/networkFunction.d.ts +0 -26
- package/dist/commonjs/operations/networkFunction.d.ts.map +0 -1
- package/dist/commonjs/operations/networkFunction.js +0 -111
- package/dist/commonjs/operations/networkFunction.js.map +0 -7
- package/dist/commonjs/operationsInterfaces/azureTrafficCollectors.d.ts +0 -51
- package/dist/commonjs/operationsInterfaces/azureTrafficCollectors.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/azureTrafficCollectors.js.map +0 -7
- package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsByResourceGroup.d.ts +0 -12
- package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsByResourceGroup.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js.map +0 -7
- package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsBySubscription.d.ts +0 -11
- package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsBySubscription.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsBySubscription.js.map +0 -7
- package/dist/commonjs/operationsInterfaces/collectorPolicies.d.ts +0 -65
- package/dist/commonjs/operationsInterfaces/collectorPolicies.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/collectorPolicies.js.map +0 -7
- package/dist/commonjs/operationsInterfaces/index.d.ts +0 -6
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/index.js +0 -29
- package/dist/commonjs/operationsInterfaces/index.js.map +0 -7
- package/dist/commonjs/operationsInterfaces/networkFunction.d.ts +0 -11
- package/dist/commonjs/operationsInterfaces/networkFunction.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/networkFunction.js.map +0 -7
- package/dist/commonjs/pagingHelper.d.ts +0 -13
- package/dist/commonjs/pagingHelper.d.ts.map +0 -1
- package/dist/commonjs/pagingHelper.js.map +0 -7
- package/dist/esm/azureTrafficCollectorClient.d.ts.map +0 -1
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/lroImpl.d.ts +0 -16
- package/dist/esm/lroImpl.d.ts.map +0 -1
- package/dist/esm/lroImpl.js +0 -23
- package/dist/esm/lroImpl.js.map +0 -7
- package/dist/esm/models/index.d.ts.map +0 -1
- package/dist/esm/models/mappers.d.ts +0 -21
- package/dist/esm/models/mappers.d.ts.map +0 -1
- package/dist/esm/models/mappers.js +0 -547
- package/dist/esm/models/mappers.js.map +0 -7
- package/dist/esm/models/parameters.d.ts +0 -19
- package/dist/esm/models/parameters.d.ts.map +0 -1
- package/dist/esm/models/parameters.js +0 -151
- package/dist/esm/models/parameters.js.map +0 -7
- package/dist/esm/operations/azureTrafficCollectors.d.ts +0 -59
- package/dist/esm/operations/azureTrafficCollectors.d.ts.map +0 -1
- package/dist/esm/operations/azureTrafficCollectors.js +0 -278
- package/dist/esm/operations/azureTrafficCollectors.js.map +0 -7
- package/dist/esm/operations/azureTrafficCollectorsByResourceGroup.d.ts +0 -35
- package/dist/esm/operations/azureTrafficCollectorsByResourceGroup.d.ts.map +0 -1
- package/dist/esm/operations/azureTrafficCollectorsByResourceGroup.js +0 -135
- package/dist/esm/operations/azureTrafficCollectorsByResourceGroup.js.map +0 -7
- package/dist/esm/operations/azureTrafficCollectorsBySubscription.d.ts +0 -32
- package/dist/esm/operations/azureTrafficCollectorsBySubscription.d.ts.map +0 -1
- package/dist/esm/operations/azureTrafficCollectorsBySubscription.js +0 -120
- package/dist/esm/operations/azureTrafficCollectorsBySubscription.js.map +0 -7
- package/dist/esm/operations/collectorPolicies.d.ts +0 -90
- package/dist/esm/operations/collectorPolicies.d.ts.map +0 -1
- package/dist/esm/operations/collectorPolicies.js +0 -450
- package/dist/esm/operations/collectorPolicies.js.map +0 -7
- package/dist/esm/operations/index.d.ts +0 -6
- package/dist/esm/operations/index.d.ts.map +0 -1
- package/dist/esm/operations/index.js +0 -5
- package/dist/esm/operations/index.js.map +0 -7
- package/dist/esm/operations/networkFunction.d.ts +0 -26
- package/dist/esm/operations/networkFunction.d.ts.map +0 -1
- package/dist/esm/operations/networkFunction.js +0 -78
- package/dist/esm/operations/networkFunction.js.map +0 -7
- package/dist/esm/operationsInterfaces/azureTrafficCollectors.d.ts +0 -51
- package/dist/esm/operationsInterfaces/azureTrafficCollectors.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/azureTrafficCollectors.js +0 -0
- package/dist/esm/operationsInterfaces/azureTrafficCollectors.js.map +0 -7
- package/dist/esm/operationsInterfaces/azureTrafficCollectorsByResourceGroup.d.ts +0 -12
- package/dist/esm/operationsInterfaces/azureTrafficCollectorsByResourceGroup.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js +0 -0
- package/dist/esm/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js.map +0 -7
- package/dist/esm/operationsInterfaces/azureTrafficCollectorsBySubscription.d.ts +0 -11
- package/dist/esm/operationsInterfaces/azureTrafficCollectorsBySubscription.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/azureTrafficCollectorsBySubscription.js +0 -0
- package/dist/esm/operationsInterfaces/azureTrafficCollectorsBySubscription.js.map +0 -7
- package/dist/esm/operationsInterfaces/collectorPolicies.d.ts +0 -65
- package/dist/esm/operationsInterfaces/collectorPolicies.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/collectorPolicies.js +0 -0
- package/dist/esm/operationsInterfaces/collectorPolicies.js.map +0 -7
- package/dist/esm/operationsInterfaces/index.d.ts +0 -6
- package/dist/esm/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/index.js +0 -5
- package/dist/esm/operationsInterfaces/index.js.map +0 -7
- package/dist/esm/operationsInterfaces/networkFunction.d.ts +0 -11
- package/dist/esm/operationsInterfaces/networkFunction.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/networkFunction.js +0 -0
- package/dist/esm/operationsInterfaces/networkFunction.js.map +0 -7
- package/dist/esm/pagingHelper.d.ts +0 -13
- package/dist/esm/pagingHelper.d.ts.map +0 -1
- package/dist/esm/pagingHelper.js +0 -19
- package/dist/esm/pagingHelper.js.map +0 -7
- package/dist/react-native/azureTrafficCollectorClient.d.ts +0 -24
- package/dist/react-native/azureTrafficCollectorClient.d.ts.map +0 -1
- package/dist/react-native/azureTrafficCollectorClient.js +0 -114
- package/dist/react-native/azureTrafficCollectorClient.js.map +0 -1
- package/dist/react-native/index.d.ts +0 -5
- package/dist/react-native/index.d.ts.map +0 -1
- package/dist/react-native/index.js +0 -13
- package/dist/react-native/index.js.map +0 -1
- package/dist/react-native/lroImpl.d.ts +0 -16
- package/dist/react-native/lroImpl.d.ts.map +0 -1
- package/dist/react-native/lroImpl.js +0 -33
- package/dist/react-native/lroImpl.js.map +0 -1
- package/dist/react-native/models/index.d.ts +0 -433
- package/dist/react-native/models/index.d.ts.map +0 -1
- package/dist/react-native/models/index.js +0 -66
- package/dist/react-native/models/index.js.map +0 -1
- package/dist/react-native/models/mappers.d.ts +0 -21
- package/dist/react-native/models/mappers.d.ts.map +0 -1
- package/dist/react-native/models/mappers.js +0 -534
- package/dist/react-native/models/mappers.js.map +0 -1
- package/dist/react-native/models/parameters.d.ts +0 -19
- package/dist/react-native/models/parameters.d.ts.map +0 -1
- package/dist/react-native/models/parameters.js +0 -136
- package/dist/react-native/models/parameters.js.map +0 -1
- package/dist/react-native/operations/azureTrafficCollectors.d.ts +0 -59
- package/dist/react-native/operations/azureTrafficCollectors.d.ts.map +0 -1
- package/dist/react-native/operations/azureTrafficCollectors.js +0 -258
- package/dist/react-native/operations/azureTrafficCollectors.js.map +0 -1
- package/dist/react-native/operations/azureTrafficCollectorsByResourceGroup.d.ts +0 -35
- package/dist/react-native/operations/azureTrafficCollectorsByResourceGroup.d.ts.map +0 -1
- package/dist/react-native/operations/azureTrafficCollectorsByResourceGroup.js +0 -129
- package/dist/react-native/operations/azureTrafficCollectorsByResourceGroup.js.map +0 -1
- package/dist/react-native/operations/azureTrafficCollectorsBySubscription.d.ts +0 -32
- package/dist/react-native/operations/azureTrafficCollectorsBySubscription.d.ts.map +0 -1
- package/dist/react-native/operations/azureTrafficCollectorsBySubscription.js +0 -121
- package/dist/react-native/operations/azureTrafficCollectorsBySubscription.js.map +0 -1
- package/dist/react-native/operations/collectorPolicies.d.ts +0 -90
- package/dist/react-native/operations/collectorPolicies.d.ts.map +0 -1
- package/dist/react-native/operations/collectorPolicies.js +0 -401
- package/dist/react-native/operations/collectorPolicies.js.map +0 -1
- package/dist/react-native/operations/index.d.ts +0 -6
- package/dist/react-native/operations/index.d.ts.map +0 -1
- package/dist/react-native/operations/index.js +0 -13
- package/dist/react-native/operations/index.js.map +0 -1
- package/dist/react-native/operations/networkFunction.d.ts +0 -26
- package/dist/react-native/operations/networkFunction.d.ts.map +0 -1
- package/dist/react-native/operations/networkFunction.js +0 -79
- package/dist/react-native/operations/networkFunction.js.map +0 -1
- package/dist/react-native/operationsInterfaces/azureTrafficCollectors.d.ts +0 -51
- package/dist/react-native/operationsInterfaces/azureTrafficCollectors.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/azureTrafficCollectors.js +0 -9
- package/dist/react-native/operationsInterfaces/azureTrafficCollectors.js.map +0 -1
- package/dist/react-native/operationsInterfaces/azureTrafficCollectorsByResourceGroup.d.ts +0 -12
- package/dist/react-native/operationsInterfaces/azureTrafficCollectorsByResourceGroup.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js +0 -9
- package/dist/react-native/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js.map +0 -1
- package/dist/react-native/operationsInterfaces/azureTrafficCollectorsBySubscription.d.ts +0 -11
- package/dist/react-native/operationsInterfaces/azureTrafficCollectorsBySubscription.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/azureTrafficCollectorsBySubscription.js +0 -9
- package/dist/react-native/operationsInterfaces/azureTrafficCollectorsBySubscription.js.map +0 -1
- package/dist/react-native/operationsInterfaces/collectorPolicies.d.ts +0 -65
- package/dist/react-native/operationsInterfaces/collectorPolicies.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/collectorPolicies.js +0 -9
- package/dist/react-native/operationsInterfaces/collectorPolicies.js.map +0 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +0 -6
- package/dist/react-native/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/index.js +0 -13
- package/dist/react-native/operationsInterfaces/index.js.map +0 -1
- package/dist/react-native/operationsInterfaces/networkFunction.d.ts +0 -11
- package/dist/react-native/operationsInterfaces/networkFunction.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/networkFunction.js +0 -9
- package/dist/react-native/operationsInterfaces/networkFunction.js.map +0 -1
- package/dist/react-native/package.json +0 -3
- package/dist/react-native/pagingHelper.d.ts +0 -13
- package/dist/react-native/pagingHelper.d.ts.map +0 -1
- package/dist/react-native/pagingHelper.js +0 -30
- package/dist/react-native/pagingHelper.js.map +0 -1
- package/review/arm-networkfunction-node.api.md +0 -392
|
@@ -0,0 +1,461 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var models_exports = {};
|
|
19
|
+
__export(models_exports, {
|
|
20
|
+
KnownCreatedByType: () => KnownCreatedByType,
|
|
21
|
+
KnownDestinationType: () => KnownDestinationType,
|
|
22
|
+
KnownEmissionType: () => KnownEmissionType,
|
|
23
|
+
KnownIngestionType: () => KnownIngestionType,
|
|
24
|
+
KnownProvisioningState: () => KnownProvisioningState,
|
|
25
|
+
KnownSourceType: () => KnownSourceType,
|
|
26
|
+
KnownVersions: () => KnownVersions,
|
|
27
|
+
_azureTrafficCollectorListResultDeserializer: () => _azureTrafficCollectorListResultDeserializer,
|
|
28
|
+
_azureTrafficCollectorPropertiesDeserializer: () => _azureTrafficCollectorPropertiesDeserializer,
|
|
29
|
+
_azureTrafficCollectorPropertiesSerializer: () => _azureTrafficCollectorPropertiesSerializer,
|
|
30
|
+
_collectorPolicyListResultDeserializer: () => _collectorPolicyListResultDeserializer,
|
|
31
|
+
_collectorPolicyPropertiesDeserializer: () => _collectorPolicyPropertiesDeserializer,
|
|
32
|
+
_collectorPolicyPropertiesSerializer: () => _collectorPolicyPropertiesSerializer,
|
|
33
|
+
_operationListResultDeserializer: () => _operationListResultDeserializer,
|
|
34
|
+
azureTrafficCollectorArrayDeserializer: () => azureTrafficCollectorArrayDeserializer,
|
|
35
|
+
azureTrafficCollectorArraySerializer: () => azureTrafficCollectorArraySerializer,
|
|
36
|
+
azureTrafficCollectorDeserializer: () => azureTrafficCollectorDeserializer,
|
|
37
|
+
azureTrafficCollectorPropertiesFormatDeserializer: () => azureTrafficCollectorPropertiesFormatDeserializer,
|
|
38
|
+
azureTrafficCollectorPropertiesFormatSerializer: () => azureTrafficCollectorPropertiesFormatSerializer,
|
|
39
|
+
azureTrafficCollectorSerializer: () => azureTrafficCollectorSerializer,
|
|
40
|
+
cloudErrorBodyArrayDeserializer: () => cloudErrorBodyArrayDeserializer,
|
|
41
|
+
cloudErrorBodyDeserializer: () => cloudErrorBodyDeserializer,
|
|
42
|
+
cloudErrorDeserializer: () => cloudErrorDeserializer,
|
|
43
|
+
collectorPolicyArrayDeserializer: () => collectorPolicyArrayDeserializer,
|
|
44
|
+
collectorPolicyArraySerializer: () => collectorPolicyArraySerializer,
|
|
45
|
+
collectorPolicyDeserializer: () => collectorPolicyDeserializer,
|
|
46
|
+
collectorPolicyPropertiesFormatDeserializer: () => collectorPolicyPropertiesFormatDeserializer,
|
|
47
|
+
collectorPolicyPropertiesFormatSerializer: () => collectorPolicyPropertiesFormatSerializer,
|
|
48
|
+
collectorPolicySerializer: () => collectorPolicySerializer,
|
|
49
|
+
emissionPoliciesPropertiesFormatArrayDeserializer: () => emissionPoliciesPropertiesFormatArrayDeserializer,
|
|
50
|
+
emissionPoliciesPropertiesFormatArraySerializer: () => emissionPoliciesPropertiesFormatArraySerializer,
|
|
51
|
+
emissionPoliciesPropertiesFormatDeserializer: () => emissionPoliciesPropertiesFormatDeserializer,
|
|
52
|
+
emissionPoliciesPropertiesFormatSerializer: () => emissionPoliciesPropertiesFormatSerializer,
|
|
53
|
+
emissionPolicyDestinationArrayDeserializer: () => emissionPolicyDestinationArrayDeserializer,
|
|
54
|
+
emissionPolicyDestinationArraySerializer: () => emissionPolicyDestinationArraySerializer,
|
|
55
|
+
emissionPolicyDestinationDeserializer: () => emissionPolicyDestinationDeserializer,
|
|
56
|
+
emissionPolicyDestinationSerializer: () => emissionPolicyDestinationSerializer,
|
|
57
|
+
ingestionPolicyPropertiesFormatDeserializer: () => ingestionPolicyPropertiesFormatDeserializer,
|
|
58
|
+
ingestionPolicyPropertiesFormatSerializer: () => ingestionPolicyPropertiesFormatSerializer,
|
|
59
|
+
ingestionSourcesPropertiesFormatArrayDeserializer: () => ingestionSourcesPropertiesFormatArrayDeserializer,
|
|
60
|
+
ingestionSourcesPropertiesFormatArraySerializer: () => ingestionSourcesPropertiesFormatArraySerializer,
|
|
61
|
+
ingestionSourcesPropertiesFormatDeserializer: () => ingestionSourcesPropertiesFormatDeserializer,
|
|
62
|
+
ingestionSourcesPropertiesFormatSerializer: () => ingestionSourcesPropertiesFormatSerializer,
|
|
63
|
+
operationArrayDeserializer: () => operationArrayDeserializer,
|
|
64
|
+
operationDeserializer: () => operationDeserializer,
|
|
65
|
+
operationDisplayDeserializer: () => operationDisplayDeserializer,
|
|
66
|
+
proxyResourceDeserializer: () => proxyResourceDeserializer,
|
|
67
|
+
proxyResourceSerializer: () => proxyResourceSerializer,
|
|
68
|
+
resourceDeserializer: () => resourceDeserializer,
|
|
69
|
+
resourceReferenceArrayDeserializer: () => resourceReferenceArrayDeserializer,
|
|
70
|
+
resourceReferenceArraySerializer: () => resourceReferenceArraySerializer,
|
|
71
|
+
resourceReferenceDeserializer: () => resourceReferenceDeserializer,
|
|
72
|
+
resourceReferenceSerializer: () => resourceReferenceSerializer,
|
|
73
|
+
resourceSerializer: () => resourceSerializer,
|
|
74
|
+
systemDataDeserializer: () => systemDataDeserializer,
|
|
75
|
+
tagsObjectSerializer: () => tagsObjectSerializer
|
|
76
|
+
});
|
|
77
|
+
module.exports = __toCommonJS(models_exports);
|
|
78
|
+
var import_check_prop_undefined = require("../static-helpers/serialization/check-prop-undefined.js");
|
|
79
|
+
function azureTrafficCollectorSerializer(item) {
|
|
80
|
+
return {
|
|
81
|
+
properties: (0, import_check_prop_undefined.areAllPropsUndefined)(item, ["virtualHub"]) ? void 0 : _azureTrafficCollectorPropertiesSerializer(item),
|
|
82
|
+
location: item["location"],
|
|
83
|
+
tags: item["tags"]
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
function azureTrafficCollectorDeserializer(item) {
|
|
87
|
+
return {
|
|
88
|
+
id: item["id"],
|
|
89
|
+
name: item["name"],
|
|
90
|
+
type: item["type"],
|
|
91
|
+
systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"]),
|
|
92
|
+
...!item["properties"] ? item["properties"] : _azureTrafficCollectorPropertiesDeserializer(item["properties"]),
|
|
93
|
+
location: item["location"],
|
|
94
|
+
tags: !item["tags"] ? item["tags"] : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
95
|
+
etag: item["etag"]
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
function azureTrafficCollectorPropertiesFormatSerializer(item) {
|
|
99
|
+
return {
|
|
100
|
+
virtualHub: !item["virtualHub"] ? item["virtualHub"] : resourceReferenceSerializer(item["virtualHub"])
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
function azureTrafficCollectorPropertiesFormatDeserializer(item) {
|
|
104
|
+
return {
|
|
105
|
+
collectorPolicies: !item["collectorPolicies"] ? item["collectorPolicies"] : resourceReferenceArrayDeserializer(item["collectorPolicies"]),
|
|
106
|
+
virtualHub: !item["virtualHub"] ? item["virtualHub"] : resourceReferenceDeserializer(item["virtualHub"]),
|
|
107
|
+
provisioningState: item["provisioningState"]
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
function resourceReferenceArraySerializer(result) {
|
|
111
|
+
return result.map((item) => {
|
|
112
|
+
return resourceReferenceSerializer(item);
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
function resourceReferenceArrayDeserializer(result) {
|
|
116
|
+
return result.map((item) => {
|
|
117
|
+
return resourceReferenceDeserializer(item);
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
function resourceReferenceSerializer(_item) {
|
|
121
|
+
return {};
|
|
122
|
+
}
|
|
123
|
+
function resourceReferenceDeserializer(item) {
|
|
124
|
+
return {
|
|
125
|
+
id: item["id"]
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
var KnownProvisioningState = /* @__PURE__ */ ((KnownProvisioningState2) => {
|
|
129
|
+
KnownProvisioningState2["Succeeded"] = "Succeeded";
|
|
130
|
+
KnownProvisioningState2["Updating"] = "Updating";
|
|
131
|
+
KnownProvisioningState2["Deleting"] = "Deleting";
|
|
132
|
+
KnownProvisioningState2["Failed"] = "Failed";
|
|
133
|
+
return KnownProvisioningState2;
|
|
134
|
+
})(KnownProvisioningState || {});
|
|
135
|
+
function proxyResourceSerializer(_item) {
|
|
136
|
+
return {};
|
|
137
|
+
}
|
|
138
|
+
function proxyResourceDeserializer(item) {
|
|
139
|
+
return {
|
|
140
|
+
id: item["id"],
|
|
141
|
+
name: item["name"],
|
|
142
|
+
type: item["type"],
|
|
143
|
+
systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"])
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
function resourceSerializer(_item) {
|
|
147
|
+
return {};
|
|
148
|
+
}
|
|
149
|
+
function resourceDeserializer(item) {
|
|
150
|
+
return {
|
|
151
|
+
id: item["id"],
|
|
152
|
+
name: item["name"],
|
|
153
|
+
type: item["type"],
|
|
154
|
+
systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"])
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
function systemDataDeserializer(item) {
|
|
158
|
+
return {
|
|
159
|
+
createdBy: item["createdBy"],
|
|
160
|
+
createdByType: item["createdByType"],
|
|
161
|
+
createdAt: !item["createdAt"] ? item["createdAt"] : new Date(item["createdAt"]),
|
|
162
|
+
lastModifiedBy: item["lastModifiedBy"],
|
|
163
|
+
lastModifiedByType: item["lastModifiedByType"],
|
|
164
|
+
lastModifiedAt: !item["lastModifiedAt"] ? item["lastModifiedAt"] : new Date(item["lastModifiedAt"])
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
var KnownCreatedByType = /* @__PURE__ */ ((KnownCreatedByType2) => {
|
|
168
|
+
KnownCreatedByType2["User"] = "User";
|
|
169
|
+
KnownCreatedByType2["Application"] = "Application";
|
|
170
|
+
KnownCreatedByType2["ManagedIdentity"] = "ManagedIdentity";
|
|
171
|
+
KnownCreatedByType2["Key"] = "Key";
|
|
172
|
+
return KnownCreatedByType2;
|
|
173
|
+
})(KnownCreatedByType || {});
|
|
174
|
+
function cloudErrorDeserializer(item) {
|
|
175
|
+
return {
|
|
176
|
+
error: !item["error"] ? item["error"] : cloudErrorBodyDeserializer(item["error"])
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
function cloudErrorBodyDeserializer(item) {
|
|
180
|
+
return {
|
|
181
|
+
code: item["code"],
|
|
182
|
+
message: item["message"],
|
|
183
|
+
target: item["target"],
|
|
184
|
+
details: !item["details"] ? item["details"] : cloudErrorBodyArrayDeserializer(item["details"])
|
|
185
|
+
};
|
|
186
|
+
}
|
|
187
|
+
function cloudErrorBodyArrayDeserializer(result) {
|
|
188
|
+
return result.map((item) => {
|
|
189
|
+
return cloudErrorBodyDeserializer(item);
|
|
190
|
+
});
|
|
191
|
+
}
|
|
192
|
+
function tagsObjectSerializer(item) {
|
|
193
|
+
return { tags: item["tags"] };
|
|
194
|
+
}
|
|
195
|
+
function collectorPolicySerializer(item) {
|
|
196
|
+
return {
|
|
197
|
+
properties: (0, import_check_prop_undefined.areAllPropsUndefined)(item, ["ingestionPolicy", "emissionPolicies"]) ? void 0 : _collectorPolicyPropertiesSerializer(item),
|
|
198
|
+
location: item["location"],
|
|
199
|
+
tags: item["tags"]
|
|
200
|
+
};
|
|
201
|
+
}
|
|
202
|
+
function collectorPolicyDeserializer(item) {
|
|
203
|
+
return {
|
|
204
|
+
id: item["id"],
|
|
205
|
+
name: item["name"],
|
|
206
|
+
type: item["type"],
|
|
207
|
+
systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"]),
|
|
208
|
+
...!item["properties"] ? item["properties"] : _collectorPolicyPropertiesDeserializer(item["properties"]),
|
|
209
|
+
location: item["location"],
|
|
210
|
+
tags: !item["tags"] ? item["tags"] : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
211
|
+
etag: item["etag"]
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
function collectorPolicyPropertiesFormatSerializer(item) {
|
|
215
|
+
return {
|
|
216
|
+
ingestionPolicy: !item["ingestionPolicy"] ? item["ingestionPolicy"] : ingestionPolicyPropertiesFormatSerializer(item["ingestionPolicy"]),
|
|
217
|
+
emissionPolicies: !item["emissionPolicies"] ? item["emissionPolicies"] : emissionPoliciesPropertiesFormatArraySerializer(item["emissionPolicies"])
|
|
218
|
+
};
|
|
219
|
+
}
|
|
220
|
+
function collectorPolicyPropertiesFormatDeserializer(item) {
|
|
221
|
+
return {
|
|
222
|
+
ingestionPolicy: !item["ingestionPolicy"] ? item["ingestionPolicy"] : ingestionPolicyPropertiesFormatDeserializer(item["ingestionPolicy"]),
|
|
223
|
+
emissionPolicies: !item["emissionPolicies"] ? item["emissionPolicies"] : emissionPoliciesPropertiesFormatArrayDeserializer(item["emissionPolicies"]),
|
|
224
|
+
provisioningState: item["provisioningState"]
|
|
225
|
+
};
|
|
226
|
+
}
|
|
227
|
+
function ingestionPolicyPropertiesFormatSerializer(item) {
|
|
228
|
+
return {
|
|
229
|
+
ingestionType: item["ingestionType"],
|
|
230
|
+
ingestionSources: !item["ingestionSources"] ? item["ingestionSources"] : ingestionSourcesPropertiesFormatArraySerializer(item["ingestionSources"])
|
|
231
|
+
};
|
|
232
|
+
}
|
|
233
|
+
function ingestionPolicyPropertiesFormatDeserializer(item) {
|
|
234
|
+
return {
|
|
235
|
+
ingestionType: item["ingestionType"],
|
|
236
|
+
ingestionSources: !item["ingestionSources"] ? item["ingestionSources"] : ingestionSourcesPropertiesFormatArrayDeserializer(item["ingestionSources"])
|
|
237
|
+
};
|
|
238
|
+
}
|
|
239
|
+
var KnownIngestionType = /* @__PURE__ */ ((KnownIngestionType2) => {
|
|
240
|
+
KnownIngestionType2["Ipfix"] = "IPFIX";
|
|
241
|
+
return KnownIngestionType2;
|
|
242
|
+
})(KnownIngestionType || {});
|
|
243
|
+
function ingestionSourcesPropertiesFormatArraySerializer(result) {
|
|
244
|
+
return result.map((item) => {
|
|
245
|
+
return ingestionSourcesPropertiesFormatSerializer(item);
|
|
246
|
+
});
|
|
247
|
+
}
|
|
248
|
+
function ingestionSourcesPropertiesFormatArrayDeserializer(result) {
|
|
249
|
+
return result.map((item) => {
|
|
250
|
+
return ingestionSourcesPropertiesFormatDeserializer(item);
|
|
251
|
+
});
|
|
252
|
+
}
|
|
253
|
+
function ingestionSourcesPropertiesFormatSerializer(item) {
|
|
254
|
+
return { sourceType: item["sourceType"], resourceId: item["resourceId"] };
|
|
255
|
+
}
|
|
256
|
+
function ingestionSourcesPropertiesFormatDeserializer(item) {
|
|
257
|
+
return {
|
|
258
|
+
sourceType: item["sourceType"],
|
|
259
|
+
resourceId: item["resourceId"]
|
|
260
|
+
};
|
|
261
|
+
}
|
|
262
|
+
var KnownSourceType = /* @__PURE__ */ ((KnownSourceType2) => {
|
|
263
|
+
KnownSourceType2["Resource"] = "Resource";
|
|
264
|
+
return KnownSourceType2;
|
|
265
|
+
})(KnownSourceType || {});
|
|
266
|
+
function emissionPoliciesPropertiesFormatArraySerializer(result) {
|
|
267
|
+
return result.map((item) => {
|
|
268
|
+
return emissionPoliciesPropertiesFormatSerializer(item);
|
|
269
|
+
});
|
|
270
|
+
}
|
|
271
|
+
function emissionPoliciesPropertiesFormatArrayDeserializer(result) {
|
|
272
|
+
return result.map((item) => {
|
|
273
|
+
return emissionPoliciesPropertiesFormatDeserializer(item);
|
|
274
|
+
});
|
|
275
|
+
}
|
|
276
|
+
function emissionPoliciesPropertiesFormatSerializer(item) {
|
|
277
|
+
return {
|
|
278
|
+
emissionType: item["emissionType"],
|
|
279
|
+
emissionDestinations: !item["emissionDestinations"] ? item["emissionDestinations"] : emissionPolicyDestinationArraySerializer(item["emissionDestinations"])
|
|
280
|
+
};
|
|
281
|
+
}
|
|
282
|
+
function emissionPoliciesPropertiesFormatDeserializer(item) {
|
|
283
|
+
return {
|
|
284
|
+
emissionType: item["emissionType"],
|
|
285
|
+
emissionDestinations: !item["emissionDestinations"] ? item["emissionDestinations"] : emissionPolicyDestinationArrayDeserializer(item["emissionDestinations"])
|
|
286
|
+
};
|
|
287
|
+
}
|
|
288
|
+
var KnownEmissionType = /* @__PURE__ */ ((KnownEmissionType2) => {
|
|
289
|
+
KnownEmissionType2["Ipfix"] = "IPFIX";
|
|
290
|
+
return KnownEmissionType2;
|
|
291
|
+
})(KnownEmissionType || {});
|
|
292
|
+
function emissionPolicyDestinationArraySerializer(result) {
|
|
293
|
+
return result.map((item) => {
|
|
294
|
+
return emissionPolicyDestinationSerializer(item);
|
|
295
|
+
});
|
|
296
|
+
}
|
|
297
|
+
function emissionPolicyDestinationArrayDeserializer(result) {
|
|
298
|
+
return result.map((item) => {
|
|
299
|
+
return emissionPolicyDestinationDeserializer(item);
|
|
300
|
+
});
|
|
301
|
+
}
|
|
302
|
+
function emissionPolicyDestinationSerializer(item) {
|
|
303
|
+
return { destinationType: item["destinationType"] };
|
|
304
|
+
}
|
|
305
|
+
function emissionPolicyDestinationDeserializer(item) {
|
|
306
|
+
return {
|
|
307
|
+
destinationType: item["destinationType"]
|
|
308
|
+
};
|
|
309
|
+
}
|
|
310
|
+
var KnownDestinationType = /* @__PURE__ */ ((KnownDestinationType2) => {
|
|
311
|
+
KnownDestinationType2["AzureMonitor"] = "AzureMonitor";
|
|
312
|
+
return KnownDestinationType2;
|
|
313
|
+
})(KnownDestinationType || {});
|
|
314
|
+
function _collectorPolicyListResultDeserializer(item) {
|
|
315
|
+
return {
|
|
316
|
+
value: collectorPolicyArrayDeserializer(item["value"]),
|
|
317
|
+
nextLink: item["nextLink"]
|
|
318
|
+
};
|
|
319
|
+
}
|
|
320
|
+
function collectorPolicyArraySerializer(result) {
|
|
321
|
+
return result.map((item) => {
|
|
322
|
+
return collectorPolicySerializer(item);
|
|
323
|
+
});
|
|
324
|
+
}
|
|
325
|
+
function collectorPolicyArrayDeserializer(result) {
|
|
326
|
+
return result.map((item) => {
|
|
327
|
+
return collectorPolicyDeserializer(item);
|
|
328
|
+
});
|
|
329
|
+
}
|
|
330
|
+
function _operationListResultDeserializer(item) {
|
|
331
|
+
return {
|
|
332
|
+
value: operationArrayDeserializer(item["value"]),
|
|
333
|
+
nextLink: item["nextLink"]
|
|
334
|
+
};
|
|
335
|
+
}
|
|
336
|
+
function operationArrayDeserializer(result) {
|
|
337
|
+
return result.map((item) => {
|
|
338
|
+
return operationDeserializer(item);
|
|
339
|
+
});
|
|
340
|
+
}
|
|
341
|
+
function operationDeserializer(item) {
|
|
342
|
+
return {
|
|
343
|
+
name: item["name"],
|
|
344
|
+
isDataAction: item["isDataAction"],
|
|
345
|
+
display: !item["display"] ? item["display"] : operationDisplayDeserializer(item["display"]),
|
|
346
|
+
origin: item["origin"]
|
|
347
|
+
};
|
|
348
|
+
}
|
|
349
|
+
function operationDisplayDeserializer(item) {
|
|
350
|
+
return {
|
|
351
|
+
provider: item["provider"],
|
|
352
|
+
resource: item["resource"],
|
|
353
|
+
operation: item["operation"],
|
|
354
|
+
description: item["description"]
|
|
355
|
+
};
|
|
356
|
+
}
|
|
357
|
+
function _azureTrafficCollectorListResultDeserializer(item) {
|
|
358
|
+
return {
|
|
359
|
+
value: azureTrafficCollectorArrayDeserializer(item["value"]),
|
|
360
|
+
nextLink: item["nextLink"]
|
|
361
|
+
};
|
|
362
|
+
}
|
|
363
|
+
function azureTrafficCollectorArraySerializer(result) {
|
|
364
|
+
return result.map((item) => {
|
|
365
|
+
return azureTrafficCollectorSerializer(item);
|
|
366
|
+
});
|
|
367
|
+
}
|
|
368
|
+
function azureTrafficCollectorArrayDeserializer(result) {
|
|
369
|
+
return result.map((item) => {
|
|
370
|
+
return azureTrafficCollectorDeserializer(item);
|
|
371
|
+
});
|
|
372
|
+
}
|
|
373
|
+
var KnownVersions = /* @__PURE__ */ ((KnownVersions2) => {
|
|
374
|
+
KnownVersions2["V20221101"] = "2022-11-01";
|
|
375
|
+
return KnownVersions2;
|
|
376
|
+
})(KnownVersions || {});
|
|
377
|
+
function _azureTrafficCollectorPropertiesSerializer(item) {
|
|
378
|
+
return {
|
|
379
|
+
virtualHub: !item["virtualHub"] ? item["virtualHub"] : resourceReferenceSerializer(item["virtualHub"])
|
|
380
|
+
};
|
|
381
|
+
}
|
|
382
|
+
function _azureTrafficCollectorPropertiesDeserializer(item) {
|
|
383
|
+
return {
|
|
384
|
+
collectorPolicies: !item["collectorPolicies"] ? item["collectorPolicies"] : resourceReferenceArrayDeserializer(item["collectorPolicies"]),
|
|
385
|
+
virtualHub: !item["virtualHub"] ? item["virtualHub"] : resourceReferenceDeserializer(item["virtualHub"]),
|
|
386
|
+
provisioningState: item["provisioningState"]
|
|
387
|
+
};
|
|
388
|
+
}
|
|
389
|
+
function _collectorPolicyPropertiesSerializer(item) {
|
|
390
|
+
return {
|
|
391
|
+
ingestionPolicy: !item["ingestionPolicy"] ? item["ingestionPolicy"] : ingestionPolicyPropertiesFormatSerializer(item["ingestionPolicy"]),
|
|
392
|
+
emissionPolicies: !item["emissionPolicies"] ? item["emissionPolicies"] : emissionPoliciesPropertiesFormatArraySerializer(item["emissionPolicies"])
|
|
393
|
+
};
|
|
394
|
+
}
|
|
395
|
+
function _collectorPolicyPropertiesDeserializer(item) {
|
|
396
|
+
return {
|
|
397
|
+
ingestionPolicy: !item["ingestionPolicy"] ? item["ingestionPolicy"] : ingestionPolicyPropertiesFormatDeserializer(item["ingestionPolicy"]),
|
|
398
|
+
emissionPolicies: !item["emissionPolicies"] ? item["emissionPolicies"] : emissionPoliciesPropertiesFormatArrayDeserializer(item["emissionPolicies"]),
|
|
399
|
+
provisioningState: item["provisioningState"]
|
|
400
|
+
};
|
|
401
|
+
}
|
|
402
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
403
|
+
0 && (module.exports = {
|
|
404
|
+
KnownCreatedByType,
|
|
405
|
+
KnownDestinationType,
|
|
406
|
+
KnownEmissionType,
|
|
407
|
+
KnownIngestionType,
|
|
408
|
+
KnownProvisioningState,
|
|
409
|
+
KnownSourceType,
|
|
410
|
+
KnownVersions,
|
|
411
|
+
_azureTrafficCollectorListResultDeserializer,
|
|
412
|
+
_azureTrafficCollectorPropertiesDeserializer,
|
|
413
|
+
_azureTrafficCollectorPropertiesSerializer,
|
|
414
|
+
_collectorPolicyListResultDeserializer,
|
|
415
|
+
_collectorPolicyPropertiesDeserializer,
|
|
416
|
+
_collectorPolicyPropertiesSerializer,
|
|
417
|
+
_operationListResultDeserializer,
|
|
418
|
+
azureTrafficCollectorArrayDeserializer,
|
|
419
|
+
azureTrafficCollectorArraySerializer,
|
|
420
|
+
azureTrafficCollectorDeserializer,
|
|
421
|
+
azureTrafficCollectorPropertiesFormatDeserializer,
|
|
422
|
+
azureTrafficCollectorPropertiesFormatSerializer,
|
|
423
|
+
azureTrafficCollectorSerializer,
|
|
424
|
+
cloudErrorBodyArrayDeserializer,
|
|
425
|
+
cloudErrorBodyDeserializer,
|
|
426
|
+
cloudErrorDeserializer,
|
|
427
|
+
collectorPolicyArrayDeserializer,
|
|
428
|
+
collectorPolicyArraySerializer,
|
|
429
|
+
collectorPolicyDeserializer,
|
|
430
|
+
collectorPolicyPropertiesFormatDeserializer,
|
|
431
|
+
collectorPolicyPropertiesFormatSerializer,
|
|
432
|
+
collectorPolicySerializer,
|
|
433
|
+
emissionPoliciesPropertiesFormatArrayDeserializer,
|
|
434
|
+
emissionPoliciesPropertiesFormatArraySerializer,
|
|
435
|
+
emissionPoliciesPropertiesFormatDeserializer,
|
|
436
|
+
emissionPoliciesPropertiesFormatSerializer,
|
|
437
|
+
emissionPolicyDestinationArrayDeserializer,
|
|
438
|
+
emissionPolicyDestinationArraySerializer,
|
|
439
|
+
emissionPolicyDestinationDeserializer,
|
|
440
|
+
emissionPolicyDestinationSerializer,
|
|
441
|
+
ingestionPolicyPropertiesFormatDeserializer,
|
|
442
|
+
ingestionPolicyPropertiesFormatSerializer,
|
|
443
|
+
ingestionSourcesPropertiesFormatArrayDeserializer,
|
|
444
|
+
ingestionSourcesPropertiesFormatArraySerializer,
|
|
445
|
+
ingestionSourcesPropertiesFormatDeserializer,
|
|
446
|
+
ingestionSourcesPropertiesFormatSerializer,
|
|
447
|
+
operationArrayDeserializer,
|
|
448
|
+
operationDeserializer,
|
|
449
|
+
operationDisplayDeserializer,
|
|
450
|
+
proxyResourceDeserializer,
|
|
451
|
+
proxyResourceSerializer,
|
|
452
|
+
resourceDeserializer,
|
|
453
|
+
resourceReferenceArrayDeserializer,
|
|
454
|
+
resourceReferenceArraySerializer,
|
|
455
|
+
resourceReferenceDeserializer,
|
|
456
|
+
resourceReferenceSerializer,
|
|
457
|
+
resourceSerializer,
|
|
458
|
+
systemDataDeserializer,
|
|
459
|
+
tagsObjectSerializer
|
|
460
|
+
});
|
|
461
|
+
//# sourceMappingURL=models.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/models/models.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { areAllPropsUndefined } from \"../static-helpers/serialization/check-prop-undefined.js\";\n\n/**\n * This file contains only generated model types and their (de)serializers.\n * Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input.\n */\n/* eslint-disable @typescript-eslint/naming-convention */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/** Azure Traffic Collector resource. */\nexport interface AzureTrafficCollector extends ProxyResource {\n /** Resource location. */\n location: string;\n /** Resource tags. */\n tags?: Record<string, string>;\n /** A unique read-only string that changes whenever the resource is updated. */\n readonly etag?: string;\n /** Collector Policies for Azure Traffic Collector. */\n readonly collectorPolicies?: ResourceReference[];\n /** The virtualHub to which the Azure Traffic Collector belongs. */\n virtualHub?: ResourceReference;\n /** The provisioning state of the application rule collection resource. */\n readonly provisioningState?: ProvisioningState;\n}\n\nexport function azureTrafficCollectorSerializer(item: AzureTrafficCollector): any {\n return {\n properties: areAllPropsUndefined(item, [\"virtualHub\"])\n ? undefined\n : _azureTrafficCollectorPropertiesSerializer(item),\n location: item[\"location\"],\n tags: item[\"tags\"],\n };\n}\n\nexport function azureTrafficCollectorDeserializer(item: any): AzureTrafficCollector {\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 ...(!item[\"properties\"]\n ? item[\"properties\"]\n : _azureTrafficCollectorPropertiesDeserializer(item[\"properties\"])),\n location: item[\"location\"],\n tags: !item[\"tags\"]\n ? item[\"tags\"]\n : Object.fromEntries(Object.entries(item[\"tags\"]).map(([k, p]: [string, any]) => [k, p])),\n etag: item[\"etag\"],\n };\n}\n\n/** Azure Traffic Collector resource properties. */\nexport interface AzureTrafficCollectorPropertiesFormat {\n /** Collector Policies for Azure Traffic Collector. */\n readonly collectorPolicies?: ResourceReference[];\n /** The virtualHub to which the Azure Traffic Collector belongs. */\n virtualHub?: ResourceReference;\n /** The provisioning state of the application rule collection resource. */\n readonly provisioningState?: ProvisioningState;\n}\n\nexport function azureTrafficCollectorPropertiesFormatSerializer(\n item: AzureTrafficCollectorPropertiesFormat,\n): any {\n return {\n virtualHub: !item[\"virtualHub\"]\n ? item[\"virtualHub\"]\n : resourceReferenceSerializer(item[\"virtualHub\"]),\n };\n}\n\nexport function azureTrafficCollectorPropertiesFormatDeserializer(\n item: any,\n): AzureTrafficCollectorPropertiesFormat {\n return {\n collectorPolicies: !item[\"collectorPolicies\"]\n ? item[\"collectorPolicies\"]\n : resourceReferenceArrayDeserializer(item[\"collectorPolicies\"]),\n virtualHub: !item[\"virtualHub\"]\n ? item[\"virtualHub\"]\n : resourceReferenceDeserializer(item[\"virtualHub\"]),\n provisioningState: item[\"provisioningState\"],\n };\n}\n\nexport function resourceReferenceArraySerializer(result: Array<ResourceReference>): any[] {\n return result.map((item) => {\n return resourceReferenceSerializer(item);\n });\n}\n\nexport function resourceReferenceArrayDeserializer(result: Array<ResourceReference>): any[] {\n return result.map((item) => {\n return resourceReferenceDeserializer(item);\n });\n}\n\n/** Resource reference properties. */\nexport interface ResourceReference {\n /** Resource ID. */\n readonly id?: string;\n}\n\nexport function resourceReferenceSerializer(_item: ResourceReference): any {\n return {};\n}\n\nexport function resourceReferenceDeserializer(item: any): ResourceReference {\n return {\n id: item[\"id\"],\n };\n}\n\n/** The current provisioning state. */\nexport enum KnownProvisioningState {\n /** Succeeded */\n Succeeded = \"Succeeded\",\n /** Updating */\n Updating = \"Updating\",\n /** Deleting */\n Deleting = \"Deleting\",\n /** Failed */\n Failed = \"Failed\",\n}\n\n/**\n * The current provisioning state. \\\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**: Succeeded \\\n * **Updating**: Updating \\\n * **Deleting**: Deleting \\\n * **Failed**: Failed\n */\nexport type ProvisioningState = string;\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 {};\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/** 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 {};\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/** An error response from the service. */\nexport interface CloudError {\n /** An error response from the service. */\n error?: CloudErrorBody;\n}\n\nexport function cloudErrorDeserializer(item: any): CloudError {\n return {\n error: !item[\"error\"] ? item[\"error\"] : cloudErrorBodyDeserializer(item[\"error\"]),\n };\n}\n\n/** An error response from the service. */\nexport interface CloudErrorBody {\n /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */\n code?: string;\n /** A message describing the error, intended to be suitable for display in a user interface. */\n message?: string;\n /** The target of the particular error. For example, the name of the property in error. */\n target?: string;\n /** A list of additional details about the error. */\n details?: CloudErrorBody[];\n}\n\nexport function cloudErrorBodyDeserializer(item: any): CloudErrorBody {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n target: item[\"target\"],\n details: !item[\"details\"] ? item[\"details\"] : cloudErrorBodyArrayDeserializer(item[\"details\"]),\n };\n}\n\nexport function cloudErrorBodyArrayDeserializer(result: Array<CloudErrorBody>): any[] {\n return result.map((item) => {\n return cloudErrorBodyDeserializer(item);\n });\n}\n\n/** Tags object for patch operations. */\nexport interface TagsObject {\n /** Resource tags. */\n tags?: Record<string, string>;\n}\n\nexport function tagsObjectSerializer(item: TagsObject): any {\n return { tags: item[\"tags\"] };\n}\n\n/** Collector policy resource. */\nexport interface CollectorPolicy extends ProxyResource {\n /** Resource location. */\n location: string;\n /** Resource tags. */\n tags?: Record<string, string>;\n /** A unique read-only string that changes whenever the resource is updated. */\n readonly etag?: string;\n /** Ingestion policies. */\n ingestionPolicy?: IngestionPolicyPropertiesFormat;\n /** Emission policies. */\n emissionPolicies?: EmissionPoliciesPropertiesFormat[];\n /** The provisioning state. */\n readonly provisioningState?: ProvisioningState;\n}\n\nexport function collectorPolicySerializer(item: CollectorPolicy): any {\n return {\n properties: areAllPropsUndefined(item, [\"ingestionPolicy\", \"emissionPolicies\"])\n ? undefined\n : _collectorPolicyPropertiesSerializer(item),\n location: item[\"location\"],\n tags: item[\"tags\"],\n };\n}\n\nexport function collectorPolicyDeserializer(item: any): CollectorPolicy {\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 ...(!item[\"properties\"]\n ? item[\"properties\"]\n : _collectorPolicyPropertiesDeserializer(item[\"properties\"])),\n location: item[\"location\"],\n tags: !item[\"tags\"]\n ? item[\"tags\"]\n : Object.fromEntries(Object.entries(item[\"tags\"]).map(([k, p]: [string, any]) => [k, p])),\n etag: item[\"etag\"],\n };\n}\n\n/** Collection policy properties. */\nexport interface CollectorPolicyPropertiesFormat {\n /** Ingestion policies. */\n ingestionPolicy?: IngestionPolicyPropertiesFormat;\n /** Emission policies. */\n emissionPolicies?: EmissionPoliciesPropertiesFormat[];\n /** The provisioning state. */\n readonly provisioningState?: ProvisioningState;\n}\n\nexport function collectorPolicyPropertiesFormatSerializer(\n item: CollectorPolicyPropertiesFormat,\n): any {\n return {\n ingestionPolicy: !item[\"ingestionPolicy\"]\n ? item[\"ingestionPolicy\"]\n : ingestionPolicyPropertiesFormatSerializer(item[\"ingestionPolicy\"]),\n emissionPolicies: !item[\"emissionPolicies\"]\n ? item[\"emissionPolicies\"]\n : emissionPoliciesPropertiesFormatArraySerializer(item[\"emissionPolicies\"]),\n };\n}\n\nexport function collectorPolicyPropertiesFormatDeserializer(\n item: any,\n): CollectorPolicyPropertiesFormat {\n return {\n ingestionPolicy: !item[\"ingestionPolicy\"]\n ? item[\"ingestionPolicy\"]\n : ingestionPolicyPropertiesFormatDeserializer(item[\"ingestionPolicy\"]),\n emissionPolicies: !item[\"emissionPolicies\"]\n ? item[\"emissionPolicies\"]\n : emissionPoliciesPropertiesFormatArrayDeserializer(item[\"emissionPolicies\"]),\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** Ingestion Policy properties. */\nexport interface IngestionPolicyPropertiesFormat {\n /** The ingestion type. */\n ingestionType?: IngestionType;\n /** Ingestion Sources. */\n ingestionSources?: IngestionSourcesPropertiesFormat[];\n}\n\nexport function ingestionPolicyPropertiesFormatSerializer(\n item: IngestionPolicyPropertiesFormat,\n): any {\n return {\n ingestionType: item[\"ingestionType\"],\n ingestionSources: !item[\"ingestionSources\"]\n ? item[\"ingestionSources\"]\n : ingestionSourcesPropertiesFormatArraySerializer(item[\"ingestionSources\"]),\n };\n}\n\nexport function ingestionPolicyPropertiesFormatDeserializer(\n item: any,\n): IngestionPolicyPropertiesFormat {\n return {\n ingestionType: item[\"ingestionType\"],\n ingestionSources: !item[\"ingestionSources\"]\n ? item[\"ingestionSources\"]\n : ingestionSourcesPropertiesFormatArrayDeserializer(item[\"ingestionSources\"]),\n };\n}\n\n/** The ingestion type. */\nexport enum KnownIngestionType {\n /** IPFIX */\n Ipfix = \"IPFIX\",\n}\n\n/**\n * The ingestion type. \\\n * {@link KnownIngestionType} can be used interchangeably with IngestionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **IPFIX**: IPFIX\n */\nexport type IngestionType = string;\n\nexport function ingestionSourcesPropertiesFormatArraySerializer(\n result: Array<IngestionSourcesPropertiesFormat>,\n): any[] {\n return result.map((item) => {\n return ingestionSourcesPropertiesFormatSerializer(item);\n });\n}\n\nexport function ingestionSourcesPropertiesFormatArrayDeserializer(\n result: Array<IngestionSourcesPropertiesFormat>,\n): any[] {\n return result.map((item) => {\n return ingestionSourcesPropertiesFormatDeserializer(item);\n });\n}\n\n/** Ingestion policy properties. */\nexport interface IngestionSourcesPropertiesFormat {\n /** Ingestion source type. */\n sourceType?: SourceType;\n /** Resource ID. */\n resourceId?: string;\n}\n\nexport function ingestionSourcesPropertiesFormatSerializer(\n item: IngestionSourcesPropertiesFormat,\n): any {\n return { sourceType: item[\"sourceType\"], resourceId: item[\"resourceId\"] };\n}\n\nexport function ingestionSourcesPropertiesFormatDeserializer(\n item: any,\n): IngestionSourcesPropertiesFormat {\n return {\n sourceType: item[\"sourceType\"],\n resourceId: item[\"resourceId\"],\n };\n}\n\n/** Ingestion source type. */\nexport enum KnownSourceType {\n /** Resource */\n Resource = \"Resource\",\n}\n\n/**\n * Ingestion source type. \\\n * {@link KnownSourceType} can be used interchangeably with SourceType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Resource**: Resource\n */\nexport type SourceType = string;\n\nexport function emissionPoliciesPropertiesFormatArraySerializer(\n result: Array<EmissionPoliciesPropertiesFormat>,\n): any[] {\n return result.map((item) => {\n return emissionPoliciesPropertiesFormatSerializer(item);\n });\n}\n\nexport function emissionPoliciesPropertiesFormatArrayDeserializer(\n result: Array<EmissionPoliciesPropertiesFormat>,\n): any[] {\n return result.map((item) => {\n return emissionPoliciesPropertiesFormatDeserializer(item);\n });\n}\n\n/** Emission policy properties. */\nexport interface EmissionPoliciesPropertiesFormat {\n /** Emission format type. */\n emissionType?: EmissionType;\n /** Emission policy destinations. */\n emissionDestinations?: EmissionPolicyDestination[];\n}\n\nexport function emissionPoliciesPropertiesFormatSerializer(\n item: EmissionPoliciesPropertiesFormat,\n): any {\n return {\n emissionType: item[\"emissionType\"],\n emissionDestinations: !item[\"emissionDestinations\"]\n ? item[\"emissionDestinations\"]\n : emissionPolicyDestinationArraySerializer(item[\"emissionDestinations\"]),\n };\n}\n\nexport function emissionPoliciesPropertiesFormatDeserializer(\n item: any,\n): EmissionPoliciesPropertiesFormat {\n return {\n emissionType: item[\"emissionType\"],\n emissionDestinations: !item[\"emissionDestinations\"]\n ? item[\"emissionDestinations\"]\n : emissionPolicyDestinationArrayDeserializer(item[\"emissionDestinations\"]),\n };\n}\n\n/** Emission format type. */\nexport enum KnownEmissionType {\n /** IPFIX */\n Ipfix = \"IPFIX\",\n}\n\n/**\n * Emission format type. \\\n * {@link KnownEmissionType} can be used interchangeably with EmissionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **IPFIX**: IPFIX\n */\nexport type EmissionType = string;\n\nexport function emissionPolicyDestinationArraySerializer(\n result: Array<EmissionPolicyDestination>,\n): any[] {\n return result.map((item) => {\n return emissionPolicyDestinationSerializer(item);\n });\n}\n\nexport function emissionPolicyDestinationArrayDeserializer(\n result: Array<EmissionPolicyDestination>,\n): any[] {\n return result.map((item) => {\n return emissionPolicyDestinationDeserializer(item);\n });\n}\n\n/** Emission policy destination properties. */\nexport interface EmissionPolicyDestination {\n /** Emission destination type. */\n destinationType?: DestinationType;\n}\n\nexport function emissionPolicyDestinationSerializer(item: EmissionPolicyDestination): any {\n return { destinationType: item[\"destinationType\"] };\n}\n\nexport function emissionPolicyDestinationDeserializer(item: any): EmissionPolicyDestination {\n return {\n destinationType: item[\"destinationType\"],\n };\n}\n\n/** Emission destination type. */\nexport enum KnownDestinationType {\n /** AzureMonitor */\n AzureMonitor = \"AzureMonitor\",\n}\n\n/**\n * Emission destination type. \\\n * {@link KnownDestinationType} can be used interchangeably with DestinationType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **AzureMonitor**: AzureMonitor\n */\nexport type DestinationType = string;\n\n/** The response of a CollectorPolicy list operation. */\nexport interface _CollectorPolicyListResult {\n /** The CollectorPolicy items on this page */\n value: CollectorPolicy[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _collectorPolicyListResultDeserializer(item: any): _CollectorPolicyListResult {\n return {\n value: collectorPolicyArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function collectorPolicyArraySerializer(result: Array<CollectorPolicy>): any[] {\n return result.map((item) => {\n return collectorPolicySerializer(item);\n });\n}\n\nexport function collectorPolicyArrayDeserializer(result: Array<CollectorPolicy>): any[] {\n return result.map((item) => {\n return collectorPolicyDeserializer(item);\n });\n}\n\n/** Paged collection of Operation items */\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/** Azure Traffic Collector REST API operation definition. */\nexport interface Operation {\n /** Operation name: {provider}/{resource}/{operation} */\n name?: string;\n /** Indicates whether the operation is a data action */\n isDataAction?: boolean;\n /** Display metadata associated with the operation. */\n display?: OperationDisplay;\n /** Origin of the operation */\n origin?: string;\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 };\n}\n\n/** Display metadata associated with the operation. */\nexport interface OperationDisplay {\n /** Service provider: Microsoft NetworkFunction. */\n provider?: string;\n /** Resource on which the operation is performed etc. */\n resource?: string;\n /** Type of operation: get, read, delete, etc. */\n operation?: string;\n /** Description of the operation. */\n 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 response of a AzureTrafficCollector list operation. */\nexport interface _AzureTrafficCollectorListResult {\n /** The AzureTrafficCollector items on this page */\n value: AzureTrafficCollector[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _azureTrafficCollectorListResultDeserializer(\n item: any,\n): _AzureTrafficCollectorListResult {\n return {\n value: azureTrafficCollectorArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function azureTrafficCollectorArraySerializer(result: Array<AzureTrafficCollector>): any[] {\n return result.map((item) => {\n return azureTrafficCollectorSerializer(item);\n });\n}\n\nexport function azureTrafficCollectorArrayDeserializer(\n result: Array<AzureTrafficCollector>,\n): any[] {\n return result.map((item) => {\n return azureTrafficCollectorDeserializer(item);\n });\n}\n\n/** The available API versions. */\nexport enum KnownVersions {\n /** The 2022-11-01 API version. */\n V20221101 = \"2022-11-01\",\n}\n\nexport function _azureTrafficCollectorPropertiesSerializer(item: AzureTrafficCollector): any {\n return {\n virtualHub: !item[\"virtualHub\"]\n ? item[\"virtualHub\"]\n : resourceReferenceSerializer(item[\"virtualHub\"]),\n };\n}\n\nexport function _azureTrafficCollectorPropertiesDeserializer(item: any) {\n return {\n collectorPolicies: !item[\"collectorPolicies\"]\n ? item[\"collectorPolicies\"]\n : resourceReferenceArrayDeserializer(item[\"collectorPolicies\"]),\n virtualHub: !item[\"virtualHub\"]\n ? item[\"virtualHub\"]\n : resourceReferenceDeserializer(item[\"virtualHub\"]),\n provisioningState: item[\"provisioningState\"],\n };\n}\n\nexport function _collectorPolicyPropertiesSerializer(item: CollectorPolicy): any {\n return {\n ingestionPolicy: !item[\"ingestionPolicy\"]\n ? item[\"ingestionPolicy\"]\n : ingestionPolicyPropertiesFormatSerializer(item[\"ingestionPolicy\"]),\n emissionPolicies: !item[\"emissionPolicies\"]\n ? item[\"emissionPolicies\"]\n : emissionPoliciesPropertiesFormatArraySerializer(item[\"emissionPolicies\"]),\n };\n}\n\nexport function _collectorPolicyPropertiesDeserializer(item: any) {\n return {\n ingestionPolicy: !item[\"ingestionPolicy\"]\n ? item[\"ingestionPolicy\"]\n : ingestionPolicyPropertiesFormatDeserializer(item[\"ingestionPolicy\"]),\n emissionPolicies: !item[\"emissionPolicies\"]\n ? item[\"emissionPolicies\"]\n : emissionPoliciesPropertiesFormatArrayDeserializer(item[\"emissionPolicies\"]),\n provisioningState: item[\"provisioningState\"],\n };\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA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AAY,IAC1B,KAAK,YAAY,IACjB,4BAA4B,KAAK,YAAY,CAAC;AAAA,EACpD;AACF;AAEO,SAAS,6CAA6C,MAAW;AACtE,SAAO;AAAA,IACL,mBAAmB,CAAC,KAAK,mBAAmB,IACxC,KAAK,mBAAmB,IACxB,mCAAmC,KAAK,mBAAmB,CAAC;AAAA,IAChE,YAAY,CAAC,KAAK,YAAY,IAC1B,KAAK,YAAY,IACjB,8BAA8B,KAAK,YAAY,CAAC;AAAA,IACpD,mBAAmB,KAAK,mBAAmB;AAAA,EAC7C;AACF;AAEO,SAAS,qCAAqC,MAA4B;AAC/E,SAAO;AAAA,IACL,iBAAiB,CAAC,KAAK,iBAAiB,IACpC,KAAK,iBAAiB,IACtB,0CAA0C,KAAK,iBAAiB,CAAC;AAAA,IACrE,kBAAkB,CAAC,KAAK,kBAAkB,IACtC,KAAK,kBAAkB,IACvB,gDAAgD,KAAK,kBAAkB,CAAC;AAAA,EAC9E;AACF;AAEO,SAAS,uCAAuC,MAAW;AAChE,SAAO;AAAA,IACL,iBAAiB,CAAC,KAAK,iBAAiB,IACpC,KAAK,iBAAiB,IACtB,4CAA4C,KAAK,iBAAiB,CAAC;AAAA,IACvE,kBAAkB,CAAC,KAAK,kBAAkB,IACtC,KAAK,kBAAkB,IACvB,kDAAkD,KAAK,kBAAkB,CAAC;AAAA,IAC9E,mBAAmB,KAAK,mBAAmB;AAAA,EAC7C;AACF;",
|
|
6
|
+
"names": ["KnownProvisioningState", "KnownCreatedByType", "KnownIngestionType", "KnownSourceType", "KnownEmissionType", "KnownDestinationType", "KnownVersions"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { AzureTrafficCollectorClient } from "./azureTrafficCollectorClient.js";
|
|
2
|
+
import type { OperationOptions, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
3
|
+
import type { AbortSignalLike } from "@azure/abort-controller";
|
|
4
|
+
import type { PollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
+
export interface RestorePollerOptions<TResult, TResponse extends PathUncheckedResponse = PathUncheckedResponse> extends OperationOptions {
|
|
6
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
7
|
+
updateIntervalInMs?: number;
|
|
8
|
+
/**
|
|
9
|
+
* The signal which can be used to abort requests.
|
|
10
|
+
*/
|
|
11
|
+
abortSignal?: AbortSignalLike;
|
|
12
|
+
/** Deserialization function for raw response body */
|
|
13
|
+
processResponseBody?: (result: TResponse) => Promise<TResult>;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Creates a poller from the serialized state of another poller. This can be
|
|
17
|
+
* useful when you want to create pollers on a different host or a poller
|
|
18
|
+
* needs to be constructed after the original one is not in scope.
|
|
19
|
+
*/
|
|
20
|
+
export declare function restorePoller<TResponse extends PathUncheckedResponse, TResult>(client: AzureTrafficCollectorClient, serializedState: string, sourceOperation: (...args: any[]) => PollerLike<OperationState<TResult>, TResult>, options?: RestorePollerOptions<TResult>): PollerLike<OperationState<TResult>, TResult>;
|
|
21
|
+
//# sourceMappingURL=restorePollerHelpers.d.ts.map
|