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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/dist/commonjs/azureTrafficCollectorClient.js +135 -115
  2. package/dist/commonjs/azureTrafficCollectorClient.js.map +7 -1
  3. package/dist/commonjs/index.js +35 -19
  4. package/dist/commonjs/index.js.map +7 -1
  5. package/dist/commonjs/lroImpl.js +44 -35
  6. package/dist/commonjs/lroImpl.js.map +7 -1
  7. package/dist/commonjs/models/index.js +74 -69
  8. package/dist/commonjs/models/index.js.map +7 -1
  9. package/dist/commonjs/models/mappers.js +524 -473
  10. package/dist/commonjs/models/mappers.js.map +7 -1
  11. package/dist/commonjs/models/parameters.js +179 -132
  12. package/dist/commonjs/models/parameters.js.map +7 -1
  13. package/dist/commonjs/operations/azureTrafficCollectors.js +297 -249
  14. package/dist/commonjs/operations/azureTrafficCollectors.js.map +7 -1
  15. package/dist/commonjs/operations/azureTrafficCollectorsByResourceGroup.js +156 -122
  16. package/dist/commonjs/operations/azureTrafficCollectorsByResourceGroup.js.map +7 -1
  17. package/dist/commonjs/operations/azureTrafficCollectorsBySubscription.js +141 -114
  18. package/dist/commonjs/operations/azureTrafficCollectorsBySubscription.js.map +7 -1
  19. package/dist/commonjs/operations/collectorPolicies.js +458 -381
  20. package/dist/commonjs/operations/collectorPolicies.js.map +7 -1
  21. package/dist/commonjs/operations/index.js +29 -16
  22. package/dist/commonjs/operations/index.js.map +7 -1
  23. package/dist/commonjs/operations/networkFunction.js +104 -77
  24. package/dist/commonjs/operations/networkFunction.js.map +7 -1
  25. package/dist/commonjs/operationsInterfaces/azureTrafficCollectors.js +15 -10
  26. package/dist/commonjs/operationsInterfaces/azureTrafficCollectors.js.map +7 -1
  27. package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js +15 -10
  28. package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js.map +7 -1
  29. package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsBySubscription.js +15 -10
  30. package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsBySubscription.js.map +7 -1
  31. package/dist/commonjs/operationsInterfaces/collectorPolicies.js +15 -10
  32. package/dist/commonjs/operationsInterfaces/collectorPolicies.js.map +7 -1
  33. package/dist/commonjs/operationsInterfaces/index.js +29 -16
  34. package/dist/commonjs/operationsInterfaces/index.js.map +7 -1
  35. package/dist/commonjs/operationsInterfaces/networkFunction.js +15 -10
  36. package/dist/commonjs/operationsInterfaces/networkFunction.js.map +7 -1
  37. package/dist/commonjs/pagingHelper.js +39 -30
  38. package/dist/commonjs/pagingHelper.js.map +7 -1
  39. package/dist/esm/azureTrafficCollectorClient.js +107 -109
  40. package/dist/esm/azureTrafficCollectorClient.js.map +7 -1
  41. package/dist/esm/index.js +6 -11
  42. package/dist/esm/index.js.map +7 -1
  43. package/dist/esm/lroImpl.js +22 -32
  44. package/dist/esm/lroImpl.js.map +7 -1
  45. package/dist/esm/models/index.js +45 -66
  46. package/dist/esm/models/index.js.map +7 -1
  47. package/dist/esm/models/mappers.js +483 -470
  48. package/dist/esm/models/mappers.js.map +7 -1
  49. package/dist/esm/models/parameters.js +143 -128
  50. package/dist/esm/models/parameters.js.map +7 -1
  51. package/dist/esm/operations/azureTrafficCollectors.js +260 -240
  52. package/dist/esm/operations/azureTrafficCollectors.js.map +7 -1
  53. package/dist/esm/operations/azureTrafficCollectorsByResourceGroup.js +120 -114
  54. package/dist/esm/operations/azureTrafficCollectorsByResourceGroup.js.map +7 -1
  55. package/dist/esm/operations/azureTrafficCollectorsBySubscription.js +105 -106
  56. package/dist/esm/operations/azureTrafficCollectorsBySubscription.js.map +7 -1
  57. package/dist/esm/operations/collectorPolicies.js +420 -371
  58. package/dist/esm/operations/collectorPolicies.js.map +7 -1
  59. package/dist/esm/operations/index.js +0 -8
  60. package/dist/esm/operations/index.js.map +7 -1
  61. package/dist/esm/operations/networkFunction.js +69 -70
  62. package/dist/esm/operations/networkFunction.js.map +7 -1
  63. package/dist/esm/operationsInterfaces/azureTrafficCollectors.js +0 -9
  64. package/dist/esm/operationsInterfaces/azureTrafficCollectors.js.map +7 -1
  65. package/dist/esm/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js +0 -9
  66. package/dist/esm/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js.map +7 -1
  67. package/dist/esm/operationsInterfaces/azureTrafficCollectorsBySubscription.js +0 -9
  68. package/dist/esm/operationsInterfaces/azureTrafficCollectorsBySubscription.js.map +7 -1
  69. package/dist/esm/operationsInterfaces/collectorPolicies.js +0 -9
  70. package/dist/esm/operationsInterfaces/collectorPolicies.js.map +7 -1
  71. package/dist/esm/operationsInterfaces/index.js +0 -8
  72. package/dist/esm/operationsInterfaces/index.js.map +7 -1
  73. package/dist/esm/operationsInterfaces/networkFunction.js +0 -9
  74. package/dist/esm/operationsInterfaces/networkFunction.js.map +7 -1
  75. package/dist/esm/pagingHelper.js +17 -28
  76. package/dist/esm/pagingHelper.js.map +7 -1
  77. package/package.json +4 -21
@@ -1 +1,7 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAgOH,0EAA0E;AAC1E,IAAY,sBASX;AATD,WAAY,sBAAsB;IAChC,gBAAgB;IAChB,iDAAuB,CAAA;IACvB,eAAe;IACf,+CAAqB,CAAA;IACrB,eAAe;IACf,+CAAqB,CAAA;IACrB,aAAa;IACb,2CAAiB,CAAA;AACnB,CAAC,EATW,sBAAsB,sCAAtB,sBAAsB,QASjC;AAcD,sEAAsE;AACtE,IAAY,kBASX;AATD,WAAY,kBAAkB;IAC5B,WAAW;IACX,mCAAa,CAAA;IACb,kBAAkB;IAClB,iDAA2B,CAAA;IAC3B,sBAAsB;IACtB,yDAAmC,CAAA;IACnC,UAAU;IACV,iCAAW,CAAA;AACb,CAAC,EATW,kBAAkB,kCAAlB,kBAAkB,QAS7B;AAcD,sEAAsE;AACtE,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,YAAY;IACZ,qCAAe,CAAA;AACjB,CAAC,EAHW,kBAAkB,kCAAlB,kBAAkB,QAG7B;AAWD,mEAAmE;AACnE,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,eAAe;IACf,wCAAqB,CAAA;AACvB,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B;AAWD,qEAAqE;AACrE,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC3B,YAAY;IACZ,oCAAe,CAAA;AACjB,CAAC,EAHW,iBAAiB,iCAAjB,iBAAiB,QAG5B;AAWD,wEAAwE;AACxE,IAAY,oBAGX;AAHD,WAAY,oBAAoB;IAC9B,mBAAmB;IACnB,qDAA6B,CAAA;AAC/B,CAAC,EAHW,oBAAoB,oCAApB,oBAAoB,QAG/B;AAWD,4EAA4E;AAC5E,IAAY,wBAOX;AAPD,WAAY,wBAAwB;IAClC,+BAA+B;IAC/B,mEAAuC,CAAA;IACvC,+BAA+B;IAC/B,mEAAuC,CAAA;IACvC,+BAA+B;IAC/B,mEAAuC,CAAA;AACzC,CAAC,EAPW,wBAAwB,wCAAxB,wBAAwB,QAOnC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * 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"]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["/mnt/vss/_work/1/s/sdk/networkfunction/arm-networkfunction/src/models/index.ts"],
4
+ "sourcesContent": ["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\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"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAuOO,IAAK,yBAAL,kBAAKA,4BAAL;AAEL,EAAAA,wBAAA,eAAY;AAEZ,EAAAA,wBAAA,cAAW;AAEX,EAAAA,wBAAA,cAAW;AAEX,EAAAA,wBAAA,YAAS;AARC,SAAAA;AAAA,GAAA;AAwBL,IAAK,qBAAL,kBAAKC,wBAAL;AAEL,EAAAA,oBAAA,UAAO;AAEP,EAAAA,oBAAA,iBAAc;AAEd,EAAAA,oBAAA,qBAAkB;AAElB,EAAAA,oBAAA,SAAM;AARI,SAAAA;AAAA,GAAA;AAwBL,IAAK,qBAAL,kBAAKC,wBAAL;AAEL,EAAAA,oBAAA,WAAQ;AAFE,SAAAA;AAAA,GAAA;AAeL,IAAK,kBAAL,kBAAKC,qBAAL;AAEL,EAAAA,iBAAA,cAAW;AAFD,SAAAA;AAAA,GAAA;AAeL,IAAK,oBAAL,kBAAKC,uBAAL;AAEL,EAAAA,mBAAA,WAAQ;AAFE,SAAAA;AAAA,GAAA;AAeL,IAAK,uBAAL,kBAAKC,0BAAL;AAEL,EAAAA,sBAAA,kBAAe;AAFL,SAAAA;AAAA,GAAA;AAeL,IAAK,2BAAL,kBAAKC,8BAAL;AAEL,EAAAA,0BAAA,8BAA2B;AAE3B,EAAAA,0BAAA,8BAA2B;AAE3B,EAAAA,0BAAA,8BAA2B;AANjB,SAAAA;AAAA,GAAA;",
6
+ "names": ["KnownProvisioningState", "KnownCreatedByType", "KnownIngestionType", "KnownSourceType", "KnownEmissionType", "KnownDestinationType", "KnownApiVersionParameter"]
7
+ }