@azure/arm-networkfunction 2.0.1-alpha.20250214.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
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.emissionPolicies = exports.ingestionPolicy = exports.tags1 = exports.location1 = exports.collectorPolicyName = exports.parameters1 = exports.virtualHub = exports.tags = exports.location = exports.contentType = exports.azureTrafficCollectorName = exports.resourceGroupName = exports.nextLink = exports.subscriptionId = exports.apiVersion = exports.$host = exports.accept = void 0;
|
|
11
|
+
const mappers_js_1 = require("../models/mappers.js");
|
|
12
|
+
exports.accept = {
|
|
13
|
+
parameterPath: "accept",
|
|
14
|
+
mapper: {
|
|
15
|
+
defaultValue: "application/json",
|
|
16
|
+
isConstant: true,
|
|
17
|
+
serializedName: "Accept",
|
|
18
|
+
type: {
|
|
19
|
+
name: "String"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
exports.$host = {
|
|
24
|
+
parameterPath: "$host",
|
|
25
|
+
mapper: {
|
|
26
|
+
serializedName: "$host",
|
|
27
|
+
required: true,
|
|
28
|
+
type: {
|
|
29
|
+
name: "String"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
skipEncoding: true
|
|
33
|
+
};
|
|
34
|
+
exports.apiVersion = {
|
|
35
|
+
parameterPath: "apiVersion",
|
|
36
|
+
mapper: {
|
|
37
|
+
defaultValue: "2022-11-01",
|
|
38
|
+
isConstant: true,
|
|
39
|
+
serializedName: "api-version",
|
|
40
|
+
type: {
|
|
41
|
+
name: "String"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
exports.subscriptionId = {
|
|
46
|
+
parameterPath: "subscriptionId",
|
|
47
|
+
mapper: {
|
|
48
|
+
serializedName: "subscriptionId",
|
|
49
|
+
required: true,
|
|
50
|
+
type: {
|
|
51
|
+
name: "String"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
exports.nextLink = {
|
|
56
|
+
parameterPath: "nextLink",
|
|
57
|
+
mapper: {
|
|
58
|
+
serializedName: "nextLink",
|
|
59
|
+
required: true,
|
|
60
|
+
type: {
|
|
61
|
+
name: "String"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
skipEncoding: true
|
|
65
|
+
};
|
|
66
|
+
exports.resourceGroupName = {
|
|
67
|
+
parameterPath: "resourceGroupName",
|
|
68
|
+
mapper: {
|
|
69
|
+
serializedName: "resourceGroupName",
|
|
70
|
+
required: true,
|
|
71
|
+
type: {
|
|
72
|
+
name: "String"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
exports.azureTrafficCollectorName = {
|
|
77
|
+
parameterPath: "azureTrafficCollectorName",
|
|
78
|
+
mapper: {
|
|
79
|
+
serializedName: "azureTrafficCollectorName",
|
|
80
|
+
required: true,
|
|
81
|
+
type: {
|
|
82
|
+
name: "String"
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
exports.contentType = {
|
|
87
|
+
parameterPath: ["options", "contentType"],
|
|
88
|
+
mapper: {
|
|
89
|
+
defaultValue: "application/json",
|
|
90
|
+
isConstant: true,
|
|
91
|
+
serializedName: "Content-Type",
|
|
92
|
+
type: {
|
|
93
|
+
name: "String"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
exports.location = {
|
|
98
|
+
parameterPath: "location",
|
|
99
|
+
mapper: mappers_js_1.AzureTrafficCollector
|
|
100
|
+
};
|
|
101
|
+
exports.tags = {
|
|
102
|
+
parameterPath: ["options", "tags"],
|
|
103
|
+
mapper: mappers_js_1.AzureTrafficCollector
|
|
104
|
+
};
|
|
105
|
+
exports.virtualHub = {
|
|
106
|
+
parameterPath: ["options", "virtualHub"],
|
|
107
|
+
mapper: mappers_js_1.AzureTrafficCollector
|
|
108
|
+
};
|
|
109
|
+
exports.parameters1 = {
|
|
110
|
+
parameterPath: "parameters",
|
|
111
|
+
mapper: mappers_js_1.TagsObject
|
|
112
|
+
};
|
|
113
|
+
exports.collectorPolicyName = {
|
|
114
|
+
parameterPath: "collectorPolicyName",
|
|
115
|
+
mapper: {
|
|
116
|
+
serializedName: "collectorPolicyName",
|
|
117
|
+
required: true,
|
|
118
|
+
type: {
|
|
119
|
+
name: "String"
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
exports.location1 = {
|
|
124
|
+
parameterPath: "location",
|
|
125
|
+
mapper: mappers_js_1.CollectorPolicy
|
|
126
|
+
};
|
|
127
|
+
exports.tags1 = {
|
|
128
|
+
parameterPath: ["options", "tags"],
|
|
129
|
+
mapper: mappers_js_1.CollectorPolicy
|
|
130
|
+
};
|
|
131
|
+
exports.ingestionPolicy = {
|
|
132
|
+
parameterPath: ["options", "ingestionPolicy"],
|
|
133
|
+
mapper: mappers_js_1.CollectorPolicy
|
|
134
|
+
};
|
|
135
|
+
exports.emissionPolicies = {
|
|
136
|
+
parameterPath: ["options", "emissionPolicies"],
|
|
137
|
+
mapper: mappers_js_1.CollectorPolicy
|
|
138
|
+
};
|
|
139
|
+
//# sourceMappingURL=parameters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAOH,qDAI8B;AAEjB,QAAA,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,cAA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IAAI;QAChB,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,QAAQ,GAAuB;IAC1C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE,kCAA2B;CACpC,CAAC;AAEW,QAAA,IAAI,GAAuB;IACtC,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,CAAC;IAClC,MAAM,EAAE,kCAA2B;CACpC,CAAC;AAEW,QAAA,UAAU,GAAuB;IAC5C,aAAa,EAAE,CAAC,SAAS,EAAE,YAAY,CAAC;IACxC,MAAM,EAAE,kCAA2B;CACpC,CAAC;AAEW,QAAA,WAAW,GAAuB;IAC7C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,uBAAgB;CACzB,CAAC;AAEW,QAAA,mBAAmB,GAA0B;IACxD,aAAa,EAAE,qBAAqB;IACpC,MAAM,EAAE;QACN,cAAc,EAAE,qBAAqB;QACrC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,SAAS,GAAuB;IAC3C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE,4BAAqB;CAC9B,CAAC;AAEW,QAAA,KAAK,GAAuB;IACvC,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,CAAC;IAClC,MAAM,EAAE,4BAAqB;CAC9B,CAAC;AAEW,QAAA,eAAe,GAAuB;IACjD,aAAa,EAAE,CAAC,SAAS,EAAE,iBAAiB,CAAC;IAC7C,MAAM,EAAE,4BAAqB;CAC9B,CAAC;AAEW,QAAA,gBAAgB,GAAuB;IAClD,aAAa,EAAE,CAAC,SAAS,EAAE,kBAAkB,CAAC;IAC9C,MAAM,EAAE,4BAAqB;CAC9B,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 {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n AzureTrafficCollector as AzureTrafficCollectorMapper,\n TagsObject as TagsObjectMapper,\n CollectorPolicy as CollectorPolicyMapper\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2022-11-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const azureTrafficCollectorName: OperationURLParameter = {\n parameterPath: \"azureTrafficCollectorName\",\n mapper: {\n serializedName: \"azureTrafficCollectorName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const location: OperationParameter = {\n parameterPath: \"location\",\n mapper: AzureTrafficCollectorMapper\n};\n\nexport const tags: OperationParameter = {\n parameterPath: [\"options\", \"tags\"],\n mapper: AzureTrafficCollectorMapper\n};\n\nexport const virtualHub: OperationParameter = {\n parameterPath: [\"options\", \"virtualHub\"],\n mapper: AzureTrafficCollectorMapper\n};\n\nexport const parameters1: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: TagsObjectMapper\n};\n\nexport const collectorPolicyName: OperationURLParameter = {\n parameterPath: \"collectorPolicyName\",\n mapper: {\n serializedName: \"collectorPolicyName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const location1: OperationParameter = {\n parameterPath: \"location\",\n mapper: CollectorPolicyMapper\n};\n\nexport const tags1: OperationParameter = {\n parameterPath: [\"options\", \"tags\"],\n mapper: CollectorPolicyMapper\n};\n\nexport const ingestionPolicy: OperationParameter = {\n parameterPath: [\"options\", \"ingestionPolicy\"],\n mapper: CollectorPolicyMapper\n};\n\nexport const emissionPolicies: OperationParameter = {\n parameterPath: [\"options\", \"emissionPolicies\"],\n mapper: CollectorPolicyMapper\n};\n"]}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { AzureTrafficCollectors } from "../operationsInterfaces/index.js";
|
|
2
|
+
import { AzureTrafficCollectorClient } from "../azureTrafficCollectorClient.js";
|
|
3
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
4
|
+
import { AzureTrafficCollectorsGetOptionalParams, AzureTrafficCollectorsGetResponse, AzureTrafficCollectorsCreateOrUpdateOptionalParams, AzureTrafficCollectorsCreateOrUpdateResponse, AzureTrafficCollectorsDeleteOptionalParams, TagsObject, AzureTrafficCollectorsUpdateTagsOptionalParams, AzureTrafficCollectorsUpdateTagsResponse } from "../models/index.js";
|
|
5
|
+
/** Class containing AzureTrafficCollectors operations. */
|
|
6
|
+
export declare class AzureTrafficCollectorsImpl implements AzureTrafficCollectors {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class AzureTrafficCollectors class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: AzureTrafficCollectorClient);
|
|
13
|
+
/**
|
|
14
|
+
* Gets the specified Azure Traffic Collector in a specified resource group
|
|
15
|
+
* @param resourceGroupName The name of the resource group.
|
|
16
|
+
* @param azureTrafficCollectorName Azure Traffic Collector name
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
get(resourceGroupName: string, azureTrafficCollectorName: string, options?: AzureTrafficCollectorsGetOptionalParams): Promise<AzureTrafficCollectorsGetResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Creates or updates a Azure Traffic Collector resource
|
|
22
|
+
* @param resourceGroupName The name of the resource group.
|
|
23
|
+
* @param azureTrafficCollectorName Azure Traffic Collector name
|
|
24
|
+
* @param location Resource location.
|
|
25
|
+
* @param options The options parameters.
|
|
26
|
+
*/
|
|
27
|
+
beginCreateOrUpdate(resourceGroupName: string, azureTrafficCollectorName: string, location: string, options?: AzureTrafficCollectorsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<AzureTrafficCollectorsCreateOrUpdateResponse>, AzureTrafficCollectorsCreateOrUpdateResponse>>;
|
|
28
|
+
/**
|
|
29
|
+
* Creates or updates a Azure Traffic Collector resource
|
|
30
|
+
* @param resourceGroupName The name of the resource group.
|
|
31
|
+
* @param azureTrafficCollectorName Azure Traffic Collector name
|
|
32
|
+
* @param location Resource location.
|
|
33
|
+
* @param options The options parameters.
|
|
34
|
+
*/
|
|
35
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, azureTrafficCollectorName: string, location: string, options?: AzureTrafficCollectorsCreateOrUpdateOptionalParams): Promise<AzureTrafficCollectorsCreateOrUpdateResponse>;
|
|
36
|
+
/**
|
|
37
|
+
* Deletes a specified Azure Traffic Collector resource.
|
|
38
|
+
* @param resourceGroupName The name of the resource group.
|
|
39
|
+
* @param azureTrafficCollectorName Azure Traffic Collector name
|
|
40
|
+
* @param options The options parameters.
|
|
41
|
+
*/
|
|
42
|
+
beginDelete(resourceGroupName: string, azureTrafficCollectorName: string, options?: AzureTrafficCollectorsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
43
|
+
/**
|
|
44
|
+
* Deletes a specified Azure Traffic Collector resource.
|
|
45
|
+
* @param resourceGroupName The name of the resource group.
|
|
46
|
+
* @param azureTrafficCollectorName Azure Traffic Collector name
|
|
47
|
+
* @param options The options parameters.
|
|
48
|
+
*/
|
|
49
|
+
beginDeleteAndWait(resourceGroupName: string, azureTrafficCollectorName: string, options?: AzureTrafficCollectorsDeleteOptionalParams): Promise<void>;
|
|
50
|
+
/**
|
|
51
|
+
* Updates the specified Azure Traffic Collector tags.
|
|
52
|
+
* @param resourceGroupName The name of the resource group.
|
|
53
|
+
* @param azureTrafficCollectorName Azure Traffic Collector name
|
|
54
|
+
* @param parameters Parameters supplied to update Azure Traffic Collector tags.
|
|
55
|
+
* @param options The options parameters.
|
|
56
|
+
*/
|
|
57
|
+
updateTags(resourceGroupName: string, azureTrafficCollectorName: string, parameters: TagsObject, options?: AzureTrafficCollectorsUpdateTagsOptionalParams): Promise<AzureTrafficCollectorsUpdateTagsResponse>;
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=azureTrafficCollectors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"azureTrafficCollectors.d.ts","sourceRoot":"","sources":["../../../src/operations/azureTrafficCollectors.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAI1E,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,uCAAuC,EACvC,iCAAiC,EACjC,kDAAkD,EAClD,4CAA4C,EAC5C,0CAA0C,EAC1C,UAAU,EACV,8CAA8C,EAC9C,wCAAwC,EACzC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|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.AzureTrafficCollectorsImpl = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
13
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
14
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
15
|
+
const core_lro_1 = require("@azure/core-lro");
|
|
16
|
+
const lroImpl_js_1 = require("../lroImpl.js");
|
|
17
|
+
/** Class containing AzureTrafficCollectors operations. */
|
|
18
|
+
class AzureTrafficCollectorsImpl {
|
|
19
|
+
/**
|
|
20
|
+
* Initialize a new instance of the class AzureTrafficCollectors class.
|
|
21
|
+
* @param client Reference to the service client
|
|
22
|
+
*/
|
|
23
|
+
constructor(client) {
|
|
24
|
+
this.client = client;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Gets the specified Azure Traffic Collector in a specified resource group
|
|
28
|
+
* @param resourceGroupName The name of the resource group.
|
|
29
|
+
* @param azureTrafficCollectorName Azure Traffic Collector name
|
|
30
|
+
* @param options The options parameters.
|
|
31
|
+
*/
|
|
32
|
+
get(resourceGroupName, azureTrafficCollectorName, options) {
|
|
33
|
+
return this.client.sendOperationRequest({ resourceGroupName, azureTrafficCollectorName, options }, getOperationSpec);
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Creates or updates a Azure Traffic Collector resource
|
|
37
|
+
* @param resourceGroupName The name of the resource group.
|
|
38
|
+
* @param azureTrafficCollectorName Azure Traffic Collector name
|
|
39
|
+
* @param location Resource location.
|
|
40
|
+
* @param options The options parameters.
|
|
41
|
+
*/
|
|
42
|
+
async beginCreateOrUpdate(resourceGroupName, azureTrafficCollectorName, location, options) {
|
|
43
|
+
const directSendOperation = async (args, spec) => {
|
|
44
|
+
return this.client.sendOperationRequest(args, spec);
|
|
45
|
+
};
|
|
46
|
+
const sendOperation = async (args, spec) => {
|
|
47
|
+
var _a;
|
|
48
|
+
let currentRawResponse = undefined;
|
|
49
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
50
|
+
const callback = (rawResponse, flatResponse) => {
|
|
51
|
+
currentRawResponse = rawResponse;
|
|
52
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
53
|
+
};
|
|
54
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
55
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
56
|
+
return {
|
|
57
|
+
flatResponse,
|
|
58
|
+
rawResponse: {
|
|
59
|
+
statusCode: currentRawResponse.status,
|
|
60
|
+
body: currentRawResponse.parsedBody,
|
|
61
|
+
headers: currentRawResponse.headers.toJSON()
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
const lro = new lroImpl_js_1.LroImpl(sendOperation, { resourceGroupName, azureTrafficCollectorName, location, options }, createOrUpdateOperationSpec);
|
|
66
|
+
const poller = new core_lro_1.LroEngine(lro, {
|
|
67
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
68
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
69
|
+
lroResourceLocationConfig: "azure-async-operation"
|
|
70
|
+
});
|
|
71
|
+
await poller.poll();
|
|
72
|
+
return poller;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Creates or updates a Azure Traffic Collector resource
|
|
76
|
+
* @param resourceGroupName The name of the resource group.
|
|
77
|
+
* @param azureTrafficCollectorName Azure Traffic Collector name
|
|
78
|
+
* @param location Resource location.
|
|
79
|
+
* @param options The options parameters.
|
|
80
|
+
*/
|
|
81
|
+
async beginCreateOrUpdateAndWait(resourceGroupName, azureTrafficCollectorName, location, options) {
|
|
82
|
+
const poller = await this.beginCreateOrUpdate(resourceGroupName, azureTrafficCollectorName, location, options);
|
|
83
|
+
return poller.pollUntilDone();
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Deletes a specified Azure Traffic Collector resource.
|
|
87
|
+
* @param resourceGroupName The name of the resource group.
|
|
88
|
+
* @param azureTrafficCollectorName Azure Traffic Collector name
|
|
89
|
+
* @param options The options parameters.
|
|
90
|
+
*/
|
|
91
|
+
async beginDelete(resourceGroupName, azureTrafficCollectorName, options) {
|
|
92
|
+
const directSendOperation = async (args, spec) => {
|
|
93
|
+
return this.client.sendOperationRequest(args, spec);
|
|
94
|
+
};
|
|
95
|
+
const sendOperation = async (args, spec) => {
|
|
96
|
+
var _a;
|
|
97
|
+
let currentRawResponse = undefined;
|
|
98
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
99
|
+
const callback = (rawResponse, flatResponse) => {
|
|
100
|
+
currentRawResponse = rawResponse;
|
|
101
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
102
|
+
};
|
|
103
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
104
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
105
|
+
return {
|
|
106
|
+
flatResponse,
|
|
107
|
+
rawResponse: {
|
|
108
|
+
statusCode: currentRawResponse.status,
|
|
109
|
+
body: currentRawResponse.parsedBody,
|
|
110
|
+
headers: currentRawResponse.headers.toJSON()
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
const lro = new lroImpl_js_1.LroImpl(sendOperation, { resourceGroupName, azureTrafficCollectorName, options }, deleteOperationSpec);
|
|
115
|
+
const poller = new core_lro_1.LroEngine(lro, {
|
|
116
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
117
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
118
|
+
lroResourceLocationConfig: "location"
|
|
119
|
+
});
|
|
120
|
+
await poller.poll();
|
|
121
|
+
return poller;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Deletes a specified Azure Traffic Collector resource.
|
|
125
|
+
* @param resourceGroupName The name of the resource group.
|
|
126
|
+
* @param azureTrafficCollectorName Azure Traffic Collector name
|
|
127
|
+
* @param options The options parameters.
|
|
128
|
+
*/
|
|
129
|
+
async beginDeleteAndWait(resourceGroupName, azureTrafficCollectorName, options) {
|
|
130
|
+
const poller = await this.beginDelete(resourceGroupName, azureTrafficCollectorName, options);
|
|
131
|
+
return poller.pollUntilDone();
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Updates the specified Azure Traffic Collector tags.
|
|
135
|
+
* @param resourceGroupName The name of the resource group.
|
|
136
|
+
* @param azureTrafficCollectorName Azure Traffic Collector name
|
|
137
|
+
* @param parameters Parameters supplied to update Azure Traffic Collector tags.
|
|
138
|
+
* @param options The options parameters.
|
|
139
|
+
*/
|
|
140
|
+
updateTags(resourceGroupName, azureTrafficCollectorName, parameters, options) {
|
|
141
|
+
return this.client.sendOperationRequest({ resourceGroupName, azureTrafficCollectorName, parameters, options }, updateTagsOperationSpec);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
exports.AzureTrafficCollectorsImpl = AzureTrafficCollectorsImpl;
|
|
145
|
+
// Operation Specifications
|
|
146
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
147
|
+
const getOperationSpec = {
|
|
148
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}",
|
|
149
|
+
httpMethod: "GET",
|
|
150
|
+
responses: {
|
|
151
|
+
200: {
|
|
152
|
+
bodyMapper: Mappers.AzureTrafficCollector
|
|
153
|
+
},
|
|
154
|
+
default: {
|
|
155
|
+
bodyMapper: Mappers.CloudError
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
queryParameters: [Parameters.apiVersion],
|
|
159
|
+
urlParameters: [
|
|
160
|
+
Parameters.$host,
|
|
161
|
+
Parameters.subscriptionId,
|
|
162
|
+
Parameters.resourceGroupName,
|
|
163
|
+
Parameters.azureTrafficCollectorName
|
|
164
|
+
],
|
|
165
|
+
headerParameters: [Parameters.accept],
|
|
166
|
+
serializer
|
|
167
|
+
};
|
|
168
|
+
const createOrUpdateOperationSpec = {
|
|
169
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}",
|
|
170
|
+
httpMethod: "PUT",
|
|
171
|
+
responses: {
|
|
172
|
+
200: {
|
|
173
|
+
bodyMapper: Mappers.AzureTrafficCollector
|
|
174
|
+
},
|
|
175
|
+
201: {
|
|
176
|
+
bodyMapper: Mappers.AzureTrafficCollector
|
|
177
|
+
},
|
|
178
|
+
202: {
|
|
179
|
+
bodyMapper: Mappers.AzureTrafficCollector
|
|
180
|
+
},
|
|
181
|
+
204: {
|
|
182
|
+
bodyMapper: Mappers.AzureTrafficCollector
|
|
183
|
+
},
|
|
184
|
+
default: {
|
|
185
|
+
bodyMapper: Mappers.CloudError
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
requestBody: {
|
|
189
|
+
parameterPath: {
|
|
190
|
+
location: ["location"],
|
|
191
|
+
tags: ["options", "tags"],
|
|
192
|
+
virtualHub: ["options", "virtualHub"]
|
|
193
|
+
},
|
|
194
|
+
mapper: Object.assign(Object.assign({}, Mappers.AzureTrafficCollector), { required: true })
|
|
195
|
+
},
|
|
196
|
+
queryParameters: [Parameters.apiVersion],
|
|
197
|
+
urlParameters: [
|
|
198
|
+
Parameters.$host,
|
|
199
|
+
Parameters.subscriptionId,
|
|
200
|
+
Parameters.resourceGroupName,
|
|
201
|
+
Parameters.azureTrafficCollectorName
|
|
202
|
+
],
|
|
203
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
204
|
+
mediaType: "json",
|
|
205
|
+
serializer
|
|
206
|
+
};
|
|
207
|
+
const deleteOperationSpec = {
|
|
208
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}",
|
|
209
|
+
httpMethod: "DELETE",
|
|
210
|
+
responses: {
|
|
211
|
+
200: {},
|
|
212
|
+
201: {},
|
|
213
|
+
202: {},
|
|
214
|
+
204: {},
|
|
215
|
+
default: {
|
|
216
|
+
bodyMapper: Mappers.CloudError
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
queryParameters: [Parameters.apiVersion],
|
|
220
|
+
urlParameters: [
|
|
221
|
+
Parameters.$host,
|
|
222
|
+
Parameters.subscriptionId,
|
|
223
|
+
Parameters.resourceGroupName,
|
|
224
|
+
Parameters.azureTrafficCollectorName
|
|
225
|
+
],
|
|
226
|
+
headerParameters: [Parameters.accept],
|
|
227
|
+
serializer
|
|
228
|
+
};
|
|
229
|
+
const updateTagsOperationSpec = {
|
|
230
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}",
|
|
231
|
+
httpMethod: "PATCH",
|
|
232
|
+
responses: {
|
|
233
|
+
200: {
|
|
234
|
+
bodyMapper: Mappers.AzureTrafficCollector
|
|
235
|
+
},
|
|
236
|
+
default: {
|
|
237
|
+
bodyMapper: Mappers.CloudError
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
requestBody: Parameters.parameters1,
|
|
241
|
+
queryParameters: [Parameters.apiVersion],
|
|
242
|
+
urlParameters: [
|
|
243
|
+
Parameters.$host,
|
|
244
|
+
Parameters.subscriptionId,
|
|
245
|
+
Parameters.resourceGroupName,
|
|
246
|
+
Parameters.azureTrafficCollectorName
|
|
247
|
+
],
|
|
248
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
249
|
+
mediaType: "json",
|
|
250
|
+
serializer
|
|
251
|
+
};
|
|
252
|
+
//# sourceMappingURL=azureTrafficCollectors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"azureTrafficCollectors.js","sourceRoot":"","sources":["../../../src/operations/azureTrafficCollectors.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAA4E;AAC5E,8CAAwC;AAYxC,0DAA0D;AAC1D,MAAa,0BAA0B;IAGrC;;;OAGG;IACH,YAAY,MAAmC;QAC7C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,GAAG,CACD,iBAAyB,EACzB,yBAAiC,EACjC,OAAiD;QAEjD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,yBAAyB,EAAE,OAAO,EAAE,EACzD,gBAAgB,CACjB,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,mBAAmB,CACvB,iBAAyB,EACzB,yBAAiC,EACjC,QAAgB,EAChB,OAA4D;QAO5D,MAAM,mBAAmB,GAAG,KAAK,EAC/B,IAAmC,EACnC,IAA8B,EACyB,EAAE;YACzD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QACtD,CAAC,CAAC;QACF,MAAM,aAAa,GAAG,KAAK,EACzB,IAAmC,EACnC,IAA8B,EAC9B,EAAE;;Y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;IAC7J,UAAU,EAAE,QAAQ;IACpB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,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,iBAAiB;QAC5B,UAAU,CAAC,yBAAyB;KACrC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,uBAAuB,GAA6B;IACxD,IAAI,EACF,2JAA2J;IAC7J,UAAU,EAAE,OAAO;IACnB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,WAAW,EAAE,UAAU,CAAC,WAAW;IACnC,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,yBAAyB;KACrC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,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 { AzureTrafficCollectors } 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 AzureTrafficCollectorsGetOptionalParams,\n AzureTrafficCollectorsGetResponse,\n AzureTrafficCollectorsCreateOrUpdateOptionalParams,\n AzureTrafficCollectorsCreateOrUpdateResponse,\n AzureTrafficCollectorsDeleteOptionalParams,\n TagsObject,\n AzureTrafficCollectorsUpdateTagsOptionalParams,\n AzureTrafficCollectorsUpdateTagsResponse\n} from \"../models/index.js\";\n\n/** Class containing AzureTrafficCollectors operations. */\nexport class AzureTrafficCollectorsImpl implements AzureTrafficCollectors {\n private readonly client: AzureTrafficCollectorClient;\n\n /**\n * Initialize a new instance of the class AzureTrafficCollectors class.\n * @param client Reference to the service client\n */\n constructor(client: AzureTrafficCollectorClient) {\n this.client = client;\n }\n\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 return this.client.sendOperationRequest(\n { resourceGroupName, azureTrafficCollectorName, options },\n getOperationSpec\n );\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 async 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 const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<AzureTrafficCollectorsCreateOrUpdateResponse> => {\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 { resourceGroupName, azureTrafficCollectorName, location, options },\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 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 async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n location: string,\n options?: AzureTrafficCollectorsCreateOrUpdateOptionalParams\n ): Promise<AzureTrafficCollectorsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n azureTrafficCollectorName,\n location,\n options\n );\n return poller.pollUntilDone();\n }\n\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 async beginDelete(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n options?: AzureTrafficCollectorsDeleteOptionalParams\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 { resourceGroupName, azureTrafficCollectorName, options },\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 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 async beginDeleteAndWait(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n options?: AzureTrafficCollectorsDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n azureTrafficCollectorName,\n options\n );\n return poller.pollUntilDone();\n }\n\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 return this.client.sendOperationRequest(\n { resourceGroupName, azureTrafficCollectorName, parameters, options },\n updateTagsOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureTrafficCollector\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 createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureTrafficCollector\n },\n 201: {\n bodyMapper: Mappers.AzureTrafficCollector\n },\n 202: {\n bodyMapper: Mappers.AzureTrafficCollector\n },\n 204: {\n bodyMapper: Mappers.AzureTrafficCollector\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: {\n parameterPath: {\n location: [\"location\"],\n tags: [\"options\", \"tags\"],\n virtualHub: [\"options\", \"virtualHub\"]\n },\n mapper: { ...Mappers.AzureTrafficCollector, required: true }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.azureTrafficCollectorName\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}\",\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 ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateTagsOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureTrafficCollector\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 ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\n"]}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { AzureTrafficCollectorsByResourceGroup } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { AzureTrafficCollectorClient } from "../azureTrafficCollectorClient.js";
|
|
4
|
+
import { AzureTrafficCollector, AzureTrafficCollectorsByResourceGroupListOptionalParams } from "../models/index.js";
|
|
5
|
+
/** Class containing AzureTrafficCollectorsByResourceGroup operations. */
|
|
6
|
+
export declare class AzureTrafficCollectorsByResourceGroupImpl implements AzureTrafficCollectorsByResourceGroup {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class AzureTrafficCollectorsByResourceGroup class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: AzureTrafficCollectorClient);
|
|
13
|
+
/**
|
|
14
|
+
* Return list of Azure Traffic Collectors in a Resource Group
|
|
15
|
+
* @param resourceGroupName The name of the resource group.
|
|
16
|
+
* @param options The options parameters.
|
|
17
|
+
*/
|
|
18
|
+
list(resourceGroupName: string, options?: AzureTrafficCollectorsByResourceGroupListOptionalParams): PagedAsyncIterableIterator<AzureTrafficCollector>;
|
|
19
|
+
private listPagingPage;
|
|
20
|
+
private listPagingAll;
|
|
21
|
+
/**
|
|
22
|
+
* Return list of Azure Traffic Collectors in a Resource Group
|
|
23
|
+
* @param resourceGroupName The name of the resource group.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
private _list;
|
|
27
|
+
/**
|
|
28
|
+
* ListNext
|
|
29
|
+
* @param resourceGroupName The name of the resource group.
|
|
30
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
31
|
+
* @param options The options parameters.
|
|
32
|
+
*/
|
|
33
|
+
private _listNext;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=azureTrafficCollectorsByResourceGroup.d.ts.map
|
|
@@ -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"}
|