@azure/arm-networkfunction 2.0.0 → 2.0.1-alpha.20230123.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release History
2
-
2
+
3
+ ## 2.0.1 (Unreleased)
4
+
5
+ ### Features Added
6
+
7
+ ### Breaking Changes
8
+
9
+ ### Bugs Fixed
10
+
11
+ ### Other Changes
12
+
3
13
  ## 2.0.0 (2022-11-24)
4
14
 
5
15
  **Features**
package/dist/index.js CHANGED
@@ -1851,7 +1851,7 @@ class AzureTrafficCollectorClient extends coreClient__namespace.ServiceClient {
1851
1851
  requestContentType: "application/json; charset=utf-8",
1852
1852
  credential: credentials
1853
1853
  };
1854
- const packageDetails = `azsdk-js-arm-networkfunction/2.0.0`;
1854
+ const packageDetails = `azsdk-js-arm-networkfunction/2.0.1`;
1855
1855
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
1856
1856
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
1857
1857
  : `${packageDetails}`;
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../src/pagingHelper.ts","../src/models/index.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/operations/networkFunction.ts","../src/operations/azureTrafficCollectorsBySubscription.ts","../src/operations/azureTrafficCollectorsByResourceGroup.ts","../src/lroImpl.ts","../src/operations/azureTrafficCollectors.ts","../src/operations/collectorPolicies.ts","../src/azureTrafficCollectorClient.ts"],"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","/*\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 * as coreClient from \"@azure/core-client\";\n\n/** Result of the request to list Azure Traffic Collector operations. It contains a list of operations and a URL link to get the next set of results. */\nexport interface OperationListResult {\n /** List of operations supported by the Azure Traffic Collector resource provider. */\n value?: Operation[];\n /** URL to get the next set of operation list results if there are any. */\n nextLink?: string;\n}\n\n/** Azure Traffic Collector REST API operation definition. */\nexport interface Operation {\n /** Operation name: {provider}/{resource}/{operation} */\n name?: string;\n /** Indicates whether the operation is a data action */\n isDataAction?: boolean;\n /** Display metadata associated with the operation. */\n display?: OperationDisplay;\n /** Origin of the operation */\n origin?: string;\n}\n\n/** Display metadata associated with the operation. */\nexport interface OperationDisplay {\n /** Service provider: Microsoft NetworkFunction. */\n provider?: string;\n /** Resource on which the operation is performed etc. */\n resource?: string;\n /** Type of operation: get, read, delete, etc. */\n operation?: string;\n /** Description of the operation. */\n description?: string;\n}\n\n/** An error response from the service. */\nexport interface CloudError {\n /** An error response from the service. */\n error?: CloudErrorBody;\n}\n\n/** An error response from the service. */\nexport interface CloudErrorBody {\n /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */\n code?: string;\n /** A message describing the error, intended to be suitable for display in a user interface. */\n message?: string;\n /** The target of the particular error. For example, the name of the property in error. */\n target?: string;\n /** A list of additional details about the error. */\n details?: CloudErrorBody[];\n}\n\n/** Response for the ListTrafficCollectors API service call. */\nexport interface AzureTrafficCollectorListResult {\n /** A list of Traffic Collector resources. */\n value?: AzureTrafficCollector[];\n /**\n * The URL to get the next set of results.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** Resource reference properties. */\nexport interface ResourceReference {\n /**\n * Resource ID.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n}\n\n/** Common resource representation. */\nexport interface TrackedResource {\n /**\n * Resource ID.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * Resource name.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * Resource type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /** Resource location. */\n location: string;\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n /**\n * Metadata pertaining to creation and last modification of the resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly systemData?: TrackedResourceSystemData;\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n}\n\n/** Tags object for patch operations. */\nexport interface TagsObject {\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n}\n\n/** Response for the ListCollectorPolicies API service call. */\nexport interface CollectorPolicyListResult {\n /** A list of collection policies. */\n value?: CollectorPolicy[];\n /**\n * The URL to get the next set of results.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** Ingestion Policy properties. */\nexport interface IngestionPolicyPropertiesFormat {\n /** The ingestion type. */\n ingestionType?: IngestionType;\n /** Ingestion Sources. */\n ingestionSources?: IngestionSourcesPropertiesFormat[];\n}\n\n/** Ingestion policy properties. */\nexport interface IngestionSourcesPropertiesFormat {\n /** Ingestion source type. */\n sourceType?: SourceType;\n /** Resource ID. */\n resourceId?: string;\n}\n\n/** Emission policy properties. */\nexport interface EmissionPoliciesPropertiesFormat {\n /** Emission format type. */\n emissionType?: EmissionType;\n /** Emission policy destinations. */\n emissionDestinations?: EmissionPolicyDestination[];\n}\n\n/** Emission policy destination properties. */\nexport interface EmissionPolicyDestination {\n /** Emission destination type. */\n destinationType?: DestinationType;\n}\n\n/** An azure resource object */\nexport interface ProxyResource {\n /**\n * Azure resource Id\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * Azure resource type\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * Azure resource name\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n}\n\n/** Azure Traffic Collector resource. */\nexport interface AzureTrafficCollector extends TrackedResource {\n /**\n * A unique read-only string that changes whenever the resource is updated.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly etag?: string;\n /**\n * Collector Policies for Azure Traffic Collector.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly collectorPolicies?: ResourceReference[];\n /** The virtualHub to which the Azure Traffic Collector belongs. */\n virtualHub?: ResourceReference;\n /**\n * The provisioning state of the application rule collection resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provisioningState?: ProvisioningState;\n}\n\n/** Collector policy resource. */\nexport interface CollectorPolicy extends TrackedResource {\n /**\n * A unique read-only string that changes whenever the resource is updated.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly etag?: string;\n /** Ingestion policies. */\n ingestionPolicy?: IngestionPolicyPropertiesFormat;\n /** Emission policies. */\n emissionPolicies?: EmissionPoliciesPropertiesFormat[];\n /**\n * The provisioning state.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provisioningState?: ProvisioningState;\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface TrackedResourceSystemData extends SystemData {}\n\n/** Known values of {@link ProvisioningState} that the service accepts. */\nexport enum KnownProvisioningState {\n /** Succeeded */\n Succeeded = \"Succeeded\",\n /** Updating */\n Updating = \"Updating\",\n /** Deleting */\n Deleting = \"Deleting\",\n /** Failed */\n Failed = \"Failed\"\n}\n\n/**\n * Defines values for ProvisioningState. \\\n * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded** \\\n * **Updating** \\\n * **Deleting** \\\n * **Failed**\n */\nexport type ProvisioningState = string;\n\n/** Known values of {@link CreatedByType} that the service accepts. */\nexport enum KnownCreatedByType {\n /** User */\n User = \"User\",\n /** Application */\n Application = \"Application\",\n /** ManagedIdentity */\n ManagedIdentity = \"ManagedIdentity\",\n /** Key */\n Key = \"Key\"\n}\n\n/**\n * Defines values for CreatedByType. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User** \\\n * **Application** \\\n * **ManagedIdentity** \\\n * **Key**\n */\nexport type CreatedByType = string;\n\n/** Known values of {@link IngestionType} that the service accepts. */\nexport enum KnownIngestionType {\n /** Ipfix */\n Ipfix = \"IPFIX\"\n}\n\n/**\n * Defines values for IngestionType. \\\n * {@link KnownIngestionType} can be used interchangeably with IngestionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **IPFIX**\n */\nexport type IngestionType = string;\n\n/** Known values of {@link SourceType} that the service accepts. */\nexport enum KnownSourceType {\n /** Resource */\n Resource = \"Resource\"\n}\n\n/**\n * Defines values for SourceType. \\\n * {@link KnownSourceType} can be used interchangeably with SourceType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Resource**\n */\nexport type SourceType = string;\n\n/** Known values of {@link EmissionType} that the service accepts. */\nexport enum KnownEmissionType {\n /** Ipfix */\n Ipfix = \"IPFIX\"\n}\n\n/**\n * Defines values for EmissionType. \\\n * {@link KnownEmissionType} can be used interchangeably with EmissionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **IPFIX**\n */\nexport type EmissionType = string;\n\n/** Known values of {@link DestinationType} that the service accepts. */\nexport enum KnownDestinationType {\n /** AzureMonitor */\n AzureMonitor = \"AzureMonitor\"\n}\n\n/**\n * Defines values for DestinationType. \\\n * {@link KnownDestinationType} can be used interchangeably with DestinationType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **AzureMonitor**\n */\nexport type DestinationType = string;\n\n/** Known values of {@link ApiVersionParameter} that the service accepts. */\nexport enum KnownApiVersionParameter {\n /** TwoThousandTwentyTwo0501 */\n TwoThousandTwentyTwo0501 = \"2022-05-01\",\n /** TwoThousandTwentyTwo0801 */\n TwoThousandTwentyTwo0801 = \"2022-08-01\",\n /** TwoThousandTwentyTwo1101 */\n TwoThousandTwentyTwo1101 = \"2022-11-01\"\n}\n\n/**\n * Defines values for ApiVersionParameter. \\\n * {@link KnownApiVersionParameter} can be used interchangeably with ApiVersionParameter,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **2022-05-01** \\\n * **2022-08-01** \\\n * **2022-11-01**\n */\nexport type ApiVersionParameter = string;\n\n/** Optional parameters. */\nexport interface NetworkFunctionListOperationsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listOperations operation. */\nexport type NetworkFunctionListOperationsResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface AzureTrafficCollectorsBySubscriptionListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type AzureTrafficCollectorsBySubscriptionListResponse = AzureTrafficCollectorListResult;\n\n/** Optional parameters. */\nexport interface AzureTrafficCollectorsBySubscriptionListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type AzureTrafficCollectorsBySubscriptionListNextResponse = AzureTrafficCollectorListResult;\n\n/** Optional parameters. */\nexport interface AzureTrafficCollectorsByResourceGroupListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type AzureTrafficCollectorsByResourceGroupListResponse = AzureTrafficCollectorListResult;\n\n/** Optional parameters. */\nexport interface AzureTrafficCollectorsByResourceGroupListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type AzureTrafficCollectorsByResourceGroupListNextResponse = AzureTrafficCollectorListResult;\n\n/** Optional parameters. */\nexport interface AzureTrafficCollectorsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type AzureTrafficCollectorsGetResponse = AzureTrafficCollector;\n\n/** Optional parameters. */\nexport interface AzureTrafficCollectorsCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n /** The virtualHub to which the Azure Traffic Collector belongs. */\n virtualHub?: ResourceReference;\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type AzureTrafficCollectorsCreateOrUpdateResponse = AzureTrafficCollector;\n\n/** Optional parameters. */\nexport interface AzureTrafficCollectorsDeleteOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Optional parameters. */\nexport interface AzureTrafficCollectorsUpdateTagsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the updateTags operation. */\nexport type AzureTrafficCollectorsUpdateTagsResponse = AzureTrafficCollector;\n\n/** Optional parameters. */\nexport interface CollectorPoliciesListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type CollectorPoliciesListResponse = CollectorPolicyListResult;\n\n/** Optional parameters. */\nexport interface CollectorPoliciesGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type CollectorPoliciesGetResponse = CollectorPolicy;\n\n/** Optional parameters. */\nexport interface CollectorPoliciesCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n /** Ingestion policies. */\n ingestionPolicy?: IngestionPolicyPropertiesFormat;\n /** Emission policies. */\n emissionPolicies?: EmissionPoliciesPropertiesFormat[];\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type CollectorPoliciesCreateOrUpdateResponse = CollectorPolicy;\n\n/** Optional parameters. */\nexport interface CollectorPoliciesDeleteOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Optional parameters. */\nexport interface CollectorPoliciesUpdateTagsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the updateTags operation. */\nexport type CollectorPoliciesUpdateTagsResponse = CollectorPolicy;\n\n/** Optional parameters. */\nexport interface CollectorPoliciesListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type CollectorPoliciesListNextResponse = CollectorPolicyListResult;\n\n/** Optional parameters. */\nexport interface AzureTrafficCollectorClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n","/*\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 * as coreClient from \"@azure/core-client\";\n\nexport const OperationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n isDataAction: {\n defaultValue: false,\n serializedName: \"isDataAction\",\n type: {\n name: \"Boolean\"\n }\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\"\n }\n },\n origin: {\n serializedName: \"origin\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const OperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n type: {\n name: \"String\"\n }\n },\n resource: {\n serializedName: \"resource\",\n type: {\n name: \"String\"\n }\n },\n operation: {\n serializedName: \"operation\",\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CloudError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CloudError\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"CloudErrorBody\"\n }\n }\n }\n }\n};\n\nexport const CloudErrorBody: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CloudErrorBody\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CloudErrorBody\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const AzureTrafficCollectorListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureTrafficCollectorListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"AzureTrafficCollector\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ResourceReference: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceReference\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TrackedResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrackedResource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n location: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"TrackedResourceSystemData\"\n }\n }\n }\n }\n};\n\nexport const SystemData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n modelProperties: {\n createdBy: {\n serializedName: \"createdBy\",\n type: {\n name: \"String\"\n }\n },\n createdByType: {\n serializedName: \"createdByType\",\n type: {\n name: \"String\"\n }\n },\n createdAt: {\n serializedName: \"createdAt\",\n type: {\n name: \"DateTime\"\n }\n },\n lastModifiedBy: {\n serializedName: \"lastModifiedBy\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedByType: {\n serializedName: \"lastModifiedByType\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TagsObject: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TagsObject\",\n modelProperties: {\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const CollectorPolicyListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CollectorPolicyListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CollectorPolicy\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const IngestionPolicyPropertiesFormat: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"IngestionPolicyPropertiesFormat\",\n modelProperties: {\n ingestionType: {\n serializedName: \"ingestionType\",\n type: {\n name: \"String\"\n }\n },\n ingestionSources: {\n serializedName: \"ingestionSources\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"IngestionSourcesPropertiesFormat\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const IngestionSourcesPropertiesFormat: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"IngestionSourcesPropertiesFormat\",\n modelProperties: {\n sourceType: {\n serializedName: \"sourceType\",\n type: {\n name: \"String\"\n }\n },\n resourceId: {\n serializedName: \"resourceId\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const EmissionPoliciesPropertiesFormat: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EmissionPoliciesPropertiesFormat\",\n modelProperties: {\n emissionType: {\n serializedName: \"emissionType\",\n type: {\n name: \"String\"\n }\n },\n emissionDestinations: {\n serializedName: \"emissionDestinations\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"EmissionPolicyDestination\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const EmissionPolicyDestination: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EmissionPolicyDestination\",\n modelProperties: {\n destinationType: {\n serializedName: \"destinationType\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ProxyResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProxyResource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AzureTrafficCollector: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureTrafficCollector\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n etag: {\n serializedName: \"etag\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n collectorPolicies: {\n serializedName: \"properties.collectorPolicies\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ResourceReference\"\n }\n }\n }\n },\n virtualHub: {\n serializedName: \"properties.virtualHub\",\n type: {\n name: \"Composite\",\n className: \"ResourceReference\"\n }\n },\n provisioningState: {\n serializedName: \"properties.provisioningState\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CollectorPolicy: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CollectorPolicy\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n etag: {\n serializedName: \"etag\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n ingestionPolicy: {\n serializedName: \"properties.ingestionPolicy\",\n type: {\n name: \"Composite\",\n className: \"IngestionPolicyPropertiesFormat\"\n }\n },\n emissionPolicies: {\n serializedName: \"properties.emissionPolicies\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"EmissionPoliciesPropertiesFormat\"\n }\n }\n }\n },\n provisioningState: {\n serializedName: \"properties.provisioningState\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TrackedResourceSystemData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrackedResourceSystemData\",\n modelProperties: {\n ...SystemData.type.modelProperties\n }\n }\n};\n","/*\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\";\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","/*\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\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { AzureTrafficCollectorClient } from \"../azureTrafficCollectorClient\";\nimport {\n Operation,\n NetworkFunctionListOperationsOptionalParams,\n NetworkFunctionListOperationsResponse\n} from \"../models\";\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","/*\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\";\nimport { AzureTrafficCollectorsBySubscription } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { AzureTrafficCollectorClient } from \"../azureTrafficCollectorClient\";\nimport {\n AzureTrafficCollector,\n AzureTrafficCollectorsBySubscriptionListNextOptionalParams,\n AzureTrafficCollectorsBySubscriptionListOptionalParams,\n AzureTrafficCollectorsBySubscriptionListResponse,\n AzureTrafficCollectorsBySubscriptionListNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing AzureTrafficCollectorsBySubscription operations. */\nexport class AzureTrafficCollectorsBySubscriptionImpl\n implements AzureTrafficCollectorsBySubscription {\n private readonly client: AzureTrafficCollectorClient;\n\n /**\n * Initialize a new instance of the class AzureTrafficCollectorsBySubscription class.\n * @param client Reference to the service client\n */\n constructor(client: AzureTrafficCollectorClient) {\n this.client = client;\n }\n\n /**\n * Return list of Azure Traffic Collectors in a subscription\n * @param options The options parameters.\n */\n public list(\n options?: AzureTrafficCollectorsBySubscriptionListOptionalParams\n ): PagedAsyncIterableIterator<AzureTrafficCollector> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: AzureTrafficCollectorsBySubscriptionListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<AzureTrafficCollector[]> {\n let result: AzureTrafficCollectorsBySubscriptionListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: AzureTrafficCollectorsBySubscriptionListOptionalParams\n ): AsyncIterableIterator<AzureTrafficCollector> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Return list of Azure Traffic Collectors in a subscription\n * @param options The options parameters.\n */\n private _list(\n options?: AzureTrafficCollectorsBySubscriptionListOptionalParams\n ): Promise<AzureTrafficCollectorsBySubscriptionListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: AzureTrafficCollectorsBySubscriptionListNextOptionalParams\n ): Promise<AzureTrafficCollectorsBySubscriptionListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.NetworkFunction/azureTrafficCollectors\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureTrafficCollectorListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureTrafficCollectorListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\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\";\nimport { AzureTrafficCollectorsByResourceGroup } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { AzureTrafficCollectorClient } from \"../azureTrafficCollectorClient\";\nimport {\n AzureTrafficCollector,\n AzureTrafficCollectorsByResourceGroupListNextOptionalParams,\n AzureTrafficCollectorsByResourceGroupListOptionalParams,\n AzureTrafficCollectorsByResourceGroupListResponse,\n AzureTrafficCollectorsByResourceGroupListNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing AzureTrafficCollectorsByResourceGroup operations. */\nexport class AzureTrafficCollectorsByResourceGroupImpl\n implements AzureTrafficCollectorsByResourceGroup {\n private readonly client: AzureTrafficCollectorClient;\n\n /**\n * Initialize a new instance of the class AzureTrafficCollectorsByResourceGroup class.\n * @param client Reference to the service client\n */\n constructor(client: AzureTrafficCollectorClient) {\n this.client = client;\n }\n\n /**\n * Return list of Azure Traffic Collectors in a Resource Group\n * @param resourceGroupName The name of the resource group.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n options?: AzureTrafficCollectorsByResourceGroupListOptionalParams\n ): PagedAsyncIterableIterator<AzureTrafficCollector> {\n const iter = this.listPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(resourceGroupName, options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n options?: AzureTrafficCollectorsByResourceGroupListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<AzureTrafficCollector[]> {\n let result: AzureTrafficCollectorsByResourceGroupListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n options?: AzureTrafficCollectorsByResourceGroupListOptionalParams\n ): AsyncIterableIterator<AzureTrafficCollector> {\n for await (const page of this.listPagingPage(resourceGroupName, options)) {\n yield* page;\n }\n }\n\n /**\n * Return list of Azure Traffic Collectors in a Resource Group\n * @param resourceGroupName The name of the resource group.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n options?: AzureTrafficCollectorsByResourceGroupListOptionalParams\n ): Promise<AzureTrafficCollectorsByResourceGroupListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listOperationSpec\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n nextLink: string,\n options?: AzureTrafficCollectorsByResourceGroupListNextOptionalParams\n ): Promise<AzureTrafficCollectorsByResourceGroupListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureTrafficCollectorListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureTrafficCollectorListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\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 { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport class LroImpl<T> implements LongRunningOperation<T> {\n constructor(\n private sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>,\n private args: Record<string, unknown>,\n private spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>,\n public requestPath: string = spec.path!,\n public requestMethod: string = spec.httpMethod\n ) {}\n public async sendInitialRequest(): Promise<LroResponse<T>> {\n return this.sendOperationFn(this.args, this.spec);\n }\n public async sendPollRequest(path: string): Promise<LroResponse<T>> {\n const { requestBody, ...restSpec } = this.spec;\n return this.sendOperationFn(this.args, {\n ...restSpec,\n path,\n httpMethod: \"GET\"\n });\n }\n}\n","/*\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\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { AzureTrafficCollectorClient } from \"../azureTrafficCollectorClient\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl\";\nimport {\n AzureTrafficCollectorsGetOptionalParams,\n AzureTrafficCollectorsGetResponse,\n AzureTrafficCollectorsCreateOrUpdateOptionalParams,\n AzureTrafficCollectorsCreateOrUpdateResponse,\n AzureTrafficCollectorsDeleteOptionalParams,\n TagsObject,\n AzureTrafficCollectorsUpdateTagsOptionalParams,\n AzureTrafficCollectorsUpdateTagsResponse\n} from \"../models\";\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","/*\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\";\nimport { CollectorPolicies } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { AzureTrafficCollectorClient } from \"../azureTrafficCollectorClient\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl\";\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\";\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","/*\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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n NetworkFunctionImpl,\n AzureTrafficCollectorsBySubscriptionImpl,\n AzureTrafficCollectorsByResourceGroupImpl,\n AzureTrafficCollectorsImpl,\n CollectorPoliciesImpl\n} from \"./operations\";\nimport {\n NetworkFunction,\n AzureTrafficCollectorsBySubscription,\n AzureTrafficCollectorsByResourceGroup,\n AzureTrafficCollectors,\n CollectorPolicies\n} from \"./operationsInterfaces\";\nimport { AzureTrafficCollectorClientOptionalParams } from \"./models\";\n\nexport class AzureTrafficCollectorClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the AzureTrafficCollectorClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId Azure Subscription ID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: AzureTrafficCollectorClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: AzureTrafficCollectorClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-networkfunction/2.0.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2022-11-01\";\n this.networkFunction = new NetworkFunctionImpl(this);\n this.azureTrafficCollectorsBySubscription = new AzureTrafficCollectorsBySubscriptionImpl(\n this\n );\n this.azureTrafficCollectorsByResourceGroup = new AzureTrafficCollectorsByResourceGroupImpl(\n this\n );\n this.azureTrafficCollectors = new AzureTrafficCollectorsImpl(this);\n this.collectorPolicies = new CollectorPoliciesImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n networkFunction: NetworkFunction;\n azureTrafficCollectorsBySubscription: AzureTrafficCollectorsBySubscription;\n azureTrafficCollectorsByResourceGroup: AzureTrafficCollectorsByResourceGroup;\n azureTrafficCollectors: AzureTrafficCollectors;\n collectorPolicies: CollectorPolicies;\n}\n"],"names":["KnownProvisioningState","KnownCreatedByType","KnownIngestionType","KnownSourceType","KnownEmissionType","KnownDestinationType","KnownApiVersionParameter","TagsObjectMapper","__await","__asyncValues","__asyncDelegator","serializer","coreClient","Mappers.OperationListResult","Mappers.CloudError","Parameters.apiVersion","Parameters.$host","Parameters.accept","listOperationSpec","listNextOperationSpec","Mappers.AzureTrafficCollectorListResult","Parameters.subscriptionId","Parameters.nextLink","Parameters.resourceGroupName","__rest","getOperationSpec","__awaiter","createOrUpdateOperationSpec","LroEngine","deleteOperationSpec","updateTagsOperationSpec","Mappers.AzureTrafficCollector","Parameters.azureTrafficCollectorName","Parameters.contentType","Parameters.parameters1","Mappers.CollectorPolicyListResult","Mappers.CollectorPolicy","Parameters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oBAEjB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;AACrC,oBAAA,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;AACpB,wBAAA,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,KAAI;4BACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE;gCACpC,OAAO,cAAc,GAAG,UAAU,CAAC;AACpC,6BAAA;AAAM,iCAAA;AACL,gCAAA,OAAO,IAAI,CAAC;AACb,6BAAA;AACH,yBAAC,CAAC,CAAC;AACH,wBAAA,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACpD,qBAAA;AACD,oBAAA,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;iBACtB,CAAA,CAAA;AAAA,aAAA;SACF,CAAC;AACF,QAAA,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;KAC3C;AAOF;;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../src/pagingHelper.ts","../src/models/index.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/operations/networkFunction.ts","../src/operations/azureTrafficCollectorsBySubscription.ts","../src/operations/azureTrafficCollectorsByResourceGroup.ts","../src/lroImpl.ts","../src/operations/azureTrafficCollectors.ts","../src/operations/collectorPolicies.ts","../src/azureTrafficCollectorClient.ts"],"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","/*\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 * as coreClient from \"@azure/core-client\";\n\n/** Result of the request to list Azure Traffic Collector operations. It contains a list of operations and a URL link to get the next set of results. */\nexport interface OperationListResult {\n /** List of operations supported by the Azure Traffic Collector resource provider. */\n value?: Operation[];\n /** URL to get the next set of operation list results if there are any. */\n nextLink?: string;\n}\n\n/** Azure Traffic Collector REST API operation definition. */\nexport interface Operation {\n /** Operation name: {provider}/{resource}/{operation} */\n name?: string;\n /** Indicates whether the operation is a data action */\n isDataAction?: boolean;\n /** Display metadata associated with the operation. */\n display?: OperationDisplay;\n /** Origin of the operation */\n origin?: string;\n}\n\n/** Display metadata associated with the operation. */\nexport interface OperationDisplay {\n /** Service provider: Microsoft NetworkFunction. */\n provider?: string;\n /** Resource on which the operation is performed etc. */\n resource?: string;\n /** Type of operation: get, read, delete, etc. */\n operation?: string;\n /** Description of the operation. */\n description?: string;\n}\n\n/** An error response from the service. */\nexport interface CloudError {\n /** An error response from the service. */\n error?: CloudErrorBody;\n}\n\n/** An error response from the service. */\nexport interface CloudErrorBody {\n /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */\n code?: string;\n /** A message describing the error, intended to be suitable for display in a user interface. */\n message?: string;\n /** The target of the particular error. For example, the name of the property in error. */\n target?: string;\n /** A list of additional details about the error. */\n details?: CloudErrorBody[];\n}\n\n/** Response for the ListTrafficCollectors API service call. */\nexport interface AzureTrafficCollectorListResult {\n /** A list of Traffic Collector resources. */\n value?: AzureTrafficCollector[];\n /**\n * The URL to get the next set of results.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** Resource reference properties. */\nexport interface ResourceReference {\n /**\n * Resource ID.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n}\n\n/** Common resource representation. */\nexport interface TrackedResource {\n /**\n * Resource ID.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * Resource name.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * Resource type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /** Resource location. */\n location: string;\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n /**\n * Metadata pertaining to creation and last modification of the resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly systemData?: TrackedResourceSystemData;\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n}\n\n/** Tags object for patch operations. */\nexport interface TagsObject {\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n}\n\n/** Response for the ListCollectorPolicies API service call. */\nexport interface CollectorPolicyListResult {\n /** A list of collection policies. */\n value?: CollectorPolicy[];\n /**\n * The URL to get the next set of results.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** Ingestion Policy properties. */\nexport interface IngestionPolicyPropertiesFormat {\n /** The ingestion type. */\n ingestionType?: IngestionType;\n /** Ingestion Sources. */\n ingestionSources?: IngestionSourcesPropertiesFormat[];\n}\n\n/** Ingestion policy properties. */\nexport interface IngestionSourcesPropertiesFormat {\n /** Ingestion source type. */\n sourceType?: SourceType;\n /** Resource ID. */\n resourceId?: string;\n}\n\n/** Emission policy properties. */\nexport interface EmissionPoliciesPropertiesFormat {\n /** Emission format type. */\n emissionType?: EmissionType;\n /** Emission policy destinations. */\n emissionDestinations?: EmissionPolicyDestination[];\n}\n\n/** Emission policy destination properties. */\nexport interface EmissionPolicyDestination {\n /** Emission destination type. */\n destinationType?: DestinationType;\n}\n\n/** An azure resource object */\nexport interface ProxyResource {\n /**\n * Azure resource Id\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * Azure resource type\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * Azure resource name\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n}\n\n/** Azure Traffic Collector resource. */\nexport interface AzureTrafficCollector extends TrackedResource {\n /**\n * A unique read-only string that changes whenever the resource is updated.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly etag?: string;\n /**\n * Collector Policies for Azure Traffic Collector.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly collectorPolicies?: ResourceReference[];\n /** The virtualHub to which the Azure Traffic Collector belongs. */\n virtualHub?: ResourceReference;\n /**\n * The provisioning state of the application rule collection resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provisioningState?: ProvisioningState;\n}\n\n/** Collector policy resource. */\nexport interface CollectorPolicy extends TrackedResource {\n /**\n * A unique read-only string that changes whenever the resource is updated.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly etag?: string;\n /** Ingestion policies. */\n ingestionPolicy?: IngestionPolicyPropertiesFormat;\n /** Emission policies. */\n emissionPolicies?: EmissionPoliciesPropertiesFormat[];\n /**\n * The provisioning state.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provisioningState?: ProvisioningState;\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface TrackedResourceSystemData extends SystemData {}\n\n/** Known values of {@link ProvisioningState} that the service accepts. */\nexport enum KnownProvisioningState {\n /** Succeeded */\n Succeeded = \"Succeeded\",\n /** Updating */\n Updating = \"Updating\",\n /** Deleting */\n Deleting = \"Deleting\",\n /** Failed */\n Failed = \"Failed\"\n}\n\n/**\n * Defines values for ProvisioningState. \\\n * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded** \\\n * **Updating** \\\n * **Deleting** \\\n * **Failed**\n */\nexport type ProvisioningState = string;\n\n/** Known values of {@link CreatedByType} that the service accepts. */\nexport enum KnownCreatedByType {\n /** User */\n User = \"User\",\n /** Application */\n Application = \"Application\",\n /** ManagedIdentity */\n ManagedIdentity = \"ManagedIdentity\",\n /** Key */\n Key = \"Key\"\n}\n\n/**\n * Defines values for CreatedByType. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User** \\\n * **Application** \\\n * **ManagedIdentity** \\\n * **Key**\n */\nexport type CreatedByType = string;\n\n/** Known values of {@link IngestionType} that the service accepts. */\nexport enum KnownIngestionType {\n /** Ipfix */\n Ipfix = \"IPFIX\"\n}\n\n/**\n * Defines values for IngestionType. \\\n * {@link KnownIngestionType} can be used interchangeably with IngestionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **IPFIX**\n */\nexport type IngestionType = string;\n\n/** Known values of {@link SourceType} that the service accepts. */\nexport enum KnownSourceType {\n /** Resource */\n Resource = \"Resource\"\n}\n\n/**\n * Defines values for SourceType. \\\n * {@link KnownSourceType} can be used interchangeably with SourceType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Resource**\n */\nexport type SourceType = string;\n\n/** Known values of {@link EmissionType} that the service accepts. */\nexport enum KnownEmissionType {\n /** Ipfix */\n Ipfix = \"IPFIX\"\n}\n\n/**\n * Defines values for EmissionType. \\\n * {@link KnownEmissionType} can be used interchangeably with EmissionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **IPFIX**\n */\nexport type EmissionType = string;\n\n/** Known values of {@link DestinationType} that the service accepts. */\nexport enum KnownDestinationType {\n /** AzureMonitor */\n AzureMonitor = \"AzureMonitor\"\n}\n\n/**\n * Defines values for DestinationType. \\\n * {@link KnownDestinationType} can be used interchangeably with DestinationType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **AzureMonitor**\n */\nexport type DestinationType = string;\n\n/** Known values of {@link ApiVersionParameter} that the service accepts. */\nexport enum KnownApiVersionParameter {\n /** TwoThousandTwentyTwo0501 */\n TwoThousandTwentyTwo0501 = \"2022-05-01\",\n /** TwoThousandTwentyTwo0801 */\n TwoThousandTwentyTwo0801 = \"2022-08-01\",\n /** TwoThousandTwentyTwo1101 */\n TwoThousandTwentyTwo1101 = \"2022-11-01\"\n}\n\n/**\n * Defines values for ApiVersionParameter. \\\n * {@link KnownApiVersionParameter} can be used interchangeably with ApiVersionParameter,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **2022-05-01** \\\n * **2022-08-01** \\\n * **2022-11-01**\n */\nexport type ApiVersionParameter = string;\n\n/** Optional parameters. */\nexport interface NetworkFunctionListOperationsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listOperations operation. */\nexport type NetworkFunctionListOperationsResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface AzureTrafficCollectorsBySubscriptionListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type AzureTrafficCollectorsBySubscriptionListResponse = AzureTrafficCollectorListResult;\n\n/** Optional parameters. */\nexport interface AzureTrafficCollectorsBySubscriptionListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type AzureTrafficCollectorsBySubscriptionListNextResponse = AzureTrafficCollectorListResult;\n\n/** Optional parameters. */\nexport interface AzureTrafficCollectorsByResourceGroupListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type AzureTrafficCollectorsByResourceGroupListResponse = AzureTrafficCollectorListResult;\n\n/** Optional parameters. */\nexport interface AzureTrafficCollectorsByResourceGroupListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type AzureTrafficCollectorsByResourceGroupListNextResponse = AzureTrafficCollectorListResult;\n\n/** Optional parameters. */\nexport interface AzureTrafficCollectorsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type AzureTrafficCollectorsGetResponse = AzureTrafficCollector;\n\n/** Optional parameters. */\nexport interface AzureTrafficCollectorsCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n /** The virtualHub to which the Azure Traffic Collector belongs. */\n virtualHub?: ResourceReference;\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type AzureTrafficCollectorsCreateOrUpdateResponse = AzureTrafficCollector;\n\n/** Optional parameters. */\nexport interface AzureTrafficCollectorsDeleteOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Optional parameters. */\nexport interface AzureTrafficCollectorsUpdateTagsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the updateTags operation. */\nexport type AzureTrafficCollectorsUpdateTagsResponse = AzureTrafficCollector;\n\n/** Optional parameters. */\nexport interface CollectorPoliciesListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type CollectorPoliciesListResponse = CollectorPolicyListResult;\n\n/** Optional parameters. */\nexport interface CollectorPoliciesGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type CollectorPoliciesGetResponse = CollectorPolicy;\n\n/** Optional parameters. */\nexport interface CollectorPoliciesCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n /** Ingestion policies. */\n ingestionPolicy?: IngestionPolicyPropertiesFormat;\n /** Emission policies. */\n emissionPolicies?: EmissionPoliciesPropertiesFormat[];\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type CollectorPoliciesCreateOrUpdateResponse = CollectorPolicy;\n\n/** Optional parameters. */\nexport interface CollectorPoliciesDeleteOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Optional parameters. */\nexport interface CollectorPoliciesUpdateTagsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the updateTags operation. */\nexport type CollectorPoliciesUpdateTagsResponse = CollectorPolicy;\n\n/** Optional parameters. */\nexport interface CollectorPoliciesListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type CollectorPoliciesListNextResponse = CollectorPolicyListResult;\n\n/** Optional parameters. */\nexport interface AzureTrafficCollectorClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n","/*\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 * as coreClient from \"@azure/core-client\";\n\nexport const OperationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n isDataAction: {\n defaultValue: false,\n serializedName: \"isDataAction\",\n type: {\n name: \"Boolean\"\n }\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\"\n }\n },\n origin: {\n serializedName: \"origin\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const OperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n type: {\n name: \"String\"\n }\n },\n resource: {\n serializedName: \"resource\",\n type: {\n name: \"String\"\n }\n },\n operation: {\n serializedName: \"operation\",\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CloudError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CloudError\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"CloudErrorBody\"\n }\n }\n }\n }\n};\n\nexport const CloudErrorBody: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CloudErrorBody\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CloudErrorBody\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const AzureTrafficCollectorListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureTrafficCollectorListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"AzureTrafficCollector\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ResourceReference: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceReference\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TrackedResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrackedResource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n location: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"TrackedResourceSystemData\"\n }\n }\n }\n }\n};\n\nexport const SystemData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n modelProperties: {\n createdBy: {\n serializedName: \"createdBy\",\n type: {\n name: \"String\"\n }\n },\n createdByType: {\n serializedName: \"createdByType\",\n type: {\n name: \"String\"\n }\n },\n createdAt: {\n serializedName: \"createdAt\",\n type: {\n name: \"DateTime\"\n }\n },\n lastModifiedBy: {\n serializedName: \"lastModifiedBy\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedByType: {\n serializedName: \"lastModifiedByType\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TagsObject: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TagsObject\",\n modelProperties: {\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const CollectorPolicyListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CollectorPolicyListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CollectorPolicy\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const IngestionPolicyPropertiesFormat: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"IngestionPolicyPropertiesFormat\",\n modelProperties: {\n ingestionType: {\n serializedName: \"ingestionType\",\n type: {\n name: \"String\"\n }\n },\n ingestionSources: {\n serializedName: \"ingestionSources\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"IngestionSourcesPropertiesFormat\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const IngestionSourcesPropertiesFormat: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"IngestionSourcesPropertiesFormat\",\n modelProperties: {\n sourceType: {\n serializedName: \"sourceType\",\n type: {\n name: \"String\"\n }\n },\n resourceId: {\n serializedName: \"resourceId\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const EmissionPoliciesPropertiesFormat: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EmissionPoliciesPropertiesFormat\",\n modelProperties: {\n emissionType: {\n serializedName: \"emissionType\",\n type: {\n name: \"String\"\n }\n },\n emissionDestinations: {\n serializedName: \"emissionDestinations\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"EmissionPolicyDestination\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const EmissionPolicyDestination: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EmissionPolicyDestination\",\n modelProperties: {\n destinationType: {\n serializedName: \"destinationType\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ProxyResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProxyResource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AzureTrafficCollector: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureTrafficCollector\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n etag: {\n serializedName: \"etag\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n collectorPolicies: {\n serializedName: \"properties.collectorPolicies\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ResourceReference\"\n }\n }\n }\n },\n virtualHub: {\n serializedName: \"properties.virtualHub\",\n type: {\n name: \"Composite\",\n className: \"ResourceReference\"\n }\n },\n provisioningState: {\n serializedName: \"properties.provisioningState\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CollectorPolicy: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CollectorPolicy\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n etag: {\n serializedName: \"etag\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n ingestionPolicy: {\n serializedName: \"properties.ingestionPolicy\",\n type: {\n name: \"Composite\",\n className: \"IngestionPolicyPropertiesFormat\"\n }\n },\n emissionPolicies: {\n serializedName: \"properties.emissionPolicies\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"EmissionPoliciesPropertiesFormat\"\n }\n }\n }\n },\n provisioningState: {\n serializedName: \"properties.provisioningState\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TrackedResourceSystemData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrackedResourceSystemData\",\n modelProperties: {\n ...SystemData.type.modelProperties\n }\n }\n};\n","/*\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\";\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","/*\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\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { AzureTrafficCollectorClient } from \"../azureTrafficCollectorClient\";\nimport {\n Operation,\n NetworkFunctionListOperationsOptionalParams,\n NetworkFunctionListOperationsResponse\n} from \"../models\";\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","/*\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\";\nimport { AzureTrafficCollectorsBySubscription } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { AzureTrafficCollectorClient } from \"../azureTrafficCollectorClient\";\nimport {\n AzureTrafficCollector,\n AzureTrafficCollectorsBySubscriptionListNextOptionalParams,\n AzureTrafficCollectorsBySubscriptionListOptionalParams,\n AzureTrafficCollectorsBySubscriptionListResponse,\n AzureTrafficCollectorsBySubscriptionListNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing AzureTrafficCollectorsBySubscription operations. */\nexport class AzureTrafficCollectorsBySubscriptionImpl\n implements AzureTrafficCollectorsBySubscription {\n private readonly client: AzureTrafficCollectorClient;\n\n /**\n * Initialize a new instance of the class AzureTrafficCollectorsBySubscription class.\n * @param client Reference to the service client\n */\n constructor(client: AzureTrafficCollectorClient) {\n this.client = client;\n }\n\n /**\n * Return list of Azure Traffic Collectors in a subscription\n * @param options The options parameters.\n */\n public list(\n options?: AzureTrafficCollectorsBySubscriptionListOptionalParams\n ): PagedAsyncIterableIterator<AzureTrafficCollector> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: AzureTrafficCollectorsBySubscriptionListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<AzureTrafficCollector[]> {\n let result: AzureTrafficCollectorsBySubscriptionListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: AzureTrafficCollectorsBySubscriptionListOptionalParams\n ): AsyncIterableIterator<AzureTrafficCollector> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Return list of Azure Traffic Collectors in a subscription\n * @param options The options parameters.\n */\n private _list(\n options?: AzureTrafficCollectorsBySubscriptionListOptionalParams\n ): Promise<AzureTrafficCollectorsBySubscriptionListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: AzureTrafficCollectorsBySubscriptionListNextOptionalParams\n ): Promise<AzureTrafficCollectorsBySubscriptionListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.NetworkFunction/azureTrafficCollectors\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureTrafficCollectorListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureTrafficCollectorListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\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\";\nimport { AzureTrafficCollectorsByResourceGroup } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { AzureTrafficCollectorClient } from \"../azureTrafficCollectorClient\";\nimport {\n AzureTrafficCollector,\n AzureTrafficCollectorsByResourceGroupListNextOptionalParams,\n AzureTrafficCollectorsByResourceGroupListOptionalParams,\n AzureTrafficCollectorsByResourceGroupListResponse,\n AzureTrafficCollectorsByResourceGroupListNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing AzureTrafficCollectorsByResourceGroup operations. */\nexport class AzureTrafficCollectorsByResourceGroupImpl\n implements AzureTrafficCollectorsByResourceGroup {\n private readonly client: AzureTrafficCollectorClient;\n\n /**\n * Initialize a new instance of the class AzureTrafficCollectorsByResourceGroup class.\n * @param client Reference to the service client\n */\n constructor(client: AzureTrafficCollectorClient) {\n this.client = client;\n }\n\n /**\n * Return list of Azure Traffic Collectors in a Resource Group\n * @param resourceGroupName The name of the resource group.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n options?: AzureTrafficCollectorsByResourceGroupListOptionalParams\n ): PagedAsyncIterableIterator<AzureTrafficCollector> {\n const iter = this.listPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(resourceGroupName, options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n options?: AzureTrafficCollectorsByResourceGroupListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<AzureTrafficCollector[]> {\n let result: AzureTrafficCollectorsByResourceGroupListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n options?: AzureTrafficCollectorsByResourceGroupListOptionalParams\n ): AsyncIterableIterator<AzureTrafficCollector> {\n for await (const page of this.listPagingPage(resourceGroupName, options)) {\n yield* page;\n }\n }\n\n /**\n * Return list of Azure Traffic Collectors in a Resource Group\n * @param resourceGroupName The name of the resource group.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n options?: AzureTrafficCollectorsByResourceGroupListOptionalParams\n ): Promise<AzureTrafficCollectorsByResourceGroupListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listOperationSpec\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n nextLink: string,\n options?: AzureTrafficCollectorsByResourceGroupListNextOptionalParams\n ): Promise<AzureTrafficCollectorsByResourceGroupListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureTrafficCollectorListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureTrafficCollectorListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\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 { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport class LroImpl<T> implements LongRunningOperation<T> {\n constructor(\n private sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>,\n private args: Record<string, unknown>,\n private spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>,\n public requestPath: string = spec.path!,\n public requestMethod: string = spec.httpMethod\n ) {}\n public async sendInitialRequest(): Promise<LroResponse<T>> {\n return this.sendOperationFn(this.args, this.spec);\n }\n public async sendPollRequest(path: string): Promise<LroResponse<T>> {\n const { requestBody, ...restSpec } = this.spec;\n return this.sendOperationFn(this.args, {\n ...restSpec,\n path,\n httpMethod: \"GET\"\n });\n }\n}\n","/*\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\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { AzureTrafficCollectorClient } from \"../azureTrafficCollectorClient\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl\";\nimport {\n AzureTrafficCollectorsGetOptionalParams,\n AzureTrafficCollectorsGetResponse,\n AzureTrafficCollectorsCreateOrUpdateOptionalParams,\n AzureTrafficCollectorsCreateOrUpdateResponse,\n AzureTrafficCollectorsDeleteOptionalParams,\n TagsObject,\n AzureTrafficCollectorsUpdateTagsOptionalParams,\n AzureTrafficCollectorsUpdateTagsResponse\n} from \"../models\";\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","/*\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\";\nimport { CollectorPolicies } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { AzureTrafficCollectorClient } from \"../azureTrafficCollectorClient\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl\";\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\";\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","/*\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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n NetworkFunctionImpl,\n AzureTrafficCollectorsBySubscriptionImpl,\n AzureTrafficCollectorsByResourceGroupImpl,\n AzureTrafficCollectorsImpl,\n CollectorPoliciesImpl\n} from \"./operations\";\nimport {\n NetworkFunction,\n AzureTrafficCollectorsBySubscription,\n AzureTrafficCollectorsByResourceGroup,\n AzureTrafficCollectors,\n CollectorPolicies\n} from \"./operationsInterfaces\";\nimport { AzureTrafficCollectorClientOptionalParams } from \"./models\";\n\nexport class AzureTrafficCollectorClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the AzureTrafficCollectorClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId Azure Subscription ID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: AzureTrafficCollectorClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: AzureTrafficCollectorClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-networkfunction/2.0.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2022-11-01\";\n this.networkFunction = new NetworkFunctionImpl(this);\n this.azureTrafficCollectorsBySubscription = new AzureTrafficCollectorsBySubscriptionImpl(\n this\n );\n this.azureTrafficCollectorsByResourceGroup = new AzureTrafficCollectorsByResourceGroupImpl(\n this\n );\n this.azureTrafficCollectors = new AzureTrafficCollectorsImpl(this);\n this.collectorPolicies = new CollectorPoliciesImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n networkFunction: NetworkFunction;\n azureTrafficCollectorsBySubscription: AzureTrafficCollectorsBySubscription;\n azureTrafficCollectorsByResourceGroup: AzureTrafficCollectorsByResourceGroup;\n azureTrafficCollectors: AzureTrafficCollectors;\n collectorPolicies: CollectorPolicies;\n}\n"],"names":["KnownProvisioningState","KnownCreatedByType","KnownIngestionType","KnownSourceType","KnownEmissionType","KnownDestinationType","KnownApiVersionParameter","TagsObjectMapper","__await","__asyncValues","__asyncDelegator","serializer","coreClient","Mappers.OperationListResult","Mappers.CloudError","Parameters.apiVersion","Parameters.$host","Parameters.accept","listOperationSpec","listNextOperationSpec","Mappers.AzureTrafficCollectorListResult","Parameters.subscriptionId","Parameters.nextLink","Parameters.resourceGroupName","__rest","getOperationSpec","__awaiter","createOrUpdateOperationSpec","LroEngine","deleteOperationSpec","updateTagsOperationSpec","Mappers.AzureTrafficCollector","Parameters.azureTrafficCollectorName","Parameters.contentType","Parameters.parameters1","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xB,WAAW,CACf,OAAwB,EACxB,IAAiB,EAAA;;oBAEjB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;AACrC,oBAAA,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;AACpB,wBAAA,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,KAAI;4BACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE;gCACpC,OAAO,cAAc,GAAG,UAAU,CAAC;AACpC,6BAAA;AAAM,iCAAA;AACL,gCAAA,OAAO,IAAI,CAAC;AACb,6BAAA;AACH,yBAAC,CAAC,CAAC;AACH,wBAAA,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACpD,qBAAA;AACD,oBAAA,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;iBACtB,CAAA,CAAA;AAAA,aAAA;SACF,CAAC;AACF,QAAA,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;KAC3C;AAOF;;;;;"}
package/dist/index.min.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib=require("tslib"),coreClient=require("@azure/core-client"),coreRestPipeline=require("@azure/core-rest-pipeline"),coreLro=require("@azure/core-lro");function _interopNamespace(t){var i;return t&&t.__esModule?t:(i=Object.create(null),t&&Object.keys(t).forEach(function(e){var r;"default"!==e&&(r=Object.getOwnPropertyDescriptor(t,e),Object.defineProperty(i,e,r.get?r:{enumerable:!0,get:function(){return t[e]}}))}),i.default=t,Object.freeze(i))}var coreClient__namespace=_interopNamespace(coreClient),coreRestPipeline__namespace=_interopNamespace(coreRestPipeline);const pageMap=new WeakMap;function getContinuationToken(e){return"object"!=typeof e||null===e||null==(e=pageMap.get(e))?void 0:e.continuationToken}function setContinuationToken(e,r){var t;"object"==typeof e&&null!==e&&r&&((t=null!=(t=pageMap.get(e))?t:{}).continuationToken=r,pageMap.set(e,t))}exports.KnownProvisioningState=void 0,function(e){e.Succeeded="Succeeded",e.Updating="Updating",e.Deleting="Deleting",e.Failed="Failed"}(exports.KnownProvisioningState||(exports.KnownProvisioningState={})),exports.KnownCreatedByType=void 0,function(e){e.User="User",e.Application="Application",e.ManagedIdentity="ManagedIdentity",e.Key="Key"}(exports.KnownCreatedByType||(exports.KnownCreatedByType={})),exports.KnownIngestionType=void 0,(exports.KnownIngestionType||(exports.KnownIngestionType={})).Ipfix="IPFIX",exports.KnownSourceType=void 0,(exports.KnownSourceType||(exports.KnownSourceType={})).Resource="Resource",exports.KnownEmissionType=void 0,(exports.KnownEmissionType||(exports.KnownEmissionType={})).Ipfix="IPFIX",exports.KnownDestinationType=void 0,(exports.KnownDestinationType||(exports.KnownDestinationType={})).AzureMonitor="AzureMonitor",exports.KnownApiVersionParameter=void 0,function(e){e.TwoThousandTwentyTwo0501="2022-05-01",e.TwoThousandTwentyTwo0801="2022-08-01",e.TwoThousandTwentyTwo1101="2022-11-01"}(exports.KnownApiVersionParameter||(exports.KnownApiVersionParameter={}));const OperationListResult={type:{name:"Composite",className:"OperationListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"Operation"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},Operation={type:{name:"Composite",className:"Operation",modelProperties:{name:{serializedName:"name",type:{name:"String"}},isDataAction:{defaultValue:!1,serializedName:"isDataAction",type:{name:"Boolean"}},display:{serializedName:"display",type:{name:"Composite",className:"OperationDisplay"}},origin:{serializedName:"origin",type:{name:"String"}}}}},OperationDisplay={type:{name:"Composite",className:"OperationDisplay",modelProperties:{provider:{serializedName:"provider",type:{name:"String"}},resource:{serializedName:"resource",type:{name:"String"}},operation:{serializedName:"operation",type:{name:"String"}},description:{serializedName:"description",type:{name:"String"}}}}},CloudError={type:{name:"Composite",className:"CloudError",modelProperties:{error:{serializedName:"error",type:{name:"Composite",className:"CloudErrorBody"}}}}},CloudErrorBody={type:{name:"Composite",className:"CloudErrorBody",modelProperties:{code:{serializedName:"code",type:{name:"String"}},message:{serializedName:"message",type:{name:"String"}},target:{serializedName:"target",type:{name:"String"}},details:{serializedName:"details",type:{name:"Sequence",element:{type:{name:"Composite",className:"CloudErrorBody"}}}}}}},AzureTrafficCollectorListResult={type:{name:"Composite",className:"AzureTrafficCollectorListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"AzureTrafficCollector"}}}},nextLink:{serializedName:"nextLink",readOnly:!0,type:{name:"String"}}}}},ResourceReference={type:{name:"Composite",className:"ResourceReference",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}}}}},TrackedResource={type:{name:"Composite",className:"TrackedResource",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}},location:{serializedName:"location",required:!0,type:{name:"String"}},tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}},systemData:{serializedName:"systemData",type:{name:"Composite",className:"TrackedResourceSystemData"}}}}},SystemData={type:{name:"Composite",className:"SystemData",modelProperties:{createdBy:{serializedName:"createdBy",type:{name:"String"}},createdByType:{serializedName:"createdByType",type:{name:"String"}},createdAt:{serializedName:"createdAt",type:{name:"DateTime"}},lastModifiedBy:{serializedName:"lastModifiedBy",type:{name:"String"}},lastModifiedByType:{serializedName:"lastModifiedByType",type:{name:"String"}}}}},TagsObject={type:{name:"Composite",className:"TagsObject",modelProperties:{tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},CollectorPolicyListResult={type:{name:"Composite",className:"CollectorPolicyListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"CollectorPolicy"}}}},nextLink:{serializedName:"nextLink",readOnly:!0,type:{name:"String"}}}}},IngestionPolicyPropertiesFormat={type:{name:"Composite",className:"IngestionPolicyPropertiesFormat",modelProperties:{ingestionType:{serializedName:"ingestionType",type:{name:"String"}},ingestionSources:{serializedName:"ingestionSources",type:{name:"Sequence",element:{type:{name:"Composite",className:"IngestionSourcesPropertiesFormat"}}}}}}},IngestionSourcesPropertiesFormat={type:{name:"Composite",className:"IngestionSourcesPropertiesFormat",modelProperties:{sourceType:{serializedName:"sourceType",type:{name:"String"}},resourceId:{serializedName:"resourceId",type:{name:"String"}}}}},EmissionPoliciesPropertiesFormat={type:{name:"Composite",className:"EmissionPoliciesPropertiesFormat",modelProperties:{emissionType:{serializedName:"emissionType",type:{name:"String"}},emissionDestinations:{serializedName:"emissionDestinations",type:{name:"Sequence",element:{type:{name:"Composite",className:"EmissionPolicyDestination"}}}}}}},EmissionPolicyDestination={type:{name:"Composite",className:"EmissionPolicyDestination",modelProperties:{destinationType:{serializedName:"destinationType",type:{name:"String"}}}}},ProxyResource={type:{name:"Composite",className:"ProxyResource",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}}}}},AzureTrafficCollector={type:{name:"Composite",className:"AzureTrafficCollector",modelProperties:Object.assign(Object.assign({},TrackedResource.type.modelProperties),{etag:{serializedName:"etag",readOnly:!0,type:{name:"String"}},collectorPolicies:{serializedName:"properties.collectorPolicies",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ResourceReference"}}}},virtualHub:{serializedName:"properties.virtualHub",type:{name:"Composite",className:"ResourceReference"}},provisioningState:{serializedName:"properties.provisioningState",readOnly:!0,type:{name:"String"}}})}},CollectorPolicy={type:{name:"Composite",className:"CollectorPolicy",modelProperties:Object.assign(Object.assign({},TrackedResource.type.modelProperties),{etag:{serializedName:"etag",readOnly:!0,type:{name:"String"}},ingestionPolicy:{serializedName:"properties.ingestionPolicy",type:{name:"Composite",className:"IngestionPolicyPropertiesFormat"}},emissionPolicies:{serializedName:"properties.emissionPolicies",type:{name:"Sequence",element:{type:{name:"Composite",className:"EmissionPoliciesPropertiesFormat"}}}},provisioningState:{serializedName:"properties.provisioningState",readOnly:!0,type:{name:"String"}}})}},TrackedResourceSystemData={type:{name:"Composite",className:"TrackedResourceSystemData",modelProperties:Object.assign({},SystemData.type.modelProperties)}};var Mappers=Object.freeze({__proto__:null,OperationListResult:OperationListResult,Operation:Operation,OperationDisplay:OperationDisplay,CloudError:CloudError,CloudErrorBody:CloudErrorBody,AzureTrafficCollectorListResult:AzureTrafficCollectorListResult,ResourceReference:ResourceReference,TrackedResource:TrackedResource,SystemData:SystemData,TagsObject:TagsObject,CollectorPolicyListResult:CollectorPolicyListResult,IngestionPolicyPropertiesFormat:IngestionPolicyPropertiesFormat,IngestionSourcesPropertiesFormat:IngestionSourcesPropertiesFormat,EmissionPoliciesPropertiesFormat:EmissionPoliciesPropertiesFormat,EmissionPolicyDestination:EmissionPolicyDestination,ProxyResource:ProxyResource,AzureTrafficCollector:AzureTrafficCollector,CollectorPolicy:CollectorPolicy,TrackedResourceSystemData:TrackedResourceSystemData});const accept={parameterPath:"accept",mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},$host={parameterPath:"$host",mapper:{serializedName:"$host",required:!0,type:{name:"String"}},skipEncoding:!0},apiVersion={parameterPath:"apiVersion",mapper:{defaultValue:"2022-11-01",isConstant:!0,serializedName:"api-version",type:{name:"String"}}},subscriptionId={parameterPath:"subscriptionId",mapper:{serializedName:"subscriptionId",required:!0,type:{name:"String"}}},nextLink={parameterPath:"nextLink",mapper:{serializedName:"nextLink",required:!0,type:{name:"String"}},skipEncoding:!0},resourceGroupName={parameterPath:"resourceGroupName",mapper:{serializedName:"resourceGroupName",required:!0,type:{name:"String"}}},azureTrafficCollectorName={parameterPath:"azureTrafficCollectorName",mapper:{serializedName:"azureTrafficCollectorName",required:!0,type:{name:"String"}}},contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},parameters1={parameterPath:"parameters",mapper:TagsObject},collectorPolicyName={parameterPath:"collectorPolicyName",mapper:{serializedName:"collectorPolicyName",required:!0,type:{name:"String"}}};class NetworkFunctionImpl{constructor(e){this.client=e}listOperations(r){const e=this.listOperationsPagingAll(r);return{next(){return e.next()},[Symbol.asyncIterator](){return this},byPage:e=>{if(null!=e&&e.maxPageSize)throw new Error("maxPageSize is not supported by this operation.");return this.listOperationsPagingPage(r,e)}}}listOperationsPagingPage(r,e){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listOperations(r));yield yield tslib.__await(e.value||[])})}listOperationsPagingAll(a){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,i=tslib.__asyncValues(this.listOperationsPagingPage(a));!(t=yield tslib.__await(i.next())).done;){var o=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(o)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(r)throw r.error}}})}_listOperations(e){return this.client.sendOperationRequest({options:e},listOperationsOperationSpec)}}const serializer$4=coreClient__namespace.createSerializer(Mappers,!1),listOperationsOperationSpec={path:"/providers/Microsoft.NetworkFunction/operations",httpMethod:"GET",responses:{200:{bodyMapper:OperationListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer$4};class AzureTrafficCollectorsBySubscriptionImpl{constructor(e){this.client=e}list(r){const e=this.listPagingAll(r);return{next(){return e.next()},[Symbol.asyncIterator](){return this},byPage:e=>{if(null!=e&&e.maxPageSize)throw new Error("maxPageSize is not supported by this operation.");return this.listPagingPage(r,e)}}}listPagingPage(o,a){return tslib.__asyncGenerator(this,arguments,function*(){let e,r=null==a?void 0:a.continuationToken;var t;for(r||(setContinuationToken(t=(e=yield tslib.__await(this._list(o))).value||[],r=e.nextLink),yield yield tslib.__await(t));r;){e=yield tslib.__await(this._listNext(r,o)),r=e.nextLink;var i=e.value||[];setContinuationToken(i,r),yield yield tslib.__await(i)}})}listPagingAll(a){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,i=tslib.__asyncValues(this.listPagingPage(a));!(t=yield tslib.__await(i.next())).done;){var o=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(o)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(r)throw r.error}}})}_list(e){return this.client.sendOperationRequest({options:e},listOperationSpec$2)}_listNext(e,r){return this.client.sendOperationRequest({nextLink:e,options:r},listNextOperationSpec$2)}}const serializer$3=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec$2={path:"/subscriptions/{subscriptionId}/providers/Microsoft.NetworkFunction/azureTrafficCollectors",httpMethod:"GET",responses:{200:{bodyMapper:AzureTrafficCollectorListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$3},listNextOperationSpec$2={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:AzureTrafficCollectorListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,nextLink],headerParameters:[accept],serializer:serializer$3};class AzureTrafficCollectorsByResourceGroupImpl{constructor(e){this.client=e}list(r,t){const e=this.listPagingAll(r,t);return{next(){return e.next()},[Symbol.asyncIterator](){return this},byPage:e=>{if(null!=e&&e.maxPageSize)throw new Error("maxPageSize is not supported by this operation.");return this.listPagingPage(r,t,e)}}}listPagingPage(o,a,s){return tslib.__asyncGenerator(this,arguments,function*(){let e,r=null==s?void 0:s.continuationToken;var t;for(r||(setContinuationToken(t=(e=yield tslib.__await(this._list(o,a))).value||[],r=e.nextLink),yield yield tslib.__await(t));r;){e=yield tslib.__await(this._listNext(o,r,a)),r=e.nextLink;var i=e.value||[];setContinuationToken(i,r),yield yield tslib.__await(i)}})}listPagingAll(a,s){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,i=tslib.__asyncValues(this.listPagingPage(a,s));!(t=yield tslib.__await(i.next())).done;){var o=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(o)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(r)throw r.error}}})}_list(e,r){return this.client.sendOperationRequest({resourceGroupName:e,options:r},listOperationSpec$1)}_listNext(e,r,t){return this.client.sendOperationRequest({resourceGroupName:e,nextLink:r,options:t},listNextOperationSpec$1)}}const serializer$2=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors",httpMethod:"GET",responses:{200:{bodyMapper:AzureTrafficCollectorListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName],headerParameters:[accept],serializer:serializer$2},listNextOperationSpec$1={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:AzureTrafficCollectorListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,nextLink,resourceGroupName],headerParameters:[accept],serializer:serializer$2};class LroImpl{constructor(e,r,t,i=t.path,o=t.httpMethod){this.sendOperationFn=e,this.args=r,this.spec=t,this.requestPath=i,this.requestMethod=o}sendInitialRequest(){return tslib.__awaiter(this,void 0,void 0,function*(){return this.sendOperationFn(this.args,this.spec)})}sendPollRequest(r){return tslib.__awaiter(this,void 0,void 0,function*(){var e=this.spec,e=tslib.__rest(e,["requestBody"]);return this.sendOperationFn(this.args,Object.assign(Object.assign({},e),{path:r,httpMethod:"GET"}))})}}class AzureTrafficCollectorsImpl{constructor(e){this.client=e}get(e,r,t){return this.client.sendOperationRequest({resourceGroupName:e,azureTrafficCollectorName:r,options:t},getOperationSpec$1)}beginCreateOrUpdate(r,t,i,o){return tslib.__awaiter(this,void 0,void 0,function*(){const a=(e,r)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,r)});var e=new LroImpl((r,o)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const i=null==(e=r.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},r),{options:Object.assign(Object.assign({},r.options),{onResponse:(e,r)=>{t=e,null!==i&&void 0!==i&&i(e,r)}})});return{flatResponse:yield a(e,o),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:r,azureTrafficCollectorName:t,location:i,options:o},createOrUpdateOperationSpec$1),e=new coreLro.LroEngine(e,{resumeFrom:null==o?void 0:o.resumeFrom,intervalInMs:null==o?void 0:o.updateIntervalInMs,lroResourceLocationConfig:"azure-async-operation"});return yield e.poll(),e})}beginCreateOrUpdateAndWait(e,r,t,i){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginCreateOrUpdate(e,r,t,i)).pollUntilDone()})}beginDelete(r,t,i){return tslib.__awaiter(this,void 0,void 0,function*(){const a=(e,r)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,r)});var e=new LroImpl((r,o)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const i=null==(e=r.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},r),{options:Object.assign(Object.assign({},r.options),{onResponse:(e,r)=>{t=e,null!==i&&void 0!==i&&i(e,r)}})});return{flatResponse:yield a(e,o),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:r,azureTrafficCollectorName:t,options:i},deleteOperationSpec$1),e=new coreLro.LroEngine(e,{resumeFrom:null==i?void 0:i.resumeFrom,intervalInMs:null==i?void 0:i.updateIntervalInMs,lroResourceLocationConfig:"location"});return yield e.poll(),e})}beginDeleteAndWait(e,r,t){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginDelete(e,r,t)).pollUntilDone()})}updateTags(e,r,t,i){return this.client.sendOperationRequest({resourceGroupName:e,azureTrafficCollectorName:r,parameters:t,options:i},updateTagsOperationSpec$1)}}const serializer$1=coreClient__namespace.createSerializer(Mappers,!1),getOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}",httpMethod:"GET",responses:{200:{bodyMapper:AzureTrafficCollector},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,azureTrafficCollectorName],headerParameters:[accept],serializer:serializer$1},createOrUpdateOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}",httpMethod:"PUT",responses:{200:{bodyMapper:AzureTrafficCollector},201:{bodyMapper:AzureTrafficCollector},202:{bodyMapper:AzureTrafficCollector},204:{bodyMapper:AzureTrafficCollector},default:{bodyMapper:CloudError}},requestBody:{parameterPath:{location:["location"],tags:["options","tags"],virtualHub:["options","virtualHub"]},mapper:Object.assign(Object.assign({},AzureTrafficCollector),{required:!0})},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,azureTrafficCollectorName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$1},deleteOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}",httpMethod:"DELETE",responses:{200:{},201:{},202:{},204:{},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,azureTrafficCollectorName],headerParameters:[accept],serializer:serializer$1},updateTagsOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}",httpMethod:"PATCH",responses:{200:{bodyMapper:AzureTrafficCollector},default:{bodyMapper:CloudError}},requestBody:parameters1,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,azureTrafficCollectorName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$1};class CollectorPoliciesImpl{constructor(e){this.client=e}list(r,t,i){const e=this.listPagingAll(r,t,i);return{next(){return e.next()},[Symbol.asyncIterator](){return this},byPage:e=>{if(null!=e&&e.maxPageSize)throw new Error("maxPageSize is not supported by this operation.");return this.listPagingPage(r,t,i,e)}}}listPagingPage(o,a,s,n){return tslib.__asyncGenerator(this,arguments,function*(){let e,r=null==n?void 0:n.continuationToken;var t;for(r||(setContinuationToken(t=(e=yield tslib.__await(this._list(o,a,s))).value||[],r=e.nextLink),yield yield tslib.__await(t));r;){e=yield tslib.__await(this._listNext(o,a,r,s)),r=e.nextLink;var i=e.value||[];setContinuationToken(i,r),yield yield tslib.__await(i)}})}listPagingAll(a,s,n){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,i=tslib.__asyncValues(this.listPagingPage(a,s,n));!(t=yield tslib.__await(i.next())).done;){var o=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(o)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(r)throw r.error}}})}_list(e,r,t){return this.client.sendOperationRequest({resourceGroupName:e,azureTrafficCollectorName:r,options:t},listOperationSpec)}get(e,r,t,i){return this.client.sendOperationRequest({resourceGroupName:e,azureTrafficCollectorName:r,collectorPolicyName:t,options:i},getOperationSpec)}beginCreateOrUpdate(r,t,i,o,s){return tslib.__awaiter(this,void 0,void 0,function*(){const a=(e,r)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,r)});var e=new LroImpl((r,o)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const i=null==(e=r.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},r),{options:Object.assign(Object.assign({},r.options),{onResponse:(e,r)=>{t=e,null!==i&&void 0!==i&&i(e,r)}})});return{flatResponse:yield a(e,o),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:r,azureTrafficCollectorName:t,collectorPolicyName:i,location:o,options:s},createOrUpdateOperationSpec),e=new coreLro.LroEngine(e,{resumeFrom:null==s?void 0:s.resumeFrom,intervalInMs:null==s?void 0:s.updateIntervalInMs,lroResourceLocationConfig:"azure-async-operation"});return yield e.poll(),e})}beginCreateOrUpdateAndWait(e,r,t,i,o){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginCreateOrUpdate(e,r,t,i,o)).pollUntilDone()})}beginDelete(r,t,i,o){return tslib.__awaiter(this,void 0,void 0,function*(){const a=(e,r)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,r)});var e=new LroImpl((r,o)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const i=null==(e=r.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},r),{options:Object.assign(Object.assign({},r.options),{onResponse:(e,r)=>{t=e,null!==i&&void 0!==i&&i(e,r)}})});return{flatResponse:yield a(e,o),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:r,azureTrafficCollectorName:t,collectorPolicyName:i,options:o},deleteOperationSpec),e=new coreLro.LroEngine(e,{resumeFrom:null==o?void 0:o.resumeFrom,intervalInMs:null==o?void 0:o.updateIntervalInMs,lroResourceLocationConfig:"location"});return yield e.poll(),e})}beginDeleteAndWait(e,r,t,i){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginDelete(e,r,t,i)).pollUntilDone()})}updateTags(e,r,t,i,o){return this.client.sendOperationRequest({resourceGroupName:e,azureTrafficCollectorName:r,collectorPolicyName:t,parameters:i,options:o},updateTagsOperationSpec)}_listNext(e,r,t,i){return this.client.sendOperationRequest({resourceGroupName:e,azureTrafficCollectorName:r,nextLink:t,options:i},listNextOperationSpec)}}const serializer=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}/collectorPolicies",httpMethod:"GET",responses:{200:{bodyMapper:CollectorPolicyListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,azureTrafficCollectorName],headerParameters:[accept],serializer:serializer},getOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}/collectorPolicies/{collectorPolicyName}",httpMethod:"GET",responses:{200:{bodyMapper:CollectorPolicy},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,azureTrafficCollectorName,collectorPolicyName],headerParameters:[accept],serializer:serializer},createOrUpdateOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}/collectorPolicies/{collectorPolicyName}",httpMethod:"PUT",responses:{200:{bodyMapper:CollectorPolicy},201:{bodyMapper:CollectorPolicy},202:{bodyMapper:CollectorPolicy},204:{bodyMapper:CollectorPolicy},default:{bodyMapper:CloudError}},requestBody:{parameterPath:{location:["location"],tags:["options","tags"],ingestionPolicy:["options","ingestionPolicy"],emissionPolicies:["options","emissionPolicies"]},mapper:Object.assign(Object.assign({},CollectorPolicy),{required:!0})},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,azureTrafficCollectorName,collectorPolicyName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer},deleteOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}/collectorPolicies/{collectorPolicyName}",httpMethod:"DELETE",responses:{200:{},201:{},202:{},204:{},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,azureTrafficCollectorName,collectorPolicyName],headerParameters:[accept],serializer:serializer},updateTagsOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}/collectorPolicies/{collectorPolicyName}",httpMethod:"PATCH",responses:{200:{bodyMapper:CollectorPolicy},default:{bodyMapper:CloudError}},requestBody:parameters1,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,azureTrafficCollectorName,collectorPolicyName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer},listNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:CollectorPolicyListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,nextLink,resourceGroupName,azureTrafficCollectorName],headerParameters:[accept],serializer:serializer};class AzureTrafficCollectorClient extends coreClient__namespace.ServiceClient{constructor(e,r,t){if(void 0===e)throw new Error("'credentials' cannot be null");if(void 0===r)throw new Error("'subscriptionId' cannot be null");var i,o="azsdk-js-arm-networkfunction/2.0.0",o=(t=t||{}).userAgentOptions&&t.userAgentOptions.userAgentPrefix?t.userAgentOptions.userAgentPrefix+" "+o:o,o=Object.assign(Object.assign(Object.assign({},{requestContentType:"application/json; charset=utf-8",credential:e}),t),{userAgentOptions:{userAgentPrefix:o},endpoint:null!=(o=null!=(o=t.endpoint)?o:t.baseUri)?o:"https://management.azure.com"});super(o);let a=!1;null!=t&&t.pipeline&&0<t.pipeline.getOrderedPolicies().length&&(i=t.pipeline.getOrderedPolicies(),a=i.some(e=>e.name===coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName)),t&&t.pipeline&&0!=t.pipeline.getOrderedPolicies().length&&a||(this.pipeline.removePolicy({name:coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName}),this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({credential:e,scopes:null!=(i=o.credentialScopes)?i:o.endpoint+"/.default",challengeCallbacks:{authorizeRequestOnChallenge:coreClient__namespace.authorizeRequestOnClaimChallenge}}))),this.subscriptionId=r,this.$host=t.$host||"https://management.azure.com",this.apiVersion=t.apiVersion||"2022-11-01",this.networkFunction=new NetworkFunctionImpl(this),this.azureTrafficCollectorsBySubscription=new AzureTrafficCollectorsBySubscriptionImpl(this),this.azureTrafficCollectorsByResourceGroup=new AzureTrafficCollectorsByResourceGroupImpl(this),this.azureTrafficCollectors=new AzureTrafficCollectorsImpl(this),this.collectorPolicies=new CollectorPoliciesImpl(this),this.addCustomApiVersionPolicy(t.apiVersion)}addCustomApiVersionPolicy(o){o&&this.pipeline.addPolicy({name:"CustomApiVersionPolicy",sendRequest(t,i){return tslib.__awaiter(this,void 0,void 0,function*(){var e,r=t.url.split("?");return 1<r.length&&(e=r[1].split("&").map(e=>-1<e.indexOf("api-version")?"api-version="+o:e),t.url=r[0]+"?"+e.join("&")),i(t)})}})}}exports.AzureTrafficCollectorClient=AzureTrafficCollectorClient,exports.getContinuationToken=getContinuationToken;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib=require("tslib"),coreClient=require("@azure/core-client"),coreRestPipeline=require("@azure/core-rest-pipeline"),coreLro=require("@azure/core-lro");function _interopNamespace(t){var i;return t&&t.__esModule?t:(i=Object.create(null),t&&Object.keys(t).forEach(function(e){var r;"default"!==e&&(r=Object.getOwnPropertyDescriptor(t,e),Object.defineProperty(i,e,r.get?r:{enumerable:!0,get:function(){return t[e]}}))}),i.default=t,Object.freeze(i))}var coreClient__namespace=_interopNamespace(coreClient),coreRestPipeline__namespace=_interopNamespace(coreRestPipeline);const pageMap=new WeakMap;function getContinuationToken(e){return"object"!=typeof e||null===e||null==(e=pageMap.get(e))?void 0:e.continuationToken}function setContinuationToken(e,r){var t;"object"==typeof e&&null!==e&&r&&((t=null!=(t=pageMap.get(e))?t:{}).continuationToken=r,pageMap.set(e,t))}exports.KnownProvisioningState=void 0,function(e){e.Succeeded="Succeeded",e.Updating="Updating",e.Deleting="Deleting",e.Failed="Failed"}(exports.KnownProvisioningState||(exports.KnownProvisioningState={})),exports.KnownCreatedByType=void 0,function(e){e.User="User",e.Application="Application",e.ManagedIdentity="ManagedIdentity",e.Key="Key"}(exports.KnownCreatedByType||(exports.KnownCreatedByType={})),exports.KnownIngestionType=void 0,(exports.KnownIngestionType||(exports.KnownIngestionType={})).Ipfix="IPFIX",exports.KnownSourceType=void 0,(exports.KnownSourceType||(exports.KnownSourceType={})).Resource="Resource",exports.KnownEmissionType=void 0,(exports.KnownEmissionType||(exports.KnownEmissionType={})).Ipfix="IPFIX",exports.KnownDestinationType=void 0,(exports.KnownDestinationType||(exports.KnownDestinationType={})).AzureMonitor="AzureMonitor",exports.KnownApiVersionParameter=void 0,function(e){e.TwoThousandTwentyTwo0501="2022-05-01",e.TwoThousandTwentyTwo0801="2022-08-01",e.TwoThousandTwentyTwo1101="2022-11-01"}(exports.KnownApiVersionParameter||(exports.KnownApiVersionParameter={}));const OperationListResult={type:{name:"Composite",className:"OperationListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"Operation"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},Operation={type:{name:"Composite",className:"Operation",modelProperties:{name:{serializedName:"name",type:{name:"String"}},isDataAction:{defaultValue:!1,serializedName:"isDataAction",type:{name:"Boolean"}},display:{serializedName:"display",type:{name:"Composite",className:"OperationDisplay"}},origin:{serializedName:"origin",type:{name:"String"}}}}},OperationDisplay={type:{name:"Composite",className:"OperationDisplay",modelProperties:{provider:{serializedName:"provider",type:{name:"String"}},resource:{serializedName:"resource",type:{name:"String"}},operation:{serializedName:"operation",type:{name:"String"}},description:{serializedName:"description",type:{name:"String"}}}}},CloudError={type:{name:"Composite",className:"CloudError",modelProperties:{error:{serializedName:"error",type:{name:"Composite",className:"CloudErrorBody"}}}}},CloudErrorBody={type:{name:"Composite",className:"CloudErrorBody",modelProperties:{code:{serializedName:"code",type:{name:"String"}},message:{serializedName:"message",type:{name:"String"}},target:{serializedName:"target",type:{name:"String"}},details:{serializedName:"details",type:{name:"Sequence",element:{type:{name:"Composite",className:"CloudErrorBody"}}}}}}},AzureTrafficCollectorListResult={type:{name:"Composite",className:"AzureTrafficCollectorListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"AzureTrafficCollector"}}}},nextLink:{serializedName:"nextLink",readOnly:!0,type:{name:"String"}}}}},ResourceReference={type:{name:"Composite",className:"ResourceReference",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}}}}},TrackedResource={type:{name:"Composite",className:"TrackedResource",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}},location:{serializedName:"location",required:!0,type:{name:"String"}},tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}},systemData:{serializedName:"systemData",type:{name:"Composite",className:"TrackedResourceSystemData"}}}}},SystemData={type:{name:"Composite",className:"SystemData",modelProperties:{createdBy:{serializedName:"createdBy",type:{name:"String"}},createdByType:{serializedName:"createdByType",type:{name:"String"}},createdAt:{serializedName:"createdAt",type:{name:"DateTime"}},lastModifiedBy:{serializedName:"lastModifiedBy",type:{name:"String"}},lastModifiedByType:{serializedName:"lastModifiedByType",type:{name:"String"}}}}},TagsObject={type:{name:"Composite",className:"TagsObject",modelProperties:{tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},CollectorPolicyListResult={type:{name:"Composite",className:"CollectorPolicyListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"CollectorPolicy"}}}},nextLink:{serializedName:"nextLink",readOnly:!0,type:{name:"String"}}}}},IngestionPolicyPropertiesFormat={type:{name:"Composite",className:"IngestionPolicyPropertiesFormat",modelProperties:{ingestionType:{serializedName:"ingestionType",type:{name:"String"}},ingestionSources:{serializedName:"ingestionSources",type:{name:"Sequence",element:{type:{name:"Composite",className:"IngestionSourcesPropertiesFormat"}}}}}}},IngestionSourcesPropertiesFormat={type:{name:"Composite",className:"IngestionSourcesPropertiesFormat",modelProperties:{sourceType:{serializedName:"sourceType",type:{name:"String"}},resourceId:{serializedName:"resourceId",type:{name:"String"}}}}},EmissionPoliciesPropertiesFormat={type:{name:"Composite",className:"EmissionPoliciesPropertiesFormat",modelProperties:{emissionType:{serializedName:"emissionType",type:{name:"String"}},emissionDestinations:{serializedName:"emissionDestinations",type:{name:"Sequence",element:{type:{name:"Composite",className:"EmissionPolicyDestination"}}}}}}},EmissionPolicyDestination={type:{name:"Composite",className:"EmissionPolicyDestination",modelProperties:{destinationType:{serializedName:"destinationType",type:{name:"String"}}}}},ProxyResource={type:{name:"Composite",className:"ProxyResource",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}}}}},AzureTrafficCollector={type:{name:"Composite",className:"AzureTrafficCollector",modelProperties:Object.assign(Object.assign({},TrackedResource.type.modelProperties),{etag:{serializedName:"etag",readOnly:!0,type:{name:"String"}},collectorPolicies:{serializedName:"properties.collectorPolicies",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ResourceReference"}}}},virtualHub:{serializedName:"properties.virtualHub",type:{name:"Composite",className:"ResourceReference"}},provisioningState:{serializedName:"properties.provisioningState",readOnly:!0,type:{name:"String"}}})}},CollectorPolicy={type:{name:"Composite",className:"CollectorPolicy",modelProperties:Object.assign(Object.assign({},TrackedResource.type.modelProperties),{etag:{serializedName:"etag",readOnly:!0,type:{name:"String"}},ingestionPolicy:{serializedName:"properties.ingestionPolicy",type:{name:"Composite",className:"IngestionPolicyPropertiesFormat"}},emissionPolicies:{serializedName:"properties.emissionPolicies",type:{name:"Sequence",element:{type:{name:"Composite",className:"EmissionPoliciesPropertiesFormat"}}}},provisioningState:{serializedName:"properties.provisioningState",readOnly:!0,type:{name:"String"}}})}},TrackedResourceSystemData={type:{name:"Composite",className:"TrackedResourceSystemData",modelProperties:Object.assign({},SystemData.type.modelProperties)}};var Mappers=Object.freeze({__proto__:null,OperationListResult:OperationListResult,Operation:Operation,OperationDisplay:OperationDisplay,CloudError:CloudError,CloudErrorBody:CloudErrorBody,AzureTrafficCollectorListResult:AzureTrafficCollectorListResult,ResourceReference:ResourceReference,TrackedResource:TrackedResource,SystemData:SystemData,TagsObject:TagsObject,CollectorPolicyListResult:CollectorPolicyListResult,IngestionPolicyPropertiesFormat:IngestionPolicyPropertiesFormat,IngestionSourcesPropertiesFormat:IngestionSourcesPropertiesFormat,EmissionPoliciesPropertiesFormat:EmissionPoliciesPropertiesFormat,EmissionPolicyDestination:EmissionPolicyDestination,ProxyResource:ProxyResource,AzureTrafficCollector:AzureTrafficCollector,CollectorPolicy:CollectorPolicy,TrackedResourceSystemData:TrackedResourceSystemData});const accept={parameterPath:"accept",mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},$host={parameterPath:"$host",mapper:{serializedName:"$host",required:!0,type:{name:"String"}},skipEncoding:!0},apiVersion={parameterPath:"apiVersion",mapper:{defaultValue:"2022-11-01",isConstant:!0,serializedName:"api-version",type:{name:"String"}}},subscriptionId={parameterPath:"subscriptionId",mapper:{serializedName:"subscriptionId",required:!0,type:{name:"String"}}},nextLink={parameterPath:"nextLink",mapper:{serializedName:"nextLink",required:!0,type:{name:"String"}},skipEncoding:!0},resourceGroupName={parameterPath:"resourceGroupName",mapper:{serializedName:"resourceGroupName",required:!0,type:{name:"String"}}},azureTrafficCollectorName={parameterPath:"azureTrafficCollectorName",mapper:{serializedName:"azureTrafficCollectorName",required:!0,type:{name:"String"}}},contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},parameters1={parameterPath:"parameters",mapper:TagsObject},collectorPolicyName={parameterPath:"collectorPolicyName",mapper:{serializedName:"collectorPolicyName",required:!0,type:{name:"String"}}};class NetworkFunctionImpl{constructor(e){this.client=e}listOperations(r){const e=this.listOperationsPagingAll(r);return{next(){return e.next()},[Symbol.asyncIterator](){return this},byPage:e=>{if(null!=e&&e.maxPageSize)throw new Error("maxPageSize is not supported by this operation.");return this.listOperationsPagingPage(r,e)}}}listOperationsPagingPage(r,e){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listOperations(r));yield yield tslib.__await(e.value||[])})}listOperationsPagingAll(a){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,i=tslib.__asyncValues(this.listOperationsPagingPage(a));!(t=yield tslib.__await(i.next())).done;){var o=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(o)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(r)throw r.error}}})}_listOperations(e){return this.client.sendOperationRequest({options:e},listOperationsOperationSpec)}}const serializer$4=coreClient__namespace.createSerializer(Mappers,!1),listOperationsOperationSpec={path:"/providers/Microsoft.NetworkFunction/operations",httpMethod:"GET",responses:{200:{bodyMapper:OperationListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer$4};class AzureTrafficCollectorsBySubscriptionImpl{constructor(e){this.client=e}list(r){const e=this.listPagingAll(r);return{next(){return e.next()},[Symbol.asyncIterator](){return this},byPage:e=>{if(null!=e&&e.maxPageSize)throw new Error("maxPageSize is not supported by this operation.");return this.listPagingPage(r,e)}}}listPagingPage(o,a){return tslib.__asyncGenerator(this,arguments,function*(){let e,r=null==a?void 0:a.continuationToken;var t;for(r||(setContinuationToken(t=(e=yield tslib.__await(this._list(o))).value||[],r=e.nextLink),yield yield tslib.__await(t));r;){e=yield tslib.__await(this._listNext(r,o)),r=e.nextLink;var i=e.value||[];setContinuationToken(i,r),yield yield tslib.__await(i)}})}listPagingAll(a){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,i=tslib.__asyncValues(this.listPagingPage(a));!(t=yield tslib.__await(i.next())).done;){var o=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(o)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(r)throw r.error}}})}_list(e){return this.client.sendOperationRequest({options:e},listOperationSpec$2)}_listNext(e,r){return this.client.sendOperationRequest({nextLink:e,options:r},listNextOperationSpec$2)}}const serializer$3=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec$2={path:"/subscriptions/{subscriptionId}/providers/Microsoft.NetworkFunction/azureTrafficCollectors",httpMethod:"GET",responses:{200:{bodyMapper:AzureTrafficCollectorListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$3},listNextOperationSpec$2={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:AzureTrafficCollectorListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,nextLink],headerParameters:[accept],serializer:serializer$3};class AzureTrafficCollectorsByResourceGroupImpl{constructor(e){this.client=e}list(r,t){const e=this.listPagingAll(r,t);return{next(){return e.next()},[Symbol.asyncIterator](){return this},byPage:e=>{if(null!=e&&e.maxPageSize)throw new Error("maxPageSize is not supported by this operation.");return this.listPagingPage(r,t,e)}}}listPagingPage(o,a,s){return tslib.__asyncGenerator(this,arguments,function*(){let e,r=null==s?void 0:s.continuationToken;var t;for(r||(setContinuationToken(t=(e=yield tslib.__await(this._list(o,a))).value||[],r=e.nextLink),yield yield tslib.__await(t));r;){e=yield tslib.__await(this._listNext(o,r,a)),r=e.nextLink;var i=e.value||[];setContinuationToken(i,r),yield yield tslib.__await(i)}})}listPagingAll(a,s){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,i=tslib.__asyncValues(this.listPagingPage(a,s));!(t=yield tslib.__await(i.next())).done;){var o=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(o)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(r)throw r.error}}})}_list(e,r){return this.client.sendOperationRequest({resourceGroupName:e,options:r},listOperationSpec$1)}_listNext(e,r,t){return this.client.sendOperationRequest({resourceGroupName:e,nextLink:r,options:t},listNextOperationSpec$1)}}const serializer$2=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors",httpMethod:"GET",responses:{200:{bodyMapper:AzureTrafficCollectorListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName],headerParameters:[accept],serializer:serializer$2},listNextOperationSpec$1={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:AzureTrafficCollectorListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,nextLink,resourceGroupName],headerParameters:[accept],serializer:serializer$2};class LroImpl{constructor(e,r,t,i=t.path,o=t.httpMethod){this.sendOperationFn=e,this.args=r,this.spec=t,this.requestPath=i,this.requestMethod=o}sendInitialRequest(){return tslib.__awaiter(this,void 0,void 0,function*(){return this.sendOperationFn(this.args,this.spec)})}sendPollRequest(r){return tslib.__awaiter(this,void 0,void 0,function*(){var e=this.spec,e=tslib.__rest(e,["requestBody"]);return this.sendOperationFn(this.args,Object.assign(Object.assign({},e),{path:r,httpMethod:"GET"}))})}}class AzureTrafficCollectorsImpl{constructor(e){this.client=e}get(e,r,t){return this.client.sendOperationRequest({resourceGroupName:e,azureTrafficCollectorName:r,options:t},getOperationSpec$1)}beginCreateOrUpdate(r,t,i,o){return tslib.__awaiter(this,void 0,void 0,function*(){const a=(e,r)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,r)});var e=new LroImpl((r,o)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const i=null==(e=r.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},r),{options:Object.assign(Object.assign({},r.options),{onResponse:(e,r)=>{t=e,null!==i&&void 0!==i&&i(e,r)}})});return{flatResponse:yield a(e,o),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:r,azureTrafficCollectorName:t,location:i,options:o},createOrUpdateOperationSpec$1),e=new coreLro.LroEngine(e,{resumeFrom:null==o?void 0:o.resumeFrom,intervalInMs:null==o?void 0:o.updateIntervalInMs,lroResourceLocationConfig:"azure-async-operation"});return yield e.poll(),e})}beginCreateOrUpdateAndWait(e,r,t,i){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginCreateOrUpdate(e,r,t,i)).pollUntilDone()})}beginDelete(r,t,i){return tslib.__awaiter(this,void 0,void 0,function*(){const a=(e,r)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,r)});var e=new LroImpl((r,o)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const i=null==(e=r.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},r),{options:Object.assign(Object.assign({},r.options),{onResponse:(e,r)=>{t=e,null!==i&&void 0!==i&&i(e,r)}})});return{flatResponse:yield a(e,o),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:r,azureTrafficCollectorName:t,options:i},deleteOperationSpec$1),e=new coreLro.LroEngine(e,{resumeFrom:null==i?void 0:i.resumeFrom,intervalInMs:null==i?void 0:i.updateIntervalInMs,lroResourceLocationConfig:"location"});return yield e.poll(),e})}beginDeleteAndWait(e,r,t){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginDelete(e,r,t)).pollUntilDone()})}updateTags(e,r,t,i){return this.client.sendOperationRequest({resourceGroupName:e,azureTrafficCollectorName:r,parameters:t,options:i},updateTagsOperationSpec$1)}}const serializer$1=coreClient__namespace.createSerializer(Mappers,!1),getOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}",httpMethod:"GET",responses:{200:{bodyMapper:AzureTrafficCollector},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,azureTrafficCollectorName],headerParameters:[accept],serializer:serializer$1},createOrUpdateOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}",httpMethod:"PUT",responses:{200:{bodyMapper:AzureTrafficCollector},201:{bodyMapper:AzureTrafficCollector},202:{bodyMapper:AzureTrafficCollector},204:{bodyMapper:AzureTrafficCollector},default:{bodyMapper:CloudError}},requestBody:{parameterPath:{location:["location"],tags:["options","tags"],virtualHub:["options","virtualHub"]},mapper:Object.assign(Object.assign({},AzureTrafficCollector),{required:!0})},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,azureTrafficCollectorName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$1},deleteOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}",httpMethod:"DELETE",responses:{200:{},201:{},202:{},204:{},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,azureTrafficCollectorName],headerParameters:[accept],serializer:serializer$1},updateTagsOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}",httpMethod:"PATCH",responses:{200:{bodyMapper:AzureTrafficCollector},default:{bodyMapper:CloudError}},requestBody:parameters1,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,azureTrafficCollectorName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$1};class CollectorPoliciesImpl{constructor(e){this.client=e}list(r,t,i){const e=this.listPagingAll(r,t,i);return{next(){return e.next()},[Symbol.asyncIterator](){return this},byPage:e=>{if(null!=e&&e.maxPageSize)throw new Error("maxPageSize is not supported by this operation.");return this.listPagingPage(r,t,i,e)}}}listPagingPage(o,a,s,n){return tslib.__asyncGenerator(this,arguments,function*(){let e,r=null==n?void 0:n.continuationToken;var t;for(r||(setContinuationToken(t=(e=yield tslib.__await(this._list(o,a,s))).value||[],r=e.nextLink),yield yield tslib.__await(t));r;){e=yield tslib.__await(this._listNext(o,a,r,s)),r=e.nextLink;var i=e.value||[];setContinuationToken(i,r),yield yield tslib.__await(i)}})}listPagingAll(a,s,n){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,i=tslib.__asyncValues(this.listPagingPage(a,s,n));!(t=yield tslib.__await(i.next())).done;){var o=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(o)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(r)throw r.error}}})}_list(e,r,t){return this.client.sendOperationRequest({resourceGroupName:e,azureTrafficCollectorName:r,options:t},listOperationSpec)}get(e,r,t,i){return this.client.sendOperationRequest({resourceGroupName:e,azureTrafficCollectorName:r,collectorPolicyName:t,options:i},getOperationSpec)}beginCreateOrUpdate(r,t,i,o,s){return tslib.__awaiter(this,void 0,void 0,function*(){const a=(e,r)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,r)});var e=new LroImpl((r,o)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const i=null==(e=r.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},r),{options:Object.assign(Object.assign({},r.options),{onResponse:(e,r)=>{t=e,null!==i&&void 0!==i&&i(e,r)}})});return{flatResponse:yield a(e,o),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:r,azureTrafficCollectorName:t,collectorPolicyName:i,location:o,options:s},createOrUpdateOperationSpec),e=new coreLro.LroEngine(e,{resumeFrom:null==s?void 0:s.resumeFrom,intervalInMs:null==s?void 0:s.updateIntervalInMs,lroResourceLocationConfig:"azure-async-operation"});return yield e.poll(),e})}beginCreateOrUpdateAndWait(e,r,t,i,o){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginCreateOrUpdate(e,r,t,i,o)).pollUntilDone()})}beginDelete(r,t,i,o){return tslib.__awaiter(this,void 0,void 0,function*(){const a=(e,r)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,r)});var e=new LroImpl((r,o)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const i=null==(e=r.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},r),{options:Object.assign(Object.assign({},r.options),{onResponse:(e,r)=>{t=e,null!==i&&void 0!==i&&i(e,r)}})});return{flatResponse:yield a(e,o),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:r,azureTrafficCollectorName:t,collectorPolicyName:i,options:o},deleteOperationSpec),e=new coreLro.LroEngine(e,{resumeFrom:null==o?void 0:o.resumeFrom,intervalInMs:null==o?void 0:o.updateIntervalInMs,lroResourceLocationConfig:"location"});return yield e.poll(),e})}beginDeleteAndWait(e,r,t,i){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginDelete(e,r,t,i)).pollUntilDone()})}updateTags(e,r,t,i,o){return this.client.sendOperationRequest({resourceGroupName:e,azureTrafficCollectorName:r,collectorPolicyName:t,parameters:i,options:o},updateTagsOperationSpec)}_listNext(e,r,t,i){return this.client.sendOperationRequest({resourceGroupName:e,azureTrafficCollectorName:r,nextLink:t,options:i},listNextOperationSpec)}}const serializer=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}/collectorPolicies",httpMethod:"GET",responses:{200:{bodyMapper:CollectorPolicyListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,azureTrafficCollectorName],headerParameters:[accept],serializer:serializer},getOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}/collectorPolicies/{collectorPolicyName}",httpMethod:"GET",responses:{200:{bodyMapper:CollectorPolicy},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,azureTrafficCollectorName,collectorPolicyName],headerParameters:[accept],serializer:serializer},createOrUpdateOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}/collectorPolicies/{collectorPolicyName}",httpMethod:"PUT",responses:{200:{bodyMapper:CollectorPolicy},201:{bodyMapper:CollectorPolicy},202:{bodyMapper:CollectorPolicy},204:{bodyMapper:CollectorPolicy},default:{bodyMapper:CloudError}},requestBody:{parameterPath:{location:["location"],tags:["options","tags"],ingestionPolicy:["options","ingestionPolicy"],emissionPolicies:["options","emissionPolicies"]},mapper:Object.assign(Object.assign({},CollectorPolicy),{required:!0})},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,azureTrafficCollectorName,collectorPolicyName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer},deleteOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}/collectorPolicies/{collectorPolicyName}",httpMethod:"DELETE",responses:{200:{},201:{},202:{},204:{},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,azureTrafficCollectorName,collectorPolicyName],headerParameters:[accept],serializer:serializer},updateTagsOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}/collectorPolicies/{collectorPolicyName}",httpMethod:"PATCH",responses:{200:{bodyMapper:CollectorPolicy},default:{bodyMapper:CloudError}},requestBody:parameters1,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,azureTrafficCollectorName,collectorPolicyName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer},listNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:CollectorPolicyListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,nextLink,resourceGroupName,azureTrafficCollectorName],headerParameters:[accept],serializer:serializer};class AzureTrafficCollectorClient extends coreClient__namespace.ServiceClient{constructor(e,r,t){if(void 0===e)throw new Error("'credentials' cannot be null");if(void 0===r)throw new Error("'subscriptionId' cannot be null");var i,o="azsdk-js-arm-networkfunction/2.0.1",o=(t=t||{}).userAgentOptions&&t.userAgentOptions.userAgentPrefix?t.userAgentOptions.userAgentPrefix+" "+o:o,o=Object.assign(Object.assign(Object.assign({},{requestContentType:"application/json; charset=utf-8",credential:e}),t),{userAgentOptions:{userAgentPrefix:o},endpoint:null!=(o=null!=(o=t.endpoint)?o:t.baseUri)?o:"https://management.azure.com"});super(o);let a=!1;null!=t&&t.pipeline&&0<t.pipeline.getOrderedPolicies().length&&(i=t.pipeline.getOrderedPolicies(),a=i.some(e=>e.name===coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName)),t&&t.pipeline&&0!=t.pipeline.getOrderedPolicies().length&&a||(this.pipeline.removePolicy({name:coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName}),this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({credential:e,scopes:null!=(i=o.credentialScopes)?i:o.endpoint+"/.default",challengeCallbacks:{authorizeRequestOnChallenge:coreClient__namespace.authorizeRequestOnClaimChallenge}}))),this.subscriptionId=r,this.$host=t.$host||"https://management.azure.com",this.apiVersion=t.apiVersion||"2022-11-01",this.networkFunction=new NetworkFunctionImpl(this),this.azureTrafficCollectorsBySubscription=new AzureTrafficCollectorsBySubscriptionImpl(this),this.azureTrafficCollectorsByResourceGroup=new AzureTrafficCollectorsByResourceGroupImpl(this),this.azureTrafficCollectors=new AzureTrafficCollectorsImpl(this),this.collectorPolicies=new CollectorPoliciesImpl(this),this.addCustomApiVersionPolicy(t.apiVersion)}addCustomApiVersionPolicy(o){o&&this.pipeline.addPolicy({name:"CustomApiVersionPolicy",sendRequest(t,i){return tslib.__awaiter(this,void 0,void 0,function*(){var e,r=t.url.split("?");return 1<r.length&&(e=r[1].split("&").map(e=>-1<e.indexOf("api-version")?"api-version="+o:e),t.url=r[0]+"?"+e.join("&")),i(t)})}})}}exports.AzureTrafficCollectorClient=AzureTrafficCollectorClient,exports.getContinuationToken=getContinuationToken;
@@ -32,7 +32,7 @@ export class AzureTrafficCollectorClient extends coreClient.ServiceClient {
32
32
  requestContentType: "application/json; charset=utf-8",
33
33
  credential: credentials
34
34
  };
35
- const packageDetails = `azsdk-js-arm-networkfunction/2.0.0`;
35
+ const packageDetails = `azsdk-js-arm-networkfunction/2.0.1`;
36
36
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
37
37
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
38
38
  : `${packageDetails}`;
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.0",
6
+ "version": "2.0.1-alpha.20230123.1",
7
7
  "engines": {
8
8
  "node": ">=14.0.0"
9
9
  },
@@ -41,13 +41,13 @@
41
41
  "rimraf": "^3.0.0",
42
42
  "@azure/identity": "^2.0.1",
43
43
  "@azure-tools/test-recorder": "^2.0.0",
44
- "@azure-tools/test-credential": "^1.0.0",
44
+ "@azure-tools/test-credential": ">=1.0.0-alpha <1.0.0-alphb",
45
45
  "mocha": "^7.1.1",
46
46
  "@types/chai": "^4.2.8",
47
47
  "chai": "^4.2.0",
48
48
  "cross-env": "^7.0.2",
49
49
  "@types/node": "^14.0.0",
50
- "@azure/dev-tool": "^1.0.0"
50
+ "@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb"
51
51
  },
52
52
  "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/networkfunction/arm-networkfunction",
53
53
  "repository": {
@@ -119,4 +119,4 @@
119
119
  "disableDocsMs": true,
120
120
  "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-networkfunction?view=azure-node-preview"
121
121
  }
122
- }
122
+ }
@@ -62,7 +62,7 @@ export class AzureTrafficCollectorClient extends coreClient.ServiceClient {
62
62
  credential: credentials
63
63
  };
64
64
 
65
- const packageDetails = `azsdk-js-arm-networkfunction/2.0.0`;
65
+ const packageDetails = `azsdk-js-arm-networkfunction/2.0.1`;
66
66
  const userAgentPrefix =
67
67
  options.userAgentOptions && options.userAgentOptions.userAgentPrefix
68
68
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.33.6"
8
+ "packageVersion": "7.33.8"
9
9
  }
10
10
  ]
11
11
  }