@azure/arm-networkfunction 2.0.2-alpha.20260302.1 → 2.0.2-alpha.20260304.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/dist/commonjs/azureTrafficCollectorClient.js +135 -115
  2. package/dist/commonjs/azureTrafficCollectorClient.js.map +7 -1
  3. package/dist/commonjs/index.js +35 -19
  4. package/dist/commonjs/index.js.map +7 -1
  5. package/dist/commonjs/lroImpl.js +44 -35
  6. package/dist/commonjs/lroImpl.js.map +7 -1
  7. package/dist/commonjs/models/index.js +74 -69
  8. package/dist/commonjs/models/index.js.map +7 -1
  9. package/dist/commonjs/models/mappers.js +524 -473
  10. package/dist/commonjs/models/mappers.js.map +7 -1
  11. package/dist/commonjs/models/parameters.js +179 -132
  12. package/dist/commonjs/models/parameters.js.map +7 -1
  13. package/dist/commonjs/operations/azureTrafficCollectors.js +297 -249
  14. package/dist/commonjs/operations/azureTrafficCollectors.js.map +7 -1
  15. package/dist/commonjs/operations/azureTrafficCollectorsByResourceGroup.js +156 -122
  16. package/dist/commonjs/operations/azureTrafficCollectorsByResourceGroup.js.map +7 -1
  17. package/dist/commonjs/operations/azureTrafficCollectorsBySubscription.js +141 -114
  18. package/dist/commonjs/operations/azureTrafficCollectorsBySubscription.js.map +7 -1
  19. package/dist/commonjs/operations/collectorPolicies.js +458 -381
  20. package/dist/commonjs/operations/collectorPolicies.js.map +7 -1
  21. package/dist/commonjs/operations/index.js +29 -16
  22. package/dist/commonjs/operations/index.js.map +7 -1
  23. package/dist/commonjs/operations/networkFunction.js +104 -77
  24. package/dist/commonjs/operations/networkFunction.js.map +7 -1
  25. package/dist/commonjs/operationsInterfaces/azureTrafficCollectors.js +15 -10
  26. package/dist/commonjs/operationsInterfaces/azureTrafficCollectors.js.map +7 -1
  27. package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js +15 -10
  28. package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js.map +7 -1
  29. package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsBySubscription.js +15 -10
  30. package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsBySubscription.js.map +7 -1
  31. package/dist/commonjs/operationsInterfaces/collectorPolicies.js +15 -10
  32. package/dist/commonjs/operationsInterfaces/collectorPolicies.js.map +7 -1
  33. package/dist/commonjs/operationsInterfaces/index.js +29 -16
  34. package/dist/commonjs/operationsInterfaces/index.js.map +7 -1
  35. package/dist/commonjs/operationsInterfaces/networkFunction.js +15 -10
  36. package/dist/commonjs/operationsInterfaces/networkFunction.js.map +7 -1
  37. package/dist/commonjs/pagingHelper.js +39 -30
  38. package/dist/commonjs/pagingHelper.js.map +7 -1
  39. package/dist/esm/azureTrafficCollectorClient.js +107 -109
  40. package/dist/esm/azureTrafficCollectorClient.js.map +7 -1
  41. package/dist/esm/index.js +6 -11
  42. package/dist/esm/index.js.map +7 -1
  43. package/dist/esm/lroImpl.js +22 -32
  44. package/dist/esm/lroImpl.js.map +7 -1
  45. package/dist/esm/models/index.js +45 -66
  46. package/dist/esm/models/index.js.map +7 -1
  47. package/dist/esm/models/mappers.js +483 -470
  48. package/dist/esm/models/mappers.js.map +7 -1
  49. package/dist/esm/models/parameters.js +143 -128
  50. package/dist/esm/models/parameters.js.map +7 -1
  51. package/dist/esm/operations/azureTrafficCollectors.js +260 -240
  52. package/dist/esm/operations/azureTrafficCollectors.js.map +7 -1
  53. package/dist/esm/operations/azureTrafficCollectorsByResourceGroup.js +120 -114
  54. package/dist/esm/operations/azureTrafficCollectorsByResourceGroup.js.map +7 -1
  55. package/dist/esm/operations/azureTrafficCollectorsBySubscription.js +105 -106
  56. package/dist/esm/operations/azureTrafficCollectorsBySubscription.js.map +7 -1
  57. package/dist/esm/operations/collectorPolicies.js +420 -371
  58. package/dist/esm/operations/collectorPolicies.js.map +7 -1
  59. package/dist/esm/operations/index.js +0 -8
  60. package/dist/esm/operations/index.js.map +7 -1
  61. package/dist/esm/operations/networkFunction.js +69 -70
  62. package/dist/esm/operations/networkFunction.js.map +7 -1
  63. package/dist/esm/operationsInterfaces/azureTrafficCollectors.js +0 -9
  64. package/dist/esm/operationsInterfaces/azureTrafficCollectors.js.map +7 -1
  65. package/dist/esm/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js +0 -9
  66. package/dist/esm/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js.map +7 -1
  67. package/dist/esm/operationsInterfaces/azureTrafficCollectorsBySubscription.js +0 -9
  68. package/dist/esm/operationsInterfaces/azureTrafficCollectorsBySubscription.js.map +7 -1
  69. package/dist/esm/operationsInterfaces/collectorPolicies.js +0 -9
  70. package/dist/esm/operationsInterfaces/collectorPolicies.js.map +7 -1
  71. package/dist/esm/operationsInterfaces/index.js +0 -8
  72. package/dist/esm/operationsInterfaces/index.js.map +7 -1
  73. package/dist/esm/operationsInterfaces/networkFunction.js +0 -9
  74. package/dist/esm/operationsInterfaces/networkFunction.js.map +7 -1
  75. package/dist/esm/pagingHelper.js +17 -28
  76. package/dist/esm/pagingHelper.js.map +7 -1
  77. package/package.json +4 -21
@@ -1 +1,7 @@
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;IACf,MAAM,CAA8B;IAErD;;;OAGG;IACH,YAAY,MAAmC;QAC7C,IAAI,CAAC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BAAmB;KAC/B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,uBAAuB,GAA6B;IACxD,IAAI,EACF,mMAAmM;IACrM,UAAU,EAAE,OAAO;IACnB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,eAAe;SACpC;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;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"]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["/mnt/vss/_work/1/s/sdk/networkfunction/arm-networkfunction/src/operations/collectorPolicies.ts"],
4
+ "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"],
5
+ "mappings": "AASA,SAAS,4BAA4B;AAErC,YAAY,gBAAgB;AAC5B,YAAY,aAAa;AACzB,YAAY,gBAAgB;AAE5B,SAAyC,iBAAiB;AAC1D,SAAS,eAAe;AAmBjB,MAAM,sBAAmD;AAAA,EAC7C;AAAA;AAAA;AAAA;AAAA;AAAA,EAMjB,YAAY,QAAqC;AAC/C,SAAK,SAAS;AAAA,EAChB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQO,KACL,mBACA,2BACA,SAC6C;AAC7C,UAAM,OAAO,KAAK;AAAA,MAChB;AAAA,MACA;AAAA,MACA;AAAA,IACF;AACA,WAAO;AAAA,MACL,OAAO;AACL,eAAO,KAAK,KAAK;AAAA,MACnB;AAAA,MACA,CAAC,OAAO,aAAa,IAAI;A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A,EACb;AAAA,EACA,kBAAkB,CAAC,WAAW,MAAM;AAAA,EACpC;AACF;AACA,MAAM,0BAAoD;AAAA,EACxD,MACE;AAAA,EACF,YAAY;AAAA,EACZ,WAAW;AAAA,IACT,KAAK;AAAA,MACH,YAAY,QAAQ;AAAA,IACtB;AAAA,IACA,SAAS;AAAA,MACP,YAAY,QAAQ;AAAA,IACtB;AAAA,EACF;AAAA,EACA,aAAa,WAAW;AAAA,EACxB,iBAAiB,CAAC,WAAW,UAAU;AAAA,EACvC,eAAe;AAAA,IACb,WAAW;AAAA,IACX,WAAW;AAAA,IACX,WAAW;AAAA,IACX,WAAW;AAAA,IACX,WAAW;AAAA,EACb;AAAA,EACA,kBAAkB,CAAC,WAAW,QAAQ,WAAW,WAAW;AAAA,EAC5D,WAAW;AAAA,EACX;AACF;AACA,MAAM,wBAAkD;AAAA,EACtD,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,WAAW;AAAA,IACT,KAAK;AAAA,MACH,YAAY,QAAQ;AAAA,IACtB;AAAA,IACA,SAAS;AAAA,MACP,YAAY,QAAQ;AAAA,IACtB;AAAA,EACF;AAAA,EACA,iBAAiB,CAAC,WAAW,UAAU;AAAA,EACvC,eAAe;AAAA,IACb,WAAW;AAAA,IACX,WAAW;AAAA,IACX,WAAW;AAAA,IACX,WAAW;AAAA,IACX,WAAW;AAAA,EACb;AAAA,EACA,kBAAkB,CAAC,WAAW,MAAM;AAAA,EACpC;AACF;",
6
+ "names": ["flatResponse"]
7
+ }
@@ -1,13 +1,5 @@
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
1
  export * from "./networkFunction.js";
9
2
  export * from "./azureTrafficCollectorsBySubscription.js";
10
3
  export * from "./azureTrafficCollectorsByResourceGroup.js";
11
4
  export * from "./azureTrafficCollectors.js";
12
5
  export * from "./collectorPolicies.js";
13
- //# sourceMappingURL=index.js.map
@@ -1 +1,7 @@
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
+ {
2
+ "version": 3,
3
+ "sources": ["/mnt/vss/_work/1/s/sdk/networkfunction/arm-networkfunction/src/operations/index.ts"],
4
+ "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"],
5
+ "mappings": "AAQA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;",
6
+ "names": []
7
+ }
@@ -1,79 +1,78 @@
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
1
  import * as coreClient from "@azure/core-client";
9
2
  import * as Mappers from "../models/mappers.js";
10
3
  import * as Parameters from "../models/parameters.js";
11
- /// <reference lib="esnext.asynciterable" />
12
- /** Class containing NetworkFunction operations. */
13
- export class NetworkFunctionImpl {
14
- client;
15
- /**
16
- * Initialize a new instance of the class NetworkFunction class.
17
- * @param client Reference to the service client
18
- */
19
- constructor(client) {
20
- this.client = client;
21
- }
22
- /**
23
- * Lists all of the available NetworkFunction Rest API operations.
24
- * @param options The options parameters.
25
- */
26
- listOperations(options) {
27
- const iter = this.listOperationsPagingAll(options);
28
- return {
29
- next() {
30
- return iter.next();
31
- },
32
- [Symbol.asyncIterator]() {
33
- return this;
34
- },
35
- byPage: (settings) => {
36
- if (settings?.maxPageSize) {
37
- throw new Error("maxPageSize is not supported by this operation.");
38
- }
39
- return this.listOperationsPagingPage(options, settings);
40
- }
41
- };
42
- }
43
- async *listOperationsPagingPage(options, _settings) {
44
- let result;
45
- result = await this._listOperations(options);
46
- yield result.value || [];
47
- }
48
- async *listOperationsPagingAll(options) {
49
- for await (const page of this.listOperationsPagingPage(options)) {
50
- yield* page;
4
+ class NetworkFunctionImpl {
5
+ client;
6
+ /**
7
+ * Initialize a new instance of the class NetworkFunction class.
8
+ * @param client Reference to the service client
9
+ */
10
+ constructor(client) {
11
+ this.client = client;
12
+ }
13
+ /**
14
+ * Lists all of the available NetworkFunction Rest API operations.
15
+ * @param options The options parameters.
16
+ */
17
+ listOperations(options) {
18
+ const iter = this.listOperationsPagingAll(options);
19
+ return {
20
+ next() {
21
+ return iter.next();
22
+ },
23
+ [Symbol.asyncIterator]() {
24
+ return this;
25
+ },
26
+ byPage: (settings) => {
27
+ if (settings?.maxPageSize) {
28
+ throw new Error("maxPageSize is not supported by this operation.");
51
29
  }
30
+ return this.listOperationsPagingPage(options, settings);
31
+ }
32
+ };
33
+ }
34
+ async *listOperationsPagingPage(options, _settings) {
35
+ let result;
36
+ result = await this._listOperations(options);
37
+ yield result.value || [];
38
+ }
39
+ async *listOperationsPagingAll(options) {
40
+ for await (const page of this.listOperationsPagingPage(options)) {
41
+ yield* page;
52
42
  }
53
- /**
54
- * Lists all of the available NetworkFunction Rest API operations.
55
- * @param options The options parameters.
56
- */
57
- _listOperations(options) {
58
- return this.client.sendOperationRequest({ options }, listOperationsOperationSpec);
59
- }
43
+ }
44
+ /**
45
+ * Lists all of the available NetworkFunction Rest API operations.
46
+ * @param options The options parameters.
47
+ */
48
+ _listOperations(options) {
49
+ return this.client.sendOperationRequest(
50
+ { options },
51
+ listOperationsOperationSpec
52
+ );
53
+ }
60
54
  }
61
- // Operation Specifications
62
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
55
+ const serializer = coreClient.createSerializer(
56
+ Mappers,
57
+ /* isXml */
58
+ false
59
+ );
63
60
  const listOperationsOperationSpec = {
64
- path: "/providers/Microsoft.NetworkFunction/operations",
65
- httpMethod: "GET",
66
- responses: {
67
- 200: {
68
- bodyMapper: Mappers.OperationListResult
69
- },
70
- default: {
71
- bodyMapper: Mappers.CloudError
72
- }
61
+ path: "/providers/Microsoft.NetworkFunction/operations",
62
+ httpMethod: "GET",
63
+ responses: {
64
+ 200: {
65
+ bodyMapper: Mappers.OperationListResult
73
66
  },
74
- queryParameters: [Parameters.apiVersion],
75
- urlParameters: [Parameters.$host],
76
- headerParameters: [Parameters.accept],
77
- serializer
67
+ default: {
68
+ bodyMapper: Mappers.CloudError
69
+ }
70
+ },
71
+ queryParameters: [Parameters.apiVersion],
72
+ urlParameters: [Parameters.$host],
73
+ headerParameters: [Parameters.accept],
74
+ serializer
75
+ };
76
+ export {
77
+ NetworkFunctionImpl
78
78
  };
79
- //# sourceMappingURL=networkFunction.js.map
@@ -1 +1,7 @@
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,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IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,2BAA2B,GAA6B;IAC5D,IAAI,EAAE,iDAAiD;IACvD,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,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 { 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
+ {
2
+ "version": 3,
3
+ "sources": ["/mnt/vss/_work/1/s/sdk/networkfunction/arm-networkfunction/src/operations/networkFunction.ts"],
4
+ "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"],
5
+ "mappings": "AAUA,YAAY,gBAAgB;AAC5B,YAAY,aAAa;AACzB,YAAY,gBAAgB;AAUrB,MAAM,oBAA+C;AAAA,EACzC;AAAA;AAAA;AAAA;AAAA;AAAA,EAMjB,YAAY,QAAqC;AAC/C,SAAK,SAAS;AAAA,EAChB;AAAA;AAAA;AAAA;AAAA;AAAA,EAMO,eACL,SACuC;AACvC,UAAM,OAAO,KAAK,wBAAwB,OAAO;AACjD,WAAO;AAAA,MACL,OAAO;AACL,eAAO,KAAK,KAAK;AAAA,MACnB;AAAA,MACA,CAAC,OAAO,aAAa,IAAI;AACvB,eAAO;AAAA,MACT;AAAA,MACA,QAAQ,CAAC,aAA4B;AACnC,YAAI,UAAU,aAAa;AACzB,gBAAM,IAAI,MAAM,iDAAiD;AAAA,QACnE;AACA,eAAO,KAAK,yBAAyB,SAAS,QAAQ;AAAA,MACxD;AAAA,IACF;AAAA,EACF;AAAA,EAEA,OAAe,yBACb,SACA,WACoC;AACpC,QAAI;AACJ,aAAS,MAAM,KAAK,gBAAgB,OAAO;AAC3C,UAAM,OAAO,SAAS,CAAC;AAAA,EACzB;AAAA,EAEA,OAAe,wBACb,SACkC;AAClC,qBAAiB,QAAQ,KAAK,yBAAyB,OAAO,GAAG;AAC/D,aAAO;AAAA,IACT;AAAA,EACF;AAAA;AAAA;AAAA;AAAA;AAAA,EAMQ,gBACN,SACgD;AAChD,WAAO,KAAK,OAAO;AAAA,MACjB,EAAE,QAAQ;AAAA,MACV;AAAA,IACF;AAAA,EACF;AACF;AAEA,MAAM,aAAa,WAAW;AAAA,EAAiB;AAAA;AAAA,EAAqB;AAAK;AAEzE,MAAM,8BAAwD;AAAA,EAC5D,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,WAAW;AAAA,IACT,KAAK;AAAA,MACH,YAAY,QAAQ;AAAA,IACtB;AAAA,IACA,SAAS;AAAA,MACP,YAAY,QAAQ;AAAA,IACtB;AAAA,EACF;AAAA,EACA,iBAAiB,CAAC,WAAW,UAAU;AAAA,EACvC,eAAe,CAAC,WAAW,KAAK;AAAA,EAChC,kBAAkB,CAAC,WAAW,MAAM;AAAA,EACpC;AACF;",
6
+ "names": []
7
+ }
@@ -1,9 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- export {};
9
- //# sourceMappingURL=azureTrafficCollectors.js.map
@@ -1 +1,7 @@
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
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
@@ -1,9 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- export {};
9
- //# sourceMappingURL=azureTrafficCollectorsByResourceGroup.js.map
@@ -1 +1,7 @@
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"]}
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
@@ -1,9 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- export {};
9
- //# sourceMappingURL=azureTrafficCollectorsBySubscription.js.map
@@ -1 +1,7 @@
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
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
@@ -1,9 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- export {};
9
- //# sourceMappingURL=collectorPolicies.js.map
@@ -1 +1,7 @@
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"]}
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
@@ -1,13 +1,5 @@
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
1
  export * from "./networkFunction.js";
9
2
  export * from "./azureTrafficCollectorsBySubscription.js";
10
3
  export * from "./azureTrafficCollectorsByResourceGroup.js";
11
4
  export * from "./azureTrafficCollectors.js";
12
5
  export * from "./collectorPolicies.js";
13
- //# sourceMappingURL=index.js.map
@@ -1 +1,7 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/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
+ {
2
+ "version": 3,
3
+ "sources": ["/mnt/vss/_work/1/s/sdk/networkfunction/arm-networkfunction/src/operationsInterfaces/index.ts"],
4
+ "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"],
5
+ "mappings": "AAQA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;",
6
+ "names": []
7
+ }
@@ -1,9 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- export {};
9
- //# sourceMappingURL=networkFunction.js.map
@@ -1 +1,7 @@
1
- {"version":3,"file":"networkFunction.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/networkFunction.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 Operation,\n NetworkFunctionListOperationsOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a NetworkFunction. */\nexport interface NetworkFunction {\n /**\n * Lists all of the available NetworkFunction Rest API operations.\n * @param options The options parameters.\n */\n listOperations(\n options?: NetworkFunctionListOperationsOptionalParams\n ): PagedAsyncIterableIterator<Operation>;\n}\n"]}
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
@@ -1,30 +1,19 @@
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
- const pageMap = new WeakMap();
9
- /**
10
- * Given a result page from a pageable operation, returns a
11
- * continuation token that can be used to begin paging from
12
- * that point later.
13
- * @param page A result object from calling .byPage() on a paged operation.
14
- * @returns The continuation token that can be passed into byPage().
15
- */
16
- export function getContinuationToken(page) {
17
- if (typeof page !== "object" || page === null) {
18
- return undefined;
19
- }
20
- return pageMap.get(page)?.continuationToken;
1
+ const pageMap = /* @__PURE__ */ new WeakMap();
2
+ function getContinuationToken(page) {
3
+ if (typeof page !== "object" || page === null) {
4
+ return void 0;
5
+ }
6
+ return pageMap.get(page)?.continuationToken;
21
7
  }
22
- export function setContinuationToken(page, continuationToken) {
23
- if (typeof page !== "object" || page === null || !continuationToken) {
24
- return;
25
- }
26
- const pageInfo = pageMap.get(page) ?? {};
27
- pageInfo.continuationToken = continuationToken;
28
- pageMap.set(page, pageInfo);
8
+ function setContinuationToken(page, continuationToken) {
9
+ if (typeof page !== "object" || page === null || !continuationToken) {
10
+ return;
11
+ }
12
+ const pageInfo = pageMap.get(page) ?? {};
13
+ pageInfo.continuationToken = continuationToken;
14
+ pageMap.set(page, pageInfo);
29
15
  }
30
- //# sourceMappingURL=pagingHelper.js.map
16
+ export {
17
+ getContinuationToken,
18
+ setContinuationToken
19
+ };
@@ -1 +1,7 @@
1
- {"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,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 interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given a result page from a pageable operation, returns a\n * continuation token that can be used to begin paging from\n * that point later.\n * @param page A result object from calling .byPage() on a paged operation.\n * @returns The continuation token that can be passed into byPage().\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["/mnt/vss/_work/1/s/sdk/networkfunction/arm-networkfunction/src/pagingHelper.ts"],
4
+ "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 interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given a result page from a pageable operation, returns a\n * continuation token that can be used to begin paging from\n * that point later.\n * @param page A result object from calling .byPage() on a paged operation.\n * @returns The continuation token that can be passed into byPage().\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"],
5
+ "mappings": "AAYA,MAAM,UAAU,oBAAI,QAA0B;AASvC,SAAS,qBAAqB,MAAmC;AACtE,MAAI,OAAO,SAAS,YAAY,SAAS,MAAM;AAC7C,WAAO;AAAA,EACT;AACA,SAAO,QAAQ,IAAI,IAAI,GAAG;AAC5B;AAEO,SAAS,qBACd,MACA,mBACM;AACN,MAAI,OAAO,SAAS,YAAY,SAAS,QAAQ,CAAC,mBAAmB;AACnE;AAAA,EACF;AACA,QAAM,WAAW,QAAQ,IAAI,IAAI,KAAK,CAAC;AACvC,WAAS,oBAAoB;AAC7B,UAAQ,IAAI,MAAM,QAAQ;AAC5B;",
6
+ "names": []
7
+ }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "sdk-type": "mgmt",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "A generated SDK for AzureTrafficCollectorClient.",
6
- "version": "2.0.2-alpha.20260302.1",
6
+ "version": "2.0.2-alpha.20260304.1",
7
7
  "engines": {
8
8
  "node": ">=20.0.0"
9
9
  },
@@ -37,13 +37,12 @@
37
37
  "cross-env": "^10.1.0",
38
38
  "playwright": "^1.56.1",
39
39
  "rimraf": "^6.1.0",
40
- "tshy": "^3.0.3",
41
40
  "typescript": "~5.9.3",
42
41
  "vitest": "^4.0.8",
43
- "@azure-tools/test-recorder": "^4.1.1",
44
- "@azure/dev-tool": "^1.0.0",
45
42
  "@azure-tools/test-credential": "^2.1.2",
46
- "@azure-tools/test-utils-vitest": "^2.0.1"
43
+ "@azure-tools/test-recorder": "^4.1.1",
44
+ "@azure-tools/test-utils-vitest": "^2.0.1",
45
+ "@azure/dev-tool": "^1.0.0"
47
46
  },
48
47
  "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/networkfunction/arm-networkfunction",
49
48
  "repository": "github:Azure/azure-sdk-for-js",
@@ -76,22 +75,6 @@
76
75
  "apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-networkfunction?view=azure-node-preview"
77
76
  },
78
77
  "type": "module",
79
- "tshy": {
80
- "project": "../../../tsconfig.src.build.json",
81
- "exports": {
82
- "./package.json": "./package.json",
83
- ".": "./src/index.ts"
84
- },
85
- "dialects": [
86
- "esm",
87
- "commonjs"
88
- ],
89
- "esmDialects": [
90
- "browser",
91
- "react-native"
92
- ],
93
- "selfLink": false
94
- },
95
78
  "browser": "./dist/browser/index.js",
96
79
  "react-native": "./dist/react-native/index.js",
97
80
  "exports": {