@azure/arm-networkfunction 2.0.1-alpha.20250217.1 → 2.0.1-alpha.20250218.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -14
- package/{dist-esm/src → dist/browser}/azureTrafficCollectorClient.d.ts +2 -2
- package/dist/browser/azureTrafficCollectorClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/azureTrafficCollectorClient.js +15 -18
- package/dist/browser/azureTrafficCollectorClient.js.map +1 -0
- package/dist/browser/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/lroImpl.js +25 -0
- package/dist/browser/lroImpl.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/azureTrafficCollectors.d.ts +3 -3
- package/dist/browser/operations/azureTrafficCollectors.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/azureTrafficCollectors.js +69 -78
- package/dist/browser/operations/azureTrafficCollectors.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/azureTrafficCollectorsByResourceGroup.d.ts +3 -3
- package/dist/browser/operations/azureTrafficCollectorsByResourceGroup.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/azureTrafficCollectorsByResourceGroup.js +3 -3
- package/dist/browser/operations/azureTrafficCollectorsByResourceGroup.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/azureTrafficCollectorsBySubscription.d.ts +3 -3
- package/dist/browser/operations/azureTrafficCollectorsBySubscription.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/azureTrafficCollectorsBySubscription.js +3 -3
- package/dist/browser/operations/azureTrafficCollectorsBySubscription.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/collectorPolicies.d.ts +3 -3
- package/dist/browser/operations/collectorPolicies.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/collectorPolicies.js +82 -90
- package/dist/browser/operations/collectorPolicies.js.map +1 -0
- package/dist/browser/operations/index.d.ts +6 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/dist/browser/operations/index.js +13 -0
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/networkFunction.d.ts +3 -3
- package/dist/browser/operations/networkFunction.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/networkFunction.js +2 -2
- package/dist/browser/operations/networkFunction.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/azureTrafficCollectors.d.ts +1 -1
- package/dist/browser/operationsInterfaces/azureTrafficCollectors.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/azureTrafficCollectors.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/azureTrafficCollectorsByResourceGroup.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/azureTrafficCollectorsByResourceGroup.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/azureTrafficCollectorsBySubscription.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/azureTrafficCollectorsBySubscription.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/azureTrafficCollectorsBySubscription.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/collectorPolicies.d.ts +1 -1
- package/dist/browser/operationsInterfaces/collectorPolicies.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/collectorPolicies.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +6 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/index.js +13 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/networkFunction.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/networkFunction.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/networkFunction.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/azureTrafficCollectorClient.d.ts +24 -0
- package/dist/commonjs/azureTrafficCollectorClient.d.ts.map +1 -0
- package/dist/commonjs/azureTrafficCollectorClient.js +106 -0
- package/dist/commonjs/azureTrafficCollectorClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lroImpl.d.ts +16 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +29 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +433 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +69 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +21 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +523 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +19 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +139 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/azureTrafficCollectors.d.ts +59 -0
- package/dist/commonjs/operations/azureTrafficCollectors.d.ts.map +1 -0
- package/dist/commonjs/operations/azureTrafficCollectors.js +252 -0
- package/dist/commonjs/operations/azureTrafficCollectors.js.map +1 -0
- package/dist/commonjs/operations/azureTrafficCollectorsByResourceGroup.d.ts +35 -0
- package/dist/commonjs/operations/azureTrafficCollectorsByResourceGroup.d.ts.map +1 -0
- package/dist/commonjs/operations/azureTrafficCollectorsByResourceGroup.js +150 -0
- package/dist/commonjs/operations/azureTrafficCollectorsByResourceGroup.js.map +1 -0
- package/dist/commonjs/operations/azureTrafficCollectorsBySubscription.d.ts +32 -0
- package/dist/commonjs/operations/azureTrafficCollectorsBySubscription.d.ts.map +1 -0
- package/dist/commonjs/operations/azureTrafficCollectorsBySubscription.js +142 -0
- package/dist/commonjs/operations/azureTrafficCollectorsBySubscription.js.map +1 -0
- package/dist/commonjs/operations/collectorPolicies.d.ts +90 -0
- package/dist/commonjs/operations/collectorPolicies.d.ts.map +1 -0
- package/dist/commonjs/operations/collectorPolicies.js +412 -0
- package/dist/commonjs/operations/collectorPolicies.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +6 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +16 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/networkFunction.d.ts +26 -0
- package/dist/commonjs/operations/networkFunction.d.ts.map +1 -0
- package/dist/commonjs/operations/networkFunction.js +100 -0
- package/dist/commonjs/operations/networkFunction.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/azureTrafficCollectors.d.ts +51 -0
- package/dist/commonjs/operationsInterfaces/azureTrafficCollectors.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/azureTrafficCollectors.js +10 -0
- package/dist/commonjs/operationsInterfaces/azureTrafficCollectors.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsByResourceGroup.d.ts +12 -0
- package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsByResourceGroup.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js +10 -0
- package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsBySubscription.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsBySubscription.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsBySubscription.js +10 -0
- package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsBySubscription.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/collectorPolicies.d.ts +65 -0
- package/dist/commonjs/operationsInterfaces/collectorPolicies.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/collectorPolicies.js +10 -0
- package/dist/commonjs/operationsInterfaces/collectorPolicies.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +6 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +16 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/networkFunction.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/networkFunction.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/networkFunction.js +10 -0
- package/dist/commonjs/operationsInterfaces/networkFunction.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/esm/azureTrafficCollectorClient.d.ts +24 -0
- package/dist/esm/azureTrafficCollectorClient.d.ts.map +1 -0
- package/dist/esm/azureTrafficCollectorClient.js +101 -0
- package/dist/esm/azureTrafficCollectorClient.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +16 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +25 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +433 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +66 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +21 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +520 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +19 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +136 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/azureTrafficCollectors.d.ts +59 -0
- package/dist/esm/operations/azureTrafficCollectors.d.ts.map +1 -0
- package/dist/esm/operations/azureTrafficCollectors.js +247 -0
- package/dist/esm/operations/azureTrafficCollectors.js.map +1 -0
- package/dist/esm/operations/azureTrafficCollectorsByResourceGroup.d.ts +35 -0
- package/dist/esm/operations/azureTrafficCollectorsByResourceGroup.d.ts.map +1 -0
- package/dist/esm/operations/azureTrafficCollectorsByResourceGroup.js +146 -0
- package/dist/esm/operations/azureTrafficCollectorsByResourceGroup.js.map +1 -0
- package/dist/esm/operations/azureTrafficCollectorsBySubscription.d.ts +32 -0
- package/dist/esm/operations/azureTrafficCollectorsBySubscription.d.ts.map +1 -0
- package/dist/esm/operations/azureTrafficCollectorsBySubscription.js +138 -0
- package/dist/esm/operations/azureTrafficCollectorsBySubscription.js.map +1 -0
- package/dist/esm/operations/collectorPolicies.d.ts +90 -0
- package/dist/esm/operations/collectorPolicies.d.ts.map +1 -0
- package/dist/esm/operations/collectorPolicies.js +408 -0
- package/dist/esm/operations/collectorPolicies.js.map +1 -0
- package/dist/esm/operations/index.d.ts +6 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +13 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/networkFunction.d.ts +26 -0
- package/dist/esm/operations/networkFunction.d.ts.map +1 -0
- package/dist/esm/operations/networkFunction.js +96 -0
- package/dist/esm/operations/networkFunction.js.map +1 -0
- package/dist/esm/operationsInterfaces/azureTrafficCollectors.d.ts +51 -0
- package/dist/esm/operationsInterfaces/azureTrafficCollectors.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/azureTrafficCollectors.js +9 -0
- package/dist/esm/operationsInterfaces/azureTrafficCollectors.js.map +1 -0
- package/dist/esm/operationsInterfaces/azureTrafficCollectorsByResourceGroup.d.ts +12 -0
- package/dist/esm/operationsInterfaces/azureTrafficCollectorsByResourceGroup.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js +9 -0
- package/dist/esm/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js.map +1 -0
- package/dist/esm/operationsInterfaces/azureTrafficCollectorsBySubscription.d.ts +11 -0
- package/dist/esm/operationsInterfaces/azureTrafficCollectorsBySubscription.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/azureTrafficCollectorsBySubscription.js +9 -0
- package/dist/esm/operationsInterfaces/azureTrafficCollectorsBySubscription.js.map +1 -0
- package/dist/esm/operationsInterfaces/collectorPolicies.d.ts +65 -0
- package/dist/esm/operationsInterfaces/collectorPolicies.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/collectorPolicies.js +9 -0
- package/dist/esm/operationsInterfaces/collectorPolicies.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +6 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +13 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/networkFunction.d.ts +11 -0
- package/dist/esm/operationsInterfaces/networkFunction.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/networkFunction.js +9 -0
- package/dist/esm/operationsInterfaces/networkFunction.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +32 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/azureTrafficCollectorClient.d.ts +24 -0
- package/dist/react-native/azureTrafficCollectorClient.d.ts.map +1 -0
- package/dist/react-native/azureTrafficCollectorClient.js +101 -0
- package/dist/react-native/azureTrafficCollectorClient.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/lroImpl.d.ts +16 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +25 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +433 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +66 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +21 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +520 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +19 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +136 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/azureTrafficCollectors.d.ts +59 -0
- package/dist/react-native/operations/azureTrafficCollectors.d.ts.map +1 -0
- package/dist/react-native/operations/azureTrafficCollectors.js +247 -0
- package/dist/react-native/operations/azureTrafficCollectors.js.map +1 -0
- package/dist/react-native/operations/azureTrafficCollectorsByResourceGroup.d.ts +35 -0
- package/dist/react-native/operations/azureTrafficCollectorsByResourceGroup.d.ts.map +1 -0
- package/dist/react-native/operations/azureTrafficCollectorsByResourceGroup.js +146 -0
- package/dist/react-native/operations/azureTrafficCollectorsByResourceGroup.js.map +1 -0
- package/dist/react-native/operations/azureTrafficCollectorsBySubscription.d.ts +32 -0
- package/dist/react-native/operations/azureTrafficCollectorsBySubscription.d.ts.map +1 -0
- package/dist/react-native/operations/azureTrafficCollectorsBySubscription.js +138 -0
- package/dist/react-native/operations/azureTrafficCollectorsBySubscription.js.map +1 -0
- package/dist/react-native/operations/collectorPolicies.d.ts +90 -0
- package/dist/react-native/operations/collectorPolicies.d.ts.map +1 -0
- package/dist/react-native/operations/collectorPolicies.js +408 -0
- package/dist/react-native/operations/collectorPolicies.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +6 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +13 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/networkFunction.d.ts +26 -0
- package/dist/react-native/operations/networkFunction.d.ts.map +1 -0
- package/dist/react-native/operations/networkFunction.js +96 -0
- package/dist/react-native/operations/networkFunction.js.map +1 -0
- package/dist/react-native/operationsInterfaces/azureTrafficCollectors.d.ts +51 -0
- package/dist/react-native/operationsInterfaces/azureTrafficCollectors.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/azureTrafficCollectors.js +9 -0
- package/dist/react-native/operationsInterfaces/azureTrafficCollectors.js.map +1 -0
- package/dist/react-native/operationsInterfaces/azureTrafficCollectorsByResourceGroup.d.ts +12 -0
- package/dist/react-native/operationsInterfaces/azureTrafficCollectorsByResourceGroup.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js +9 -0
- package/dist/react-native/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js.map +1 -0
- package/dist/react-native/operationsInterfaces/azureTrafficCollectorsBySubscription.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/azureTrafficCollectorsBySubscription.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/azureTrafficCollectorsBySubscription.js +9 -0
- package/dist/react-native/operationsInterfaces/azureTrafficCollectorsBySubscription.js.map +1 -0
- package/dist/react-native/operationsInterfaces/collectorPolicies.d.ts +65 -0
- package/dist/react-native/operationsInterfaces/collectorPolicies.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/collectorPolicies.js +9 -0
- package/dist/react-native/operationsInterfaces/collectorPolicies.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +6 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +13 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/networkFunction.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/networkFunction.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/networkFunction.js +9 -0
- package/dist/react-native/operationsInterfaces/networkFunction.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +32 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +70 -41
- package/dist/index.js +0 -1933
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/azureTrafficCollectorsByResourceGroupListSample.d.ts +0 -2
- package/dist-esm/samples-dev/azureTrafficCollectorsByResourceGroupListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/azureTrafficCollectorsByResourceGroupListSample.js +0 -44
- package/dist-esm/samples-dev/azureTrafficCollectorsByResourceGroupListSample.js.map +0 -1
- package/dist-esm/samples-dev/azureTrafficCollectorsBySubscriptionListSample.d.ts +0 -2
- package/dist-esm/samples-dev/azureTrafficCollectorsBySubscriptionListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/azureTrafficCollectorsBySubscriptionListSample.js +0 -43
- package/dist-esm/samples-dev/azureTrafficCollectorsBySubscriptionListSample.js.map +0 -1
- package/dist-esm/samples-dev/azureTrafficCollectorsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/azureTrafficCollectorsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/azureTrafficCollectorsCreateOrUpdateSample.js +0 -25
- package/dist-esm/samples-dev/azureTrafficCollectorsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/azureTrafficCollectorsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/azureTrafficCollectorsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/azureTrafficCollectorsDeleteSample.js +0 -29
- package/dist-esm/samples-dev/azureTrafficCollectorsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/azureTrafficCollectorsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/azureTrafficCollectorsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/azureTrafficCollectorsGetSample.js +0 -29
- package/dist-esm/samples-dev/azureTrafficCollectorsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/azureTrafficCollectorsUpdateTagsSample.d.ts +0 -2
- package/dist-esm/samples-dev/azureTrafficCollectorsUpdateTagsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/azureTrafficCollectorsUpdateTagsSample.js +0 -23
- package/dist-esm/samples-dev/azureTrafficCollectorsUpdateTagsSample.js.map +0 -1
- package/dist-esm/samples-dev/collectorPoliciesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/collectorPoliciesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/collectorPoliciesCreateOrUpdateSample.js +0 -31
- package/dist-esm/samples-dev/collectorPoliciesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/collectorPoliciesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/collectorPoliciesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/collectorPoliciesDeleteSample.js +0 -30
- package/dist-esm/samples-dev/collectorPoliciesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/collectorPoliciesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/collectorPoliciesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/collectorPoliciesGetSample.js +0 -30
- package/dist-esm/samples-dev/collectorPoliciesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/collectorPoliciesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/collectorPoliciesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/collectorPoliciesListSample.js +0 -45
- package/dist-esm/samples-dev/collectorPoliciesListSample.js.map +0 -1
- package/dist-esm/samples-dev/collectorPoliciesUpdateTagsSample.d.ts +0 -2
- package/dist-esm/samples-dev/collectorPoliciesUpdateTagsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/collectorPoliciesUpdateTagsSample.js +0 -24
- package/dist-esm/samples-dev/collectorPoliciesUpdateTagsSample.js.map +0 -1
- package/dist-esm/samples-dev/networkFunctionListOperationsSample.d.ts +0 -2
- package/dist-esm/samples-dev/networkFunctionListOperationsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/networkFunctionListOperationsSample.js +0 -43
- package/dist-esm/samples-dev/networkFunctionListOperationsSample.js.map +0 -1
- package/dist-esm/src/azureTrafficCollectorClient.d.ts.map +0 -1
- package/dist-esm/src/azureTrafficCollectorClient.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.js +0 -29
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/azureTrafficCollectors.d.ts.map +0 -1
- package/dist-esm/src/operations/azureTrafficCollectors.js.map +0 -1
- package/dist-esm/src/operations/azureTrafficCollectorsByResourceGroup.d.ts.map +0 -1
- package/dist-esm/src/operations/azureTrafficCollectorsByResourceGroup.js.map +0 -1
- package/dist-esm/src/operations/azureTrafficCollectorsBySubscription.d.ts.map +0 -1
- package/dist-esm/src/operations/azureTrafficCollectorsBySubscription.js.map +0 -1
- package/dist-esm/src/operations/collectorPolicies.d.ts.map +0 -1
- package/dist-esm/src/operations/collectorPolicies.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -6
- package/dist-esm/src/operations/index.js +0 -13
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/networkFunction.d.ts.map +0 -1
- package/dist-esm/src/operations/networkFunction.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/azureTrafficCollectors.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/azureTrafficCollectors.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/azureTrafficCollectorsBySubscription.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/collectorPolicies.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/collectorPolicies.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -6
- package/dist-esm/src/operationsInterfaces/index.js +0 -13
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/networkFunction.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/networkfunction_examples.spec.d.ts +0 -4
- package/dist-esm/test/networkfunction_examples.spec.d.ts.map +0 -1
- package/dist-esm/test/networkfunction_examples.spec.js +0 -73
- package/dist-esm/test/networkfunction_examples.spec.js.map +0 -1
- package/src/azureTrafficCollectorClient.ts +0 -164
- package/src/lroImpl.ts +0 -34
- package/src/models/index.ts +0 -498
- package/src/models/mappers.ts +0 -554
- package/src/models/parameters.ts +0 -162
- package/src/operations/azureTrafficCollectors.ts +0 -362
- package/src/operations/azureTrafficCollectorsByResourceGroup.ts +0 -176
- package/src/operations/azureTrafficCollectorsBySubscription.ts +0 -156
- package/src/operations/collectorPolicies.ts +0 -575
- package/src/operations/index.ts +0 -13
- package/src/operations/networkFunction.ts +0 -106
- package/src/operationsInterfaces/azureTrafficCollectors.ts +0 -100
- package/src/operationsInterfaces/azureTrafficCollectorsByResourceGroup.ts +0 -27
- package/src/operationsInterfaces/azureTrafficCollectorsBySubscription.ts +0 -25
- package/src/operationsInterfaces/collectorPolicies.ts +0 -127
- package/src/operationsInterfaces/index.ts +0 -13
- package/src/operationsInterfaces/networkFunction.ts +0 -25
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- package/types/arm-networkfunction.d.ts +0 -668
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/azureTrafficCollectors.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/azureTrafficCollectorsBySubscription.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/collectorPolicies.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/networkFunction.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
- /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { AzureTrafficCollectorsByResourceGroup } from "../operationsInterfaces";
|
|
3
|
-
import { AzureTrafficCollectorClient } from "../azureTrafficCollectorClient";
|
|
4
|
-
import { AzureTrafficCollector, AzureTrafficCollectorsByResourceGroupListOptionalParams } from "../models";
|
|
2
|
+
import { AzureTrafficCollectorsByResourceGroup } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { AzureTrafficCollectorClient } from "../azureTrafficCollectorClient.js";
|
|
4
|
+
import { AzureTrafficCollector, AzureTrafficCollectorsByResourceGroupListOptionalParams } from "../models/index.js";
|
|
5
5
|
/** Class containing AzureTrafficCollectorsByResourceGroup operations. */
|
|
6
6
|
export declare class AzureTrafficCollectorsByResourceGroupImpl implements AzureTrafficCollectorsByResourceGroup {
|
|
7
7
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"azureTrafficCollectorsByResourceGroup.d.ts","sourceRoot":"","sources":["../../../src/operations/azureTrafficCollectorsByResourceGroup.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,qCAAqC,EAAE,MAAM,kCAAkC,CAAC;AAIzF,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,EACL,qBAAqB,EAErB,uDAAuD,EAGxD,MAAM,oBAAoB,CAAC;AAG5B,yEAAyE;AACzE,qBAAa,yCACX,YAAW,qCAAqC;IAChD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA8B;IAErD;;;OAGG;gBACS,MAAM,EAAE,2BAA2B;IAI/C;;;;OAIG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,uDAAuD,GAChE,0BAA0B,CAAC,qBAAqB,CAAC;YAkBrC,cAAc;YA2Bd,aAAa;IAS5B;;;;OAIG;IACH,OAAO,CAAC,KAAK;IAUb;;;;;OAKG;IACH,OAAO,CAAC,SAAS;CAUlB"}
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
9
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
10
|
import * as coreClient from "@azure/core-client";
|
|
11
|
-
import * as Mappers from "../models/mappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
11
|
+
import * as Mappers from "../models/mappers.js";
|
|
12
|
+
import * as Parameters from "../models/parameters.js";
|
|
13
13
|
/// <reference lib="esnext.asynciterable" />
|
|
14
14
|
/** Class containing AzureTrafficCollectorsByResourceGroup operations. */
|
|
15
15
|
export class AzureTrafficCollectorsByResourceGroupImpl {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"azureTrafficCollectorsByResourceGroup.js","sourceRoot":"","sources":["../../../src/operations/azureTrafficCollectorsByResourceGroup.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAUtD,4CAA4C;AAC5C,yEAAyE;AACzE,MAAM,OAAO,yCAAyC;IAIpD;;;OAGG;IACH,YAAY,MAAmC;QAC7C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,IAAI,CACT,iBAAyB,EACzB,OAAiE;QAEjE,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;QAC5D,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAA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AC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,+BAA+B;SACpD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,iBAAiB;KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { AzureTrafficCollectorsByResourceGroup } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { AzureTrafficCollectorClient } from \"../azureTrafficCollectorClient.js\";\nimport {\n AzureTrafficCollector,\n AzureTrafficCollectorsByResourceGroupListNextOptionalParams,\n AzureTrafficCollectorsByResourceGroupListOptionalParams,\n AzureTrafficCollectorsByResourceGroupListResponse,\n AzureTrafficCollectorsByResourceGroupListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing AzureTrafficCollectorsByResourceGroup operations. */\nexport class AzureTrafficCollectorsByResourceGroupImpl\n implements AzureTrafficCollectorsByResourceGroup {\n private readonly client: AzureTrafficCollectorClient;\n\n /**\n * Initialize a new instance of the class AzureTrafficCollectorsByResourceGroup class.\n * @param client Reference to the service client\n */\n constructor(client: AzureTrafficCollectorClient) {\n this.client = client;\n }\n\n /**\n * Return list of Azure Traffic Collectors in a Resource Group\n * @param resourceGroupName The name of the resource group.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n options?: AzureTrafficCollectorsByResourceGroupListOptionalParams\n ): PagedAsyncIterableIterator<AzureTrafficCollector> {\n const iter = this.listPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(resourceGroupName, options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n options?: AzureTrafficCollectorsByResourceGroupListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<AzureTrafficCollector[]> {\n let result: AzureTrafficCollectorsByResourceGroupListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n options?: AzureTrafficCollectorsByResourceGroupListOptionalParams\n ): AsyncIterableIterator<AzureTrafficCollector> {\n for await (const page of this.listPagingPage(resourceGroupName, options)) {\n yield* page;\n }\n }\n\n /**\n * Return list of Azure Traffic Collectors in a Resource Group\n * @param resourceGroupName The name of the resource group.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n options?: AzureTrafficCollectorsByResourceGroupListOptionalParams\n ): Promise<AzureTrafficCollectorsByResourceGroupListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listOperationSpec\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n nextLink: string,\n options?: AzureTrafficCollectorsByResourceGroupListNextOptionalParams\n ): Promise<AzureTrafficCollectorsByResourceGroupListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureTrafficCollectorListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureTrafficCollectorListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { AzureTrafficCollectorsBySubscription } from "../operationsInterfaces";
|
|
3
|
-
import { AzureTrafficCollectorClient } from "../azureTrafficCollectorClient";
|
|
4
|
-
import { AzureTrafficCollector, AzureTrafficCollectorsBySubscriptionListOptionalParams } from "../models";
|
|
2
|
+
import { AzureTrafficCollectorsBySubscription } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { AzureTrafficCollectorClient } from "../azureTrafficCollectorClient.js";
|
|
4
|
+
import { AzureTrafficCollector, AzureTrafficCollectorsBySubscriptionListOptionalParams } from "../models/index.js";
|
|
5
5
|
/** Class containing AzureTrafficCollectorsBySubscription operations. */
|
|
6
6
|
export declare class AzureTrafficCollectorsBySubscriptionImpl implements AzureTrafficCollectorsBySubscription {
|
|
7
7
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"azureTrafficCollectorsBySubscription.d.ts","sourceRoot":"","sources":["../../../src/operations/azureTrafficCollectorsBySubscription.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,oCAAoC,EAAE,MAAM,kCAAkC,CAAC;AAIxF,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,EACL,qBAAqB,EAErB,sDAAsD,EAGvD,MAAM,oBAAoB,CAAC;AAG5B,wEAAwE;AACxE,qBAAa,wCACX,YAAW,oCAAoC;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA8B;IAErD;;;OAGG;gBACS,MAAM,EAAE,2BAA2B;IAI/C;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,sDAAsD,GAC/D,0BAA0B,CAAC,qBAAqB,CAAC;YAkBrC,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
9
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
10
|
import * as coreClient from "@azure/core-client";
|
|
11
|
-
import * as Mappers from "../models/mappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
11
|
+
import * as Mappers from "../models/mappers.js";
|
|
12
|
+
import * as Parameters from "../models/parameters.js";
|
|
13
13
|
/// <reference lib="esnext.asynciterable" />
|
|
14
14
|
/** Class containing AzureTrafficCollectorsBySubscription operations. */
|
|
15
15
|
export class AzureTrafficCollectorsBySubscriptionImpl {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"azureTrafficCollectorsBySubscription.js","sourceRoot":"","sources":["../../../src/operations/azureTrafficCollectorsBySubscription.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAUtD,4CAA4C;AAC5C,wEAAwE;AACxE,MAAM,OAAO,wCAAwC;IAInD;;;OAGG;IACH,YAAY,MAAmC;QAC7C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAgE;QAEhE,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,QAA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right (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { AzureTrafficCollectorsBySubscription } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { AzureTrafficCollectorClient } from \"../azureTrafficCollectorClient.js\";\nimport {\n AzureTrafficCollector,\n AzureTrafficCollectorsBySubscriptionListNextOptionalParams,\n AzureTrafficCollectorsBySubscriptionListOptionalParams,\n AzureTrafficCollectorsBySubscriptionListResponse,\n AzureTrafficCollectorsBySubscriptionListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing AzureTrafficCollectorsBySubscription operations. */\nexport class AzureTrafficCollectorsBySubscriptionImpl\n implements AzureTrafficCollectorsBySubscription {\n private readonly client: AzureTrafficCollectorClient;\n\n /**\n * Initialize a new instance of the class AzureTrafficCollectorsBySubscription class.\n * @param client Reference to the service client\n */\n constructor(client: AzureTrafficCollectorClient) {\n this.client = client;\n }\n\n /**\n * Return list of Azure Traffic Collectors in a subscription\n * @param options The options parameters.\n */\n public list(\n options?: AzureTrafficCollectorsBySubscriptionListOptionalParams\n ): PagedAsyncIterableIterator<AzureTrafficCollector> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: AzureTrafficCollectorsBySubscriptionListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<AzureTrafficCollector[]> {\n let result: AzureTrafficCollectorsBySubscriptionListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: AzureTrafficCollectorsBySubscriptionListOptionalParams\n ): AsyncIterableIterator<AzureTrafficCollector> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Return list of Azure Traffic Collectors in a subscription\n * @param options The options parameters.\n */\n private _list(\n options?: AzureTrafficCollectorsBySubscriptionListOptionalParams\n ): Promise<AzureTrafficCollectorsBySubscriptionListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: AzureTrafficCollectorsBySubscriptionListNextOptionalParams\n ): Promise<AzureTrafficCollectorsBySubscriptionListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.NetworkFunction/azureTrafficCollectors\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureTrafficCollectorListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureTrafficCollectorListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { CollectorPolicies } from "../operationsInterfaces";
|
|
3
|
-
import { AzureTrafficCollectorClient } from "../azureTrafficCollectorClient";
|
|
2
|
+
import { CollectorPolicies } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { AzureTrafficCollectorClient } from "../azureTrafficCollectorClient.js";
|
|
4
4
|
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
5
|
-
import { CollectorPolicy, CollectorPoliciesListOptionalParams, CollectorPoliciesGetOptionalParams, CollectorPoliciesGetResponse, CollectorPoliciesCreateOrUpdateOptionalParams, CollectorPoliciesCreateOrUpdateResponse, CollectorPoliciesDeleteOptionalParams, TagsObject, CollectorPoliciesUpdateTagsOptionalParams, CollectorPoliciesUpdateTagsResponse } from "../models";
|
|
5
|
+
import { CollectorPolicy, CollectorPoliciesListOptionalParams, CollectorPoliciesGetOptionalParams, CollectorPoliciesGetResponse, CollectorPoliciesCreateOrUpdateOptionalParams, CollectorPoliciesCreateOrUpdateResponse, CollectorPoliciesDeleteOptionalParams, TagsObject, CollectorPoliciesUpdateTagsOptionalParams, CollectorPoliciesUpdateTagsResponse } from "../models/index.js";
|
|
6
6
|
/** Class containing CollectorPolicies operations. */
|
|
7
7
|
export declare class CollectorPoliciesImpl implements CollectorPolicies {
|
|
8
8
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collectorPolicies.d.ts","sourceRoot":"","sources":["../../../src/operations/collectorPolicies.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,iBAAiB,EAAE,M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EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC;IAWnD;;;;;;OAMG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IA2DtD;;;;;;OAMG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,IAAI,CAAC;IAUhB;;;;;;;OAOG;IACH,UAAU,CACR,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,mBAAmB,EAAE,MAAM,EAC3B,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC;IAa/C;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await
|
|
9
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
10
|
import * as coreClient from "@azure/core-client";
|
|
11
|
-
import * as Mappers from "../models/mappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
11
|
+
import * as Mappers from "../models/mappers.js";
|
|
12
|
+
import * as Parameters from "../models/parameters.js";
|
|
13
13
|
import { LroEngine } from "@azure/core-lro";
|
|
14
|
-
import { LroImpl } from "../lroImpl";
|
|
14
|
+
import { LroImpl } from "../lroImpl.js";
|
|
15
15
|
/// <reference lib="esnext.asynciterable" />
|
|
16
16
|
/** Class containing CollectorPolicies operations. */
|
|
17
17
|
export class CollectorPoliciesImpl {
|
|
@@ -117,45 +117,43 @@ export class CollectorPoliciesImpl {
|
|
|
117
117
|
* @param location Resource location.
|
|
118
118
|
* @param options The options parameters.
|
|
119
119
|
*/
|
|
120
|
-
beginCreateOrUpdate(resourceGroupName, azureTrafficCollectorName, collectorPolicyName, location, options) {
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
lroResourceLocationConfig: "azure-async-operation"
|
|
155
|
-
});
|
|
156
|
-
yield poller.poll();
|
|
157
|
-
return poller;
|
|
120
|
+
async beginCreateOrUpdate(resourceGroupName, azureTrafficCollectorName, collectorPolicyName, location, options) {
|
|
121
|
+
const directSendOperation = async (args, spec) => {
|
|
122
|
+
return this.client.sendOperationRequest(args, spec);
|
|
123
|
+
};
|
|
124
|
+
const sendOperation = async (args, spec) => {
|
|
125
|
+
var _a;
|
|
126
|
+
let currentRawResponse = undefined;
|
|
127
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
128
|
+
const callback = (rawResponse, flatResponse) => {
|
|
129
|
+
currentRawResponse = rawResponse;
|
|
130
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
131
|
+
};
|
|
132
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
133
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
134
|
+
return {
|
|
135
|
+
flatResponse,
|
|
136
|
+
rawResponse: {
|
|
137
|
+
statusCode: currentRawResponse.status,
|
|
138
|
+
body: currentRawResponse.parsedBody,
|
|
139
|
+
headers: currentRawResponse.headers.toJSON()
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
const lro = new LroImpl(sendOperation, {
|
|
144
|
+
resourceGroupName,
|
|
145
|
+
azureTrafficCollectorName,
|
|
146
|
+
collectorPolicyName,
|
|
147
|
+
location,
|
|
148
|
+
options
|
|
149
|
+
}, createOrUpdateOperationSpec);
|
|
150
|
+
const poller = new LroEngine(lro, {
|
|
151
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
152
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
153
|
+
lroResourceLocationConfig: "azure-async-operation"
|
|
158
154
|
});
|
|
155
|
+
await poller.poll();
|
|
156
|
+
return poller;
|
|
159
157
|
}
|
|
160
158
|
/**
|
|
161
159
|
* Creates or updates a Collector Policy resource
|
|
@@ -165,11 +163,9 @@ export class CollectorPoliciesImpl {
|
|
|
165
163
|
* @param location Resource location.
|
|
166
164
|
* @param options The options parameters.
|
|
167
165
|
*/
|
|
168
|
-
beginCreateOrUpdateAndWait(resourceGroupName, azureTrafficCollectorName, collectorPolicyName, location, options) {
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
return poller.pollUntilDone();
|
|
172
|
-
});
|
|
166
|
+
async beginCreateOrUpdateAndWait(resourceGroupName, azureTrafficCollectorName, collectorPolicyName, location, options) {
|
|
167
|
+
const poller = await this.beginCreateOrUpdate(resourceGroupName, azureTrafficCollectorName, collectorPolicyName, location, options);
|
|
168
|
+
return poller.pollUntilDone();
|
|
173
169
|
}
|
|
174
170
|
/**
|
|
175
171
|
* Deletes a specified Collector Policy resource.
|
|
@@ -178,44 +174,42 @@ export class CollectorPoliciesImpl {
|
|
|
178
174
|
* @param collectorPolicyName Collector Policy Name
|
|
179
175
|
* @param options The options parameters.
|
|
180
176
|
*/
|
|
181
|
-
beginDelete(resourceGroupName, azureTrafficCollectorName, collectorPolicyName, options) {
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
lroResourceLocationConfig: "location"
|
|
215
|
-
});
|
|
216
|
-
yield poller.poll();
|
|
217
|
-
return poller;
|
|
177
|
+
async beginDelete(resourceGroupName, azureTrafficCollectorName, collectorPolicyName, options) {
|
|
178
|
+
const directSendOperation = async (args, spec) => {
|
|
179
|
+
return this.client.sendOperationRequest(args, spec);
|
|
180
|
+
};
|
|
181
|
+
const sendOperation = async (args, spec) => {
|
|
182
|
+
var _a;
|
|
183
|
+
let currentRawResponse = undefined;
|
|
184
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
185
|
+
const callback = (rawResponse, flatResponse) => {
|
|
186
|
+
currentRawResponse = rawResponse;
|
|
187
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
188
|
+
};
|
|
189
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
190
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
191
|
+
return {
|
|
192
|
+
flatResponse,
|
|
193
|
+
rawResponse: {
|
|
194
|
+
statusCode: currentRawResponse.status,
|
|
195
|
+
body: currentRawResponse.parsedBody,
|
|
196
|
+
headers: currentRawResponse.headers.toJSON()
|
|
197
|
+
}
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
const lro = new LroImpl(sendOperation, {
|
|
201
|
+
resourceGroupName,
|
|
202
|
+
azureTrafficCollectorName,
|
|
203
|
+
collectorPolicyName,
|
|
204
|
+
options
|
|
205
|
+
}, deleteOperationSpec);
|
|
206
|
+
const poller = new LroEngine(lro, {
|
|
207
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
208
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
209
|
+
lroResourceLocationConfig: "location"
|
|
218
210
|
});
|
|
211
|
+
await poller.poll();
|
|
212
|
+
return poller;
|
|
219
213
|
}
|
|
220
214
|
/**
|
|
221
215
|
* Deletes a specified Collector Policy resource.
|
|
@@ -224,11 +218,9 @@ export class CollectorPoliciesImpl {
|
|
|
224
218
|
* @param collectorPolicyName Collector Policy Name
|
|
225
219
|
* @param options The options parameters.
|
|
226
220
|
*/
|
|
227
|
-
beginDeleteAndWait(resourceGroupName, azureTrafficCollectorName, collectorPolicyName, options) {
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
return poller.pollUntilDone();
|
|
231
|
-
});
|
|
221
|
+
async beginDeleteAndWait(resourceGroupName, azureTrafficCollectorName, collectorPolicyName, options) {
|
|
222
|
+
const poller = await this.beginDelete(resourceGroupName, azureTrafficCollectorName, collectorPolicyName, options);
|
|
223
|
+
return poller.pollUntilDone();
|
|
232
224
|
}
|
|
233
225
|
/**
|
|
234
226
|
* Updates the specified Collector Policy tags.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collectorPolicies.js","sourceRoot":"","sources":["../../../src/operations/collectorPolicies.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAiBxC,4CAA4C;AAC5C,qDAAqD;AACrD,MAAM,OAAO,qBAAqB;IAGhC;;;OAGG;IACH,YAAY,MAAmC;QAC7C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,yBAAiC,EACjC,OAA6C;QAE7C,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAC7B,iBAAiB,EACjB,yBAAyB,EACzB,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CACxB,iBAAiB,EACjB,yBAAyB,EACzB,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,iBAAyB,EACzB,yBAAiC,EACjC,OAA6C,EAC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QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,yBAAyB;QACpC,UAAU,CAAC,mBAAmB;KAC/B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,yBAAyB;SAC9C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,yBAAyB;KACrC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { CollectorPolicies } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { AzureTrafficCollectorClient } from \"../azureTrafficCollectorClient.js\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl.js\";\nimport {\n CollectorPolicy,\n CollectorPoliciesListNextOptionalParams,\n CollectorPoliciesListOptionalParams,\n CollectorPoliciesListResponse,\n CollectorPoliciesGetOptionalParams,\n CollectorPoliciesGetResponse,\n CollectorPoliciesCreateOrUpdateOptionalParams,\n CollectorPoliciesCreateOrUpdateResponse,\n CollectorPoliciesDeleteOptionalParams,\n TagsObject,\n CollectorPoliciesUpdateTagsOptionalParams,\n CollectorPoliciesUpdateTagsResponse,\n CollectorPoliciesListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing CollectorPolicies operations. */\nexport class CollectorPoliciesImpl implements CollectorPolicies {\n private readonly client: AzureTrafficCollectorClient;\n\n /**\n * Initialize a new instance of the class CollectorPolicies class.\n * @param client Reference to the service client\n */\n constructor(client: AzureTrafficCollectorClient) {\n this.client = client;\n }\n\n /**\n * Return list of Collector policies in a Azure Traffic Collector\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n options?: CollectorPoliciesListOptionalParams\n ): PagedAsyncIterableIterator<CollectorPolicy> {\n const iter = this.listPagingAll(\n resourceGroupName,\n azureTrafficCollectorName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n azureTrafficCollectorName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n options?: CollectorPoliciesListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<CollectorPolicy[]> {\n let result: CollectorPoliciesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(\n resourceGroupName,\n azureTrafficCollectorName,\n options\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n azureTrafficCollectorName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n options?: CollectorPoliciesListOptionalParams\n ): AsyncIterableIterator<CollectorPolicy> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n azureTrafficCollectorName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Return list of Collector policies in a Azure Traffic Collector\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n options?: CollectorPoliciesListOptionalParams\n ): Promise<CollectorPoliciesListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, azureTrafficCollectorName, options },\n listOperationSpec\n );\n }\n\n /**\n * Gets the collector policy in a specified Traffic Collector\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param collectorPolicyName Collector Policy Name\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n collectorPolicyName: string,\n options?: CollectorPoliciesGetOptionalParams\n ): Promise<CollectorPoliciesGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n azureTrafficCollectorName,\n collectorPolicyName,\n options\n },\n getOperationSpec\n );\n }\n\n /**\n * Creates or updates a Collector Policy resource\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param collectorPolicyName Collector Policy Name\n * @param location Resource location.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n collectorPolicyName: string,\n location: string,\n options?: CollectorPoliciesCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<CollectorPoliciesCreateOrUpdateResponse>,\n CollectorPoliciesCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<CollectorPoliciesCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n azureTrafficCollectorName,\n collectorPolicyName,\n location,\n options\n },\n createOrUpdateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"azure-async-operation\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates a Collector Policy resource\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param collectorPolicyName Collector Policy Name\n * @param location Resource location.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n collectorPolicyName: string,\n location: string,\n options?: CollectorPoliciesCreateOrUpdateOptionalParams\n ): Promise<CollectorPoliciesCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n azureTrafficCollectorName,\n collectorPolicyName,\n location,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes a specified Collector Policy resource.\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param collectorPolicyName Collector Policy Name\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n collectorPolicyName: string,\n options?: CollectorPoliciesDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n azureTrafficCollectorName,\n collectorPolicyName,\n options\n },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a specified Collector Policy resource.\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param collectorPolicyName Collector Policy Name\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n collectorPolicyName: string,\n options?: CollectorPoliciesDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n azureTrafficCollectorName,\n collectorPolicyName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates the specified Collector Policy tags.\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param collectorPolicyName Collector Policy Name\n * @param parameters Parameters supplied to update Collector Policy tags.\n * @param options The options parameters.\n */\n updateTags(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n collectorPolicyName: string,\n parameters: TagsObject,\n options?: CollectorPoliciesUpdateTagsOptionalParams\n ): Promise<CollectorPoliciesUpdateTagsResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n azureTrafficCollectorName,\n collectorPolicyName,\n parameters,\n options\n },\n updateTagsOperationSpec\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n nextLink: string,\n options?: CollectorPoliciesListNextOptionalParams\n ): Promise<CollectorPoliciesListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, azureTrafficCollectorName, nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}/collectorPolicies\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CollectorPolicyListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.azureTrafficCollectorName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}/collectorPolicies/{collectorPolicyName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CollectorPolicy\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.azureTrafficCollectorName,\n Parameters.collectorPolicyName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}/collectorPolicies/{collectorPolicyName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.CollectorPolicy\n },\n 201: {\n bodyMapper: Mappers.CollectorPolicy\n },\n 202: {\n bodyMapper: Mappers.CollectorPolicy\n },\n 204: {\n bodyMapper: Mappers.CollectorPolicy\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: {\n parameterPath: {\n location: [\"location\"],\n tags: [\"options\", \"tags\"],\n ingestionPolicy: [\"options\", \"ingestionPolicy\"],\n emissionPolicies: [\"options\", \"emissionPolicies\"]\n },\n mapper: { ...Mappers.CollectorPolicy, required: true }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.azureTrafficCollectorName,\n Parameters.collectorPolicyName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}/collectorPolicies/{collectorPolicyName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.azureTrafficCollectorName,\n Parameters.collectorPolicyName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateTagsOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}/collectorPolicies/{collectorPolicyName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.CollectorPolicy\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.azureTrafficCollectorName,\n Parameters.collectorPolicyName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CollectorPolicyListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.resourceGroupName,\n Parameters.azureTrafficCollectorName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from "./networkFunction.js";
|
|
2
|
+
export * from "./azureTrafficCollectorsBySubscription.js";
|
|
3
|
+
export * from "./azureTrafficCollectorsByResourceGroup.js";
|
|
4
|
+
export * from "./azureTrafficCollectors.js";
|
|
5
|
+
export * from "./collectorPolicies.js";
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,sBAAsB,CAAC;AACrC,cAAc,2CAA2C,CAAC;AAC1D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export * from "./networkFunction.js";
|
|
9
|
+
export * from "./azureTrafficCollectorsBySubscription.js";
|
|
10
|
+
export * from "./azureTrafficCollectorsByResourceGroup.js";
|
|
11
|
+
export * from "./azureTrafficCollectors.js";
|
|
12
|
+
export * from "./collectorPolicies.js";
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,sBAAsB,CAAC;AACrC,cAAc,2CAA2C,CAAC;AAC1D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./networkFunction.js\";\nexport * from \"./azureTrafficCollectorsBySubscription.js\";\nexport * from \"./azureTrafficCollectorsByResourceGroup.js\";\nexport * from \"./azureTrafficCollectors.js\";\nexport * from \"./collectorPolicies.js\";\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { NetworkFunction } from "../operationsInterfaces";
|
|
3
|
-
import { AzureTrafficCollectorClient } from "../azureTrafficCollectorClient";
|
|
4
|
-
import { Operation, NetworkFunctionListOperationsOptionalParams } from "../models";
|
|
2
|
+
import { NetworkFunction } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { AzureTrafficCollectorClient } from "../azureTrafficCollectorClient.js";
|
|
4
|
+
import { Operation, NetworkFunctionListOperationsOptionalParams } from "../models/index.js";
|
|
5
5
|
/** Class containing NetworkFunction operations. */
|
|
6
6
|
export declare class NetworkFunctionImpl implements NetworkFunction {
|
|
7
7
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"networkFunction.d.ts","sourceRoot":"","sources":["../../../src/operations/networkFunction.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAInE,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,EACL,SAAS,EACT,2CAA2C,EAE5C,MAAM,oBAAoB,CAAC;AAG5B,mDAAmD;AACnD,qBAAa,mBAAoB,YAAW,eAAe;IACzD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA8B;IAErD;;;OAGG;gBACS,MAAM,EAAE,2BAA2B;IAI/C;;;OAGG;IACI,cAAc,CACnB,OAAO,CAAC,EAAE,2CAA2C,GACpD,0BAA0B,CAAC,SAAS,CAAC;YAkBzB,wBAAwB;YASxB,uBAAuB;IAQtC;;;OAGG;IACH,OAAO,CAAC,eAAe;CAQxB"}
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
9
|
import * as coreClient from "@azure/core-client";
|
|
10
|
-
import * as Mappers from "../models/mappers";
|
|
11
|
-
import * as Parameters from "../models/parameters";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
12
12
|
/// <reference lib="esnext.asynciterable" />
|
|
13
13
|
/** Class containing NetworkFunction operations. */
|
|
14
14
|
export class NetworkFunctionImpl {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"networkFunction.js","sourceRoot":"","sources":["../../../src/operations/networkFunction.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAQtD,4CAA4C;AAC5C,mDAAmD;AACnD,MAAM,OAAO,mBAAmB;IAG9B;;;OAGG;IACH,YAAY,MAAmC;QAC7C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,cAAc,CACnB,OAAqD;QAErD,MAAM,IAAI,GAAG,IAAI,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAAC;QACnD,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,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EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { NetworkFunction } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { AzureTrafficCollectorClient } from \"../azureTrafficCollectorClient.js\";\nimport {\n Operation,\n NetworkFunctionListOperationsOptionalParams,\n NetworkFunctionListOperationsResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing NetworkFunction operations. */\nexport class NetworkFunctionImpl implements NetworkFunction {\n private readonly client: AzureTrafficCollectorClient;\n\n /**\n * Initialize a new instance of the class NetworkFunction class.\n * @param client Reference to the service client\n */\n constructor(client: AzureTrafficCollectorClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the available NetworkFunction Rest API operations.\n * @param options The options parameters.\n */\n public listOperations(\n options?: NetworkFunctionListOperationsOptionalParams\n ): PagedAsyncIterableIterator<Operation> {\n const iter = this.listOperationsPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listOperationsPagingPage(options, settings);\n }\n };\n }\n\n private async *listOperationsPagingPage(\n options?: NetworkFunctionListOperationsOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<Operation[]> {\n let result: NetworkFunctionListOperationsResponse;\n result = await this._listOperations(options);\n yield result.value || [];\n }\n\n private async *listOperationsPagingAll(\n options?: NetworkFunctionListOperationsOptionalParams\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listOperationsPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the available NetworkFunction Rest API operations.\n * @param options The options parameters.\n */\n private _listOperations(\n options?: NetworkFunctionListOperationsOptionalParams\n ): Promise<NetworkFunctionListOperationsResponse> {\n return this.client.sendOperationRequest(\n { options },\n listOperationsOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationsOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.NetworkFunction/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
2
|
-
import { AzureTrafficCollectorsGetOptionalParams, AzureTrafficCollectorsGetResponse, AzureTrafficCollectorsCreateOrUpdateOptionalParams, AzureTrafficCollectorsCreateOrUpdateResponse, AzureTrafficCollectorsDeleteOptionalParams, TagsObject, AzureTrafficCollectorsUpdateTagsOptionalParams, AzureTrafficCollectorsUpdateTagsResponse } from "../models";
|
|
2
|
+
import { AzureTrafficCollectorsGetOptionalParams, AzureTrafficCollectorsGetResponse, AzureTrafficCollectorsCreateOrUpdateOptionalParams, AzureTrafficCollectorsCreateOrUpdateResponse, AzureTrafficCollectorsDeleteOptionalParams, TagsObject, AzureTrafficCollectorsUpdateTagsOptionalParams, AzureTrafficCollectorsUpdateTagsResponse } from "../models/index.js";
|
|
3
3
|
/** Interface representing a AzureTrafficCollectors. */
|
|
4
4
|
export interface AzureTrafficCollectors {
|
|
5
5
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"azureTrafficCollectors.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/azure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CACR,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,wCAAwC,CAAC,CAAC;CACtD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"azureTrafficCollectors.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/azureTrafficCollectors.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PollerLike, PollOperationState } from \"@azure/core-lro\";\nimport {\n AzureTrafficCollectorsGetOptionalParams,\n AzureTrafficCollectorsGetResponse,\n AzureTrafficCollectorsCreateOrUpdateOptionalParams,\n AzureTrafficCollectorsCreateOrUpdateResponse,\n AzureTrafficCollectorsDeleteOptionalParams,\n TagsObject,\n AzureTrafficCollectorsUpdateTagsOptionalParams,\n AzureTrafficCollectorsUpdateTagsResponse\n} from \"../models/index.js\";\n\n/** Interface representing a AzureTrafficCollectors. */\nexport interface AzureTrafficCollectors {\n /**\n * Gets the specified Azure Traffic Collector in a specified resource group\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n options?: AzureTrafficCollectorsGetOptionalParams\n ): Promise<AzureTrafficCollectorsGetResponse>;\n /**\n * Creates or updates a Azure Traffic Collector resource\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param location Resource location.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n location: string,\n options?: AzureTrafficCollectorsCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<AzureTrafficCollectorsCreateOrUpdateResponse>,\n AzureTrafficCollectorsCreateOrUpdateResponse\n >\n >;\n /**\n * Creates or updates a Azure Traffic Collector resource\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param location Resource location.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n location: string,\n options?: AzureTrafficCollectorsCreateOrUpdateOptionalParams\n ): Promise<AzureTrafficCollectorsCreateOrUpdateResponse>;\n /**\n * Deletes a specified Azure Traffic Collector resource.\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n options?: AzureTrafficCollectorsDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>>;\n /**\n * Deletes a specified Azure Traffic Collector resource.\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n options?: AzureTrafficCollectorsDeleteOptionalParams\n ): Promise<void>;\n /**\n * Updates the specified Azure Traffic Collector tags.\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param parameters Parameters supplied to update Azure Traffic Collector tags.\n * @param options The options parameters.\n */\n updateTags(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n parameters: TagsObject,\n options?: AzureTrafficCollectorsUpdateTagsOptionalParams\n ): Promise<AzureTrafficCollectorsUpdateTagsResponse>;\n}\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { AzureTrafficCollector, AzureTrafficCollectorsByResourceGroupListOptionalParams } from "../models";
|
|
2
|
+
import { AzureTrafficCollector, AzureTrafficCollectorsByResourceGroupListOptionalParams } from "../models/index.js";
|
|
3
3
|
/** Interface representing a AzureTrafficCollectorsByResourceGroup. */
|
|
4
4
|
export interface AzureTrafficCollectorsByResourceGroup {
|
|
5
5
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"azureTrafficCollectorsByResourceGroup.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/azureTrafficCollectorsByResourceGroup.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,qBAAqB,EACrB,uDAAuD,EACxD,MAAM,
|
|
1
|
+
{"version":3,"file":"azureTrafficCollectorsByResourceGroup.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/azureTrafficCollectorsByResourceGroup.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,qBAAqB,EACrB,uDAAuD,EACxD,MAAM,oBAAoB,CAAC;AAG5B,sEAAsE;AACtE,MAAM,WAAW,qCAAqC;IACpD;;;;OAIG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,uDAAuD,GAChE,0BAA0B,CAAC,qBAAqB,CAAC,CAAC;CACtD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"azureTrafficCollectorsByResourceGroup.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/azureTrafficCollectorsByResourceGroup.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n AzureTrafficCollector,\n AzureTrafficCollectorsByResourceGroupListOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a AzureTrafficCollectorsByResourceGroup. */\nexport interface AzureTrafficCollectorsByResourceGroup {\n /**\n * Return list of Azure Traffic Collectors in a Resource Group\n * @param resourceGroupName The name of the resource group.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n options?: AzureTrafficCollectorsByResourceGroupListOptionalParams\n ): PagedAsyncIterableIterator<AzureTrafficCollector>;\n}\n"]}
|
package/{dist-esm/src → dist/browser}/operationsInterfaces/azureTrafficCollectorsBySubscription.d.ts
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { AzureTrafficCollector, AzureTrafficCollectorsBySubscriptionListOptionalParams } from "../models";
|
|
2
|
+
import { AzureTrafficCollector, AzureTrafficCollectorsBySubscriptionListOptionalParams } from "../models/index.js";
|
|
3
3
|
/** Interface representing a AzureTrafficCollectorsBySubscription. */
|
|
4
4
|
export interface AzureTrafficCollectorsBySubscription {
|
|
5
5
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"azureTrafficCollectorsBySubscription.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/azureTrafficCollectorsBySubscription.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,qBAAqB,EACrB,sDAAsD,EACvD,MAAM,
|
|
1
|
+
{"version":3,"file":"azureTrafficCollectorsBySubscription.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/azureTrafficCollectorsBySubscription.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,qBAAqB,EACrB,sDAAsD,EACvD,MAAM,oBAAoB,CAAC;AAG5B,qEAAqE;AACrE,MAAM,WAAW,oCAAoC;IACnD;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,sDAAsD,GAC/D,0BAA0B,CAAC,qBAAqB,CAAC,CAAC;CACtD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"azureTrafficCollectorsBySubscription.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/azureTrafficCollectorsBySubscription.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n AzureTrafficCollector,\n AzureTrafficCollectorsBySubscriptionListOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a AzureTrafficCollectorsBySubscription. */\nexport interface AzureTrafficCollectorsBySubscription {\n /**\n * Return list of Azure Traffic Collectors in a subscription\n * @param options The options parameters.\n */\n list(\n options?: AzureTrafficCollectorsBySubscriptionListOptionalParams\n ): PagedAsyncIterableIterator<AzureTrafficCollector>;\n}\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
2
|
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
3
|
-
import { CollectorPolicy, CollectorPoliciesListOptionalParams, CollectorPoliciesGetOptionalParams, CollectorPoliciesGetResponse, CollectorPoliciesCreateOrUpdateOptionalParams, CollectorPoliciesCreateOrUpdateResponse, CollectorPoliciesDeleteOptionalParams, TagsObject, CollectorPoliciesUpdateTagsOptionalParams, CollectorPoliciesUpdateTagsResponse } from "../models";
|
|
3
|
+
import { CollectorPolicy, CollectorPoliciesListOptionalParams, CollectorPoliciesGetOptionalParams, CollectorPoliciesGetResponse, CollectorPoliciesCreateOrUpdateOptionalParams, CollectorPoliciesCreateOrUpdateResponse, CollectorPoliciesDeleteOptionalParams, TagsObject, CollectorPoliciesUpdateTagsOptionalParams, CollectorPoliciesUpdateTagsResponse } from "../models/index.js";
|
|
4
4
|
/** Interface representing a CollectorPolicies. */
|
|
5
5
|
export interface CollectorPolicies {
|
|
6
6
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collectorPolicies.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/collectorPolicies.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,eAAe,EACf,mCAAmC,EACnC,kCAAkC,EAClC,4BAA4B,EAC5B,6CAA6C,EAC7C,uCAAuC,EACvC,qCAAqC,EACrC,UAAU,EACV,yCAAyC,EACzC,mCAAmC,EACpC,MAAM,oBAAoB,CAAC;AAG5B,kDAAkD;AAClD,MAAM,WAAW,iBAAiB;IAChC;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,OAAO,CAAC,EAAE,mCAAmC,GAC5C,0BAA0B,CAAC,eAAe,CAAC,CAAC;IAC/C;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC,CAAC;IACzC;;;;;;;OAOG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,mBAAmB,EAAE,MAAM,EAC3B,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,uCAAuC,CAAC,EAC3D,uCAAuC,CACxC,CACF,CAAC;IACF;;;;;;;OAOG;IACH,0BAA0B,CACxB,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,mBAAmB,EAAE,MAAM,EAC3B,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC,CAAC;IACpD;;;;;;OAMG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;;OAMG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;OAOG;IACH,UAAU,CACR,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,mBAAmB,EAAE,MAAM,EAC3B,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC,CAAC;CACjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collectorPolicies.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/collectorPolicies.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { PollerLike, PollOperationState } from \"@azure/core-lro\";\nimport {\n CollectorPolicy,\n CollectorPoliciesListOptionalParams,\n CollectorPoliciesGetOptionalParams,\n CollectorPoliciesGetResponse,\n CollectorPoliciesCreateOrUpdateOptionalParams,\n CollectorPoliciesCreateOrUpdateResponse,\n CollectorPoliciesDeleteOptionalParams,\n TagsObject,\n CollectorPoliciesUpdateTagsOptionalParams,\n CollectorPoliciesUpdateTagsResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a CollectorPolicies. */\nexport interface CollectorPolicies {\n /**\n * Return list of Collector policies in a Azure Traffic Collector\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n options?: CollectorPoliciesListOptionalParams\n ): PagedAsyncIterableIterator<CollectorPolicy>;\n /**\n * Gets the collector policy in a specified Traffic Collector\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param collectorPolicyName Collector Policy Name\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n collectorPolicyName: string,\n options?: CollectorPoliciesGetOptionalParams\n ): Promise<CollectorPoliciesGetResponse>;\n /**\n * Creates or updates a Collector Policy resource\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param collectorPolicyName Collector Policy Name\n * @param location Resource location.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n collectorPolicyName: string,\n location: string,\n options?: CollectorPoliciesCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<CollectorPoliciesCreateOrUpdateResponse>,\n CollectorPoliciesCreateOrUpdateResponse\n >\n >;\n /**\n * Creates or updates a Collector Policy resource\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param collectorPolicyName Collector Policy Name\n * @param location Resource location.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n collectorPolicyName: string,\n location: string,\n options?: CollectorPoliciesCreateOrUpdateOptionalParams\n ): Promise<CollectorPoliciesCreateOrUpdateResponse>;\n /**\n * Deletes a specified Collector Policy resource.\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param collectorPolicyName Collector Policy Name\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n collectorPolicyName: string,\n options?: CollectorPoliciesDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>>;\n /**\n * Deletes a specified Collector Policy resource.\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param collectorPolicyName Collector Policy Name\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n collectorPolicyName: string,\n options?: CollectorPoliciesDeleteOptionalParams\n ): Promise<void>;\n /**\n * Updates the specified Collector Policy tags.\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param collectorPolicyName Collector Policy Name\n * @param parameters Parameters supplied to update Collector Policy tags.\n * @param options The options parameters.\n */\n updateTags(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n collectorPolicyName: string,\n parameters: TagsObject,\n options?: CollectorPoliciesUpdateTagsOptionalParams\n ): Promise<CollectorPoliciesUpdateTagsResponse>;\n}\n"]}
|