@azure/arm-cdn 9.1.1-alpha.20250718.1 → 9.1.1-alpha.20250730.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 (202) hide show
  1. package/dist/browser/cdnManagementClient.js +34 -5
  2. package/dist/browser/cdnManagementClient.js.map +1 -1
  3. package/dist/browser/lroImpl.js +7 -3
  4. package/dist/browser/lroImpl.js.map +1 -1
  5. package/dist/browser/models/mappers.js +663 -294
  6. package/dist/browser/models/mappers.js.map +1 -1
  7. package/dist/browser/operations/afdCustomDomains.js +67 -64
  8. package/dist/browser/operations/afdCustomDomains.js.map +1 -1
  9. package/dist/browser/operations/afdEndpoints.js +89 -103
  10. package/dist/browser/operations/afdEndpoints.js.map +1 -1
  11. package/dist/browser/operations/afdOriginGroups.js +78 -97
  12. package/dist/browser/operations/afdOriginGroups.js.map +1 -1
  13. package/dist/browser/operations/afdOrigins.js +56 -58
  14. package/dist/browser/operations/afdOrigins.js.map +1 -1
  15. package/dist/browser/operations/afdProfiles.js +34 -46
  16. package/dist/browser/operations/afdProfiles.js.map +1 -1
  17. package/dist/browser/operations/customDomains.js +67 -64
  18. package/dist/browser/operations/customDomains.js.map +1 -1
  19. package/dist/browser/operations/edgeNodes.js +23 -40
  20. package/dist/browser/operations/edgeNodes.js.map +1 -1
  21. package/dist/browser/operations/endpoints.js +122 -121
  22. package/dist/browser/operations/endpoints.js.map +1 -1
  23. package/dist/browser/operations/logAnalytics.js +1 -0
  24. package/dist/browser/operations/logAnalytics.js.map +1 -1
  25. package/dist/browser/operations/managedRuleSets.js +23 -40
  26. package/dist/browser/operations/managedRuleSets.js.map +1 -1
  27. package/dist/browser/operations/operations.js +23 -40
  28. package/dist/browser/operations/operations.js.map +1 -1
  29. package/dist/browser/operations/originGroups.js +56 -58
  30. package/dist/browser/operations/originGroups.js.map +1 -1
  31. package/dist/browser/operations/origins.js +56 -58
  32. package/dist/browser/operations/origins.js.map +1 -1
  33. package/dist/browser/operations/policies.js +45 -52
  34. package/dist/browser/operations/policies.js.map +1 -1
  35. package/dist/browser/operations/profiles.js +133 -154
  36. package/dist/browser/operations/profiles.js.map +1 -1
  37. package/dist/browser/operations/resourceUsageOperations.js +23 -40
  38. package/dist/browser/operations/resourceUsageOperations.js.map +1 -1
  39. package/dist/browser/operations/routes.js +56 -58
  40. package/dist/browser/operations/routes.js.map +1 -1
  41. package/dist/browser/operations/ruleSets.js +56 -85
  42. package/dist/browser/operations/ruleSets.js.map +1 -1
  43. package/dist/browser/operations/rules.js +56 -58
  44. package/dist/browser/operations/rules.js.map +1 -1
  45. package/dist/browser/operations/secrets.js +45 -52
  46. package/dist/browser/operations/secrets.js.map +1 -1
  47. package/dist/browser/operations/securityPolicies.js +56 -58
  48. package/dist/browser/operations/securityPolicies.js.map +1 -1
  49. package/dist/browser/pagingHelper.js +2 -4
  50. package/dist/browser/pagingHelper.js.map +1 -1
  51. package/dist/commonjs/cdnManagementClient.js +34 -5
  52. package/dist/commonjs/cdnManagementClient.js.map +1 -1
  53. package/dist/commonjs/lroImpl.js +7 -3
  54. package/dist/commonjs/lroImpl.js.map +1 -1
  55. package/dist/commonjs/models/mappers.js +663 -294
  56. package/dist/commonjs/models/mappers.js.map +1 -1
  57. package/dist/commonjs/operations/afdCustomDomains.js +67 -63
  58. package/dist/commonjs/operations/afdCustomDomains.js.map +1 -1
  59. package/dist/commonjs/operations/afdEndpoints.js +89 -102
  60. package/dist/commonjs/operations/afdEndpoints.js.map +1 -1
  61. package/dist/commonjs/operations/afdOriginGroups.js +78 -96
  62. package/dist/commonjs/operations/afdOriginGroups.js.map +1 -1
  63. package/dist/commonjs/operations/afdOrigins.js +56 -57
  64. package/dist/commonjs/operations/afdOrigins.js.map +1 -1
  65. package/dist/commonjs/operations/afdProfiles.js +34 -45
  66. package/dist/commonjs/operations/afdProfiles.js.map +1 -1
  67. package/dist/commonjs/operations/customDomains.js +67 -63
  68. package/dist/commonjs/operations/customDomains.js.map +1 -1
  69. package/dist/commonjs/operations/edgeNodes.js +23 -39
  70. package/dist/commonjs/operations/edgeNodes.js.map +1 -1
  71. package/dist/commonjs/operations/endpoints.js +122 -120
  72. package/dist/commonjs/operations/endpoints.js.map +1 -1
  73. package/dist/commonjs/operations/logAnalytics.js +1 -0
  74. package/dist/commonjs/operations/logAnalytics.js.map +1 -1
  75. package/dist/commonjs/operations/managedRuleSets.js +23 -39
  76. package/dist/commonjs/operations/managedRuleSets.js.map +1 -1
  77. package/dist/commonjs/operations/operations.js +23 -39
  78. package/dist/commonjs/operations/operations.js.map +1 -1
  79. package/dist/commonjs/operations/originGroups.js +56 -57
  80. package/dist/commonjs/operations/originGroups.js.map +1 -1
  81. package/dist/commonjs/operations/origins.js +56 -57
  82. package/dist/commonjs/operations/origins.js.map +1 -1
  83. package/dist/commonjs/operations/policies.js +45 -51
  84. package/dist/commonjs/operations/policies.js.map +1 -1
  85. package/dist/commonjs/operations/profiles.js +133 -153
  86. package/dist/commonjs/operations/profiles.js.map +1 -1
  87. package/dist/commonjs/operations/resourceUsageOperations.js +23 -39
  88. package/dist/commonjs/operations/resourceUsageOperations.js.map +1 -1
  89. package/dist/commonjs/operations/routes.js +56 -57
  90. package/dist/commonjs/operations/routes.js.map +1 -1
  91. package/dist/commonjs/operations/ruleSets.js +56 -84
  92. package/dist/commonjs/operations/ruleSets.js.map +1 -1
  93. package/dist/commonjs/operations/rules.js +56 -57
  94. package/dist/commonjs/operations/rules.js.map +1 -1
  95. package/dist/commonjs/operations/secrets.js +45 -51
  96. package/dist/commonjs/operations/secrets.js.map +1 -1
  97. package/dist/commonjs/operations/securityPolicies.js +56 -57
  98. package/dist/commonjs/operations/securityPolicies.js.map +1 -1
  99. package/dist/commonjs/pagingHelper.js +2 -4
  100. package/dist/commonjs/pagingHelper.js.map +1 -1
  101. package/dist/commonjs/tsdoc-metadata.json +1 -1
  102. package/dist/esm/cdnManagementClient.js +34 -5
  103. package/dist/esm/cdnManagementClient.js.map +1 -1
  104. package/dist/esm/lroImpl.js +7 -3
  105. package/dist/esm/lroImpl.js.map +1 -1
  106. package/dist/esm/models/mappers.js +663 -294
  107. package/dist/esm/models/mappers.js.map +1 -1
  108. package/dist/esm/operations/afdCustomDomains.js +67 -64
  109. package/dist/esm/operations/afdCustomDomains.js.map +1 -1
  110. package/dist/esm/operations/afdEndpoints.js +89 -103
  111. package/dist/esm/operations/afdEndpoints.js.map +1 -1
  112. package/dist/esm/operations/afdOriginGroups.js +78 -97
  113. package/dist/esm/operations/afdOriginGroups.js.map +1 -1
  114. package/dist/esm/operations/afdOrigins.js +56 -58
  115. package/dist/esm/operations/afdOrigins.js.map +1 -1
  116. package/dist/esm/operations/afdProfiles.js +34 -46
  117. package/dist/esm/operations/afdProfiles.js.map +1 -1
  118. package/dist/esm/operations/customDomains.js +67 -64
  119. package/dist/esm/operations/customDomains.js.map +1 -1
  120. package/dist/esm/operations/edgeNodes.js +23 -40
  121. package/dist/esm/operations/edgeNodes.js.map +1 -1
  122. package/dist/esm/operations/endpoints.js +122 -121
  123. package/dist/esm/operations/endpoints.js.map +1 -1
  124. package/dist/esm/operations/logAnalytics.js +1 -0
  125. package/dist/esm/operations/logAnalytics.js.map +1 -1
  126. package/dist/esm/operations/managedRuleSets.js +23 -40
  127. package/dist/esm/operations/managedRuleSets.js.map +1 -1
  128. package/dist/esm/operations/operations.js +23 -40
  129. package/dist/esm/operations/operations.js.map +1 -1
  130. package/dist/esm/operations/originGroups.js +56 -58
  131. package/dist/esm/operations/originGroups.js.map +1 -1
  132. package/dist/esm/operations/origins.js +56 -58
  133. package/dist/esm/operations/origins.js.map +1 -1
  134. package/dist/esm/operations/policies.js +45 -52
  135. package/dist/esm/operations/policies.js.map +1 -1
  136. package/dist/esm/operations/profiles.js +133 -154
  137. package/dist/esm/operations/profiles.js.map +1 -1
  138. package/dist/esm/operations/resourceUsageOperations.js +23 -40
  139. package/dist/esm/operations/resourceUsageOperations.js.map +1 -1
  140. package/dist/esm/operations/routes.js +56 -58
  141. package/dist/esm/operations/routes.js.map +1 -1
  142. package/dist/esm/operations/ruleSets.js +56 -85
  143. package/dist/esm/operations/ruleSets.js.map +1 -1
  144. package/dist/esm/operations/rules.js +56 -58
  145. package/dist/esm/operations/rules.js.map +1 -1
  146. package/dist/esm/operations/secrets.js +45 -52
  147. package/dist/esm/operations/secrets.js.map +1 -1
  148. package/dist/esm/operations/securityPolicies.js +56 -58
  149. package/dist/esm/operations/securityPolicies.js.map +1 -1
  150. package/dist/esm/pagingHelper.js +2 -4
  151. package/dist/esm/pagingHelper.js.map +1 -1
  152. package/dist/react-native/cdnManagementClient.js +34 -5
  153. package/dist/react-native/cdnManagementClient.js.map +1 -1
  154. package/dist/react-native/lroImpl.js +7 -3
  155. package/dist/react-native/lroImpl.js.map +1 -1
  156. package/dist/react-native/models/mappers.js +663 -294
  157. package/dist/react-native/models/mappers.js.map +1 -1
  158. package/dist/react-native/operations/afdCustomDomains.js +67 -64
  159. package/dist/react-native/operations/afdCustomDomains.js.map +1 -1
  160. package/dist/react-native/operations/afdEndpoints.js +89 -103
  161. package/dist/react-native/operations/afdEndpoints.js.map +1 -1
  162. package/dist/react-native/operations/afdOriginGroups.js +78 -97
  163. package/dist/react-native/operations/afdOriginGroups.js.map +1 -1
  164. package/dist/react-native/operations/afdOrigins.js +56 -58
  165. package/dist/react-native/operations/afdOrigins.js.map +1 -1
  166. package/dist/react-native/operations/afdProfiles.js +34 -46
  167. package/dist/react-native/operations/afdProfiles.js.map +1 -1
  168. package/dist/react-native/operations/customDomains.js +67 -64
  169. package/dist/react-native/operations/customDomains.js.map +1 -1
  170. package/dist/react-native/operations/edgeNodes.js +23 -40
  171. package/dist/react-native/operations/edgeNodes.js.map +1 -1
  172. package/dist/react-native/operations/endpoints.js +122 -121
  173. package/dist/react-native/operations/endpoints.js.map +1 -1
  174. package/dist/react-native/operations/logAnalytics.js +1 -0
  175. package/dist/react-native/operations/logAnalytics.js.map +1 -1
  176. package/dist/react-native/operations/managedRuleSets.js +23 -40
  177. package/dist/react-native/operations/managedRuleSets.js.map +1 -1
  178. package/dist/react-native/operations/operations.js +23 -40
  179. package/dist/react-native/operations/operations.js.map +1 -1
  180. package/dist/react-native/operations/originGroups.js +56 -58
  181. package/dist/react-native/operations/originGroups.js.map +1 -1
  182. package/dist/react-native/operations/origins.js +56 -58
  183. package/dist/react-native/operations/origins.js.map +1 -1
  184. package/dist/react-native/operations/policies.js +45 -52
  185. package/dist/react-native/operations/policies.js.map +1 -1
  186. package/dist/react-native/operations/profiles.js +133 -154
  187. package/dist/react-native/operations/profiles.js.map +1 -1
  188. package/dist/react-native/operations/resourceUsageOperations.js +23 -40
  189. package/dist/react-native/operations/resourceUsageOperations.js.map +1 -1
  190. package/dist/react-native/operations/routes.js +56 -58
  191. package/dist/react-native/operations/routes.js.map +1 -1
  192. package/dist/react-native/operations/ruleSets.js +56 -85
  193. package/dist/react-native/operations/ruleSets.js.map +1 -1
  194. package/dist/react-native/operations/rules.js +56 -58
  195. package/dist/react-native/operations/rules.js.map +1 -1
  196. package/dist/react-native/operations/secrets.js +45 -52
  197. package/dist/react-native/operations/secrets.js.map +1 -1
  198. package/dist/react-native/operations/securityPolicies.js +56 -58
  199. package/dist/react-native/operations/securityPolicies.js.map +1 -1
  200. package/dist/react-native/pagingHelper.js +2 -4
  201. package/dist/react-native/pagingHelper.js.map +1 -1
  202. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../../src/operations/endpoints.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAiC9C,4CAA4C;AAC5C,6CAA6C;AAC7C,MAAa,aAAa;IAGxB;;;OAGG;IACH,YAAY,MAA2B;QACrC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,aAAa,CAClB,iBAAy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,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,kCAAkC,GAA6B;IACnE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Endpoints } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { CdnManagementClient } from \"../cdnManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n Endpoint,\n EndpointsListByProfileNextOptionalParams,\n EndpointsListByProfileOptionalParams,\n EndpointsListByProfileResponse,\n ResourceUsage,\n EndpointsListResourceUsageNextOptionalParams,\n EndpointsListResourceUsageOptionalParams,\n EndpointsListResourceUsageResponse,\n EndpointsGetOptionalParams,\n EndpointsGetResponse,\n EndpointsCreateOptionalParams,\n EndpointsCreateResponse,\n EndpointUpdateParameters,\n EndpointsUpdateOptionalParams,\n EndpointsUpdateResponse,\n EndpointsDeleteOptionalParams,\n EndpointsStartOptionalParams,\n EndpointsStartResponse,\n EndpointsStopOptionalParams,\n EndpointsStopResponse,\n PurgeParameters,\n EndpointsPurgeContentOptionalParams,\n LoadParameters,\n EndpointsLoadContentOptionalParams,\n ValidateCustomDomainInput,\n EndpointsValidateCustomDomainOptionalParams,\n EndpointsValidateCustomDomainResponse,\n EndpointsListByProfileNextResponse,\n EndpointsListResourceUsageNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Endpoints operations. */\nexport class EndpointsImpl implements Endpoints {\n private readonly client: CdnManagementClient;\n\n /**\n * Initialize a new instance of the class Endpoints class.\n * @param client Reference to the service client\n */\n constructor(client: CdnManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists existing CDN endpoints.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param options The options parameters.\n */\n public listByProfile(\n resourceGroupName: string,\n profileName: string,\n options?: EndpointsListByProfileOptionalParams,\n ): PagedAsyncIterableIterator<Endpoint> {\n const iter = this.listByProfilePagingAll(\n resourceGroupName,\n profileName,\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.listByProfilePagingPage(\n resourceGroupName,\n profileName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByProfilePagingPage(\n resourceGroupName: string,\n profileName: string,\n options?: EndpointsListByProfileOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Endpoint[]> {\n let result: EndpointsListByProfileResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByProfile(\n resourceGroupName,\n profileName,\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._listByProfileNext(\n resourceGroupName,\n profileName,\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 *listByProfilePagingAll(\n resourceGroupName: string,\n profileName: string,\n options?: EndpointsListByProfileOptionalParams,\n ): AsyncIterableIterator<Endpoint> {\n for await (const page of this.listByProfilePagingPage(\n resourceGroupName,\n profileName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Checks the quota and usage of geo filters and custom domains under the given endpoint.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param options The options parameters.\n */\n public listResourceUsage(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n options?: EndpointsListResourceUsageOptionalParams,\n ): PagedAsyncIterableIterator<ResourceUsage> {\n const iter = this.listResourceUsagePagingAll(\n resourceGroupName,\n profileName,\n endpointName,\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.listResourceUsagePagingPage(\n resourceGroupName,\n profileName,\n endpointName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listResourceUsagePagingPage(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n options?: EndpointsListResourceUsageOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ResourceUsage[]> {\n let result: EndpointsListResourceUsageResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listResourceUsage(\n resourceGroupName,\n profileName,\n endpointName,\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._listResourceUsageNext(\n resourceGroupName,\n profileName,\n endpointName,\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 *listResourceUsagePagingAll(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n options?: EndpointsListResourceUsageOptionalParams,\n ): AsyncIterableIterator<ResourceUsage> {\n for await (const page of this.listResourceUsagePagingPage(\n resourceGroupName,\n profileName,\n endpointName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists existing CDN endpoints.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param options The options parameters.\n */\n private _listByProfile(\n resourceGroupName: string,\n profileName: string,\n options?: EndpointsListByProfileOptionalParams,\n ): Promise<EndpointsListByProfileResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, profileName, options },\n listByProfileOperationSpec,\n );\n }\n\n /**\n * Gets an existing CDN endpoint with the specified endpoint name under the specified subscription,\n * resource group and profile.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n options?: EndpointsGetOptionalParams,\n ): Promise<EndpointsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, profileName, endpointName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates a new CDN endpoint with the specified endpoint name under the specified subscription,\n * resource group and profile.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param endpoint Endpoint properties\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n endpoint: Endpoint,\n options?: EndpointsCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<EndpointsCreateResponse>,\n EndpointsCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<EndpointsCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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 = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, profileName, endpointName, endpoint, options },\n spec: createOperationSpec,\n });\n const poller = await createHttpPoller<\n EndpointsCreateResponse,\n OperationState<EndpointsCreateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates a new CDN endpoint with the specified endpoint name under the specified subscription,\n * resource group and profile.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param endpoint Endpoint properties\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n endpoint: Endpoint,\n options?: EndpointsCreateOptionalParams,\n ): Promise<EndpointsCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n profileName,\n endpointName,\n endpoint,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates an existing CDN endpoint with the specified endpoint name under the specified subscription,\n * resource group and profile. Only tags can be updated after creating an endpoint. To update origins,\n * use the Update Origin operation. To update origin groups, use the Update Origin group operation. To\n * update custom domains, use the Update Custom Domain operation.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param endpointUpdateProperties Endpoint update properties\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n endpointUpdateProperties: EndpointUpdateParameters,\n options?: EndpointsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<EndpointsUpdateResponse>,\n EndpointsUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<EndpointsUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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 = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n profileName,\n endpointName,\n endpointUpdateProperties,\n options,\n },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n EndpointsUpdateResponse,\n OperationState<EndpointsUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Updates an existing CDN endpoint with the specified endpoint name under the specified subscription,\n * resource group and profile. Only tags can be updated after creating an endpoint. To update origins,\n * use the Update Origin operation. To update origin groups, use the Update Origin group operation. To\n * update custom domains, use the Update Custom Domain operation.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param endpointUpdateProperties Endpoint update properties\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n endpointUpdateProperties: EndpointUpdateParameters,\n options?: EndpointsUpdateOptionalParams,\n ): Promise<EndpointsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n profileName,\n endpointName,\n endpointUpdateProperties,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes an existing CDN endpoint with the specified endpoint name under the specified subscription,\n * resource group and profile.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n options?: EndpointsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<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 sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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 = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, profileName, endpointName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes an existing CDN endpoint with the specified endpoint name under the specified subscription,\n * resource group and profile.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n options?: EndpointsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n profileName,\n endpointName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Starts an existing CDN endpoint that is on a stopped state.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param options The options parameters.\n */\n async beginStart(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n options?: EndpointsStartOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<EndpointsStartResponse>,\n EndpointsStartResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<EndpointsStartResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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 = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, profileName, endpointName, options },\n spec: startOperationSpec,\n });\n const poller = await createHttpPoller<\n EndpointsStartResponse,\n OperationState<EndpointsStartResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Starts an existing CDN endpoint that is on a stopped state.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param options The options parameters.\n */\n async beginStartAndWait(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n options?: EndpointsStartOptionalParams,\n ): Promise<EndpointsStartResponse> {\n const poller = await this.beginStart(\n resourceGroupName,\n profileName,\n endpointName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Stops an existing running CDN endpoint.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param options The options parameters.\n */\n async beginStop(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n options?: EndpointsStopOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<EndpointsStopResponse>,\n EndpointsStopResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<EndpointsStopResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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 = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, profileName, endpointName, options },\n spec: stopOperationSpec,\n });\n const poller = await createHttpPoller<\n EndpointsStopResponse,\n OperationState<EndpointsStopResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Stops an existing running CDN endpoint.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param options The options parameters.\n */\n async beginStopAndWait(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n options?: EndpointsStopOptionalParams,\n ): Promise<EndpointsStopResponse> {\n const poller = await this.beginStop(\n resourceGroupName,\n profileName,\n endpointName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Removes a content from CDN.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param contentFilePaths The path to the content to be purged. Path can be a full URL, e.g.\n * '/pictures/city.png' which removes a single file, or a directory with a wildcard, e.g. '/pictures/*'\n * which removes all folders and files in the directory.\n * @param options The options parameters.\n */\n async beginPurgeContent(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n contentFilePaths: PurgeParameters,\n options?: EndpointsPurgeContentOptionalParams,\n ): Promise<SimplePollerLike<OperationState<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 sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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 = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n profileName,\n endpointName,\n contentFilePaths,\n options,\n },\n spec: purgeContentOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Removes a content from CDN.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param contentFilePaths The path to the content to be purged. Path can be a full URL, e.g.\n * '/pictures/city.png' which removes a single file, or a directory with a wildcard, e.g. '/pictures/*'\n * which removes all folders and files in the directory.\n * @param options The options parameters.\n */\n async beginPurgeContentAndWait(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n contentFilePaths: PurgeParameters,\n options?: EndpointsPurgeContentOptionalParams,\n ): Promise<void> {\n const poller = await this.beginPurgeContent(\n resourceGroupName,\n profileName,\n endpointName,\n contentFilePaths,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Pre-loads a content to CDN. Available for Verizon Profiles.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param contentFilePaths The path to the content to be loaded. Path should be a full URL, e.g.\n * ‘/pictures/city.png' which loads a single file\n * @param options The options parameters.\n */\n async beginLoadContent(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n contentFilePaths: LoadParameters,\n options?: EndpointsLoadContentOptionalParams,\n ): Promise<SimplePollerLike<OperationState<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 sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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 = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n profileName,\n endpointName,\n contentFilePaths,\n options,\n },\n spec: loadContentOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Pre-loads a content to CDN. Available for Verizon Profiles.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param contentFilePaths The path to the content to be loaded. Path should be a full URL, e.g.\n * ‘/pictures/city.png' which loads a single file\n * @param options The options parameters.\n */\n async beginLoadContentAndWait(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n contentFilePaths: LoadParameters,\n options?: EndpointsLoadContentOptionalParams,\n ): Promise<void> {\n const poller = await this.beginLoadContent(\n resourceGroupName,\n profileName,\n endpointName,\n contentFilePaths,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param customDomainProperties Custom domain to be validated.\n * @param options The options parameters.\n */\n validateCustomDomain(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n customDomainProperties: ValidateCustomDomainInput,\n options?: EndpointsValidateCustomDomainOptionalParams,\n ): Promise<EndpointsValidateCustomDomainResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n profileName,\n endpointName,\n customDomainProperties,\n options,\n },\n validateCustomDomainOperationSpec,\n );\n }\n\n /**\n * Checks the quota and usage of geo filters and custom domains under the given endpoint.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param options The options parameters.\n */\n private _listResourceUsage(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n options?: EndpointsListResourceUsageOptionalParams,\n ): Promise<EndpointsListResourceUsageResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, profileName, endpointName, options },\n listResourceUsageOperationSpec,\n );\n }\n\n /**\n * ListByProfileNext\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param nextLink The nextLink from the previous successful call to the ListByProfile method.\n * @param options The options parameters.\n */\n private _listByProfileNext(\n resourceGroupName: string,\n profileName: string,\n nextLink: string,\n options?: EndpointsListByProfileNextOptionalParams,\n ): Promise<EndpointsListByProfileNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, profileName, nextLink, options },\n listByProfileNextOperationSpec,\n );\n }\n\n /**\n * ListResourceUsageNext\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param nextLink The nextLink from the previous successful call to the ListResourceUsage method.\n * @param options The options parameters.\n */\n private _listResourceUsageNext(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n nextLink: string,\n options?: EndpointsListResourceUsageNextOptionalParams,\n ): Promise<EndpointsListResourceUsageNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, profileName, endpointName, nextLink, options },\n listResourceUsageNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByProfileOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EndpointListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Endpoint,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n Parameters.endpointName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Endpoint,\n },\n 201: {\n bodyMapper: Mappers.Endpoint,\n },\n 202: {\n bodyMapper: Mappers.Endpoint,\n },\n 204: {\n bodyMapper: Mappers.Endpoint,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.endpoint1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n Parameters.endpointName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Endpoint,\n },\n 201: {\n bodyMapper: Mappers.Endpoint,\n },\n 202: {\n bodyMapper: Mappers.Endpoint,\n },\n 204: {\n bodyMapper: Mappers.Endpoint,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.endpointUpdateProperties1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n Parameters.endpointName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n Parameters.endpointName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst startOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/start\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.Endpoint,\n },\n 201: {\n bodyMapper: Mappers.Endpoint,\n },\n 202: {\n bodyMapper: Mappers.Endpoint,\n },\n 204: {\n bodyMapper: Mappers.Endpoint,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n Parameters.endpointName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst stopOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/stop\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.Endpoint,\n },\n 201: {\n bodyMapper: Mappers.Endpoint,\n },\n 202: {\n bodyMapper: Mappers.Endpoint,\n },\n 204: {\n bodyMapper: Mappers.Endpoint,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n Parameters.endpointName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst purgeContentOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/purge\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.contentFilePaths,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n Parameters.endpointName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst loadContentOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/load\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.contentFilePaths1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n Parameters.endpointName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst validateCustomDomainOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/validateCustomDomain\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ValidateCustomDomainOutput,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.customDomainProperties,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n Parameters.endpointName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst listResourceUsageOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/checkResourceUsage\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceUsageListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n Parameters.endpointName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByProfileNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EndpointListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listResourceUsageNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceUsageListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n Parameters.nextLink,\n Parameters.endpointName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../../src/operations/endpoints.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAiC9C,4CAA4C;AAC5C,6CAA6C;AAC7C,MAAa,aAAa;IACP,MAAM,CAAsB;IAE7C;;;OAGG;IACH,YAAY,MAA2B;QACrC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,aAAa,CAClB,iBAAyB,EACzB,WAAmB,EACnB,OAA8C;QAE9C,MAAM,IAAI,GAAG,IAAI,CAAC,sBAAsB,CACtC,iBAAiB,EACjB,WAAW,EACX,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,uBAAuB,CACjC,iBAAiB,EACjB,WAAW,EACX,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,uBAAuB,CACpC,iBAAyB,EACzB,WAAmB,EACnB,OAA8C,EAC9C,QAAuB;QAEvB,IAAI,MAAsC,CAAC;QAC3C,IAAI,iBAAiB,GAAG,QAAQ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AAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,kCAAkC,GAA6B;IACnE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Endpoints } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { CdnManagementClient } from \"../cdnManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n Endpoint,\n EndpointsListByProfileNextOptionalParams,\n EndpointsListByProfileOptionalParams,\n EndpointsListByProfileResponse,\n ResourceUsage,\n EndpointsListResourceUsageNextOptionalParams,\n EndpointsListResourceUsageOptionalParams,\n EndpointsListResourceUsageResponse,\n EndpointsGetOptionalParams,\n EndpointsGetResponse,\n EndpointsCreateOptionalParams,\n EndpointsCreateResponse,\n EndpointUpdateParameters,\n EndpointsUpdateOptionalParams,\n EndpointsUpdateResponse,\n EndpointsDeleteOptionalParams,\n EndpointsStartOptionalParams,\n EndpointsStartResponse,\n EndpointsStopOptionalParams,\n EndpointsStopResponse,\n PurgeParameters,\n EndpointsPurgeContentOptionalParams,\n LoadParameters,\n EndpointsLoadContentOptionalParams,\n ValidateCustomDomainInput,\n EndpointsValidateCustomDomainOptionalParams,\n EndpointsValidateCustomDomainResponse,\n EndpointsListByProfileNextResponse,\n EndpointsListResourceUsageNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Endpoints operations. */\nexport class EndpointsImpl implements Endpoints {\n private readonly client: CdnManagementClient;\n\n /**\n * Initialize a new instance of the class Endpoints class.\n * @param client Reference to the service client\n */\n constructor(client: CdnManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists existing CDN endpoints.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param options The options parameters.\n */\n public listByProfile(\n resourceGroupName: string,\n profileName: string,\n options?: EndpointsListByProfileOptionalParams,\n ): PagedAsyncIterableIterator<Endpoint> {\n const iter = this.listByProfilePagingAll(\n resourceGroupName,\n profileName,\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.listByProfilePagingPage(\n resourceGroupName,\n profileName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByProfilePagingPage(\n resourceGroupName: string,\n profileName: string,\n options?: EndpointsListByProfileOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Endpoint[]> {\n let result: EndpointsListByProfileResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByProfile(\n resourceGroupName,\n profileName,\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._listByProfileNext(\n resourceGroupName,\n profileName,\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 *listByProfilePagingAll(\n resourceGroupName: string,\n profileName: string,\n options?: EndpointsListByProfileOptionalParams,\n ): AsyncIterableIterator<Endpoint> {\n for await (const page of this.listByProfilePagingPage(\n resourceGroupName,\n profileName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Checks the quota and usage of geo filters and custom domains under the given endpoint.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param options The options parameters.\n */\n public listResourceUsage(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n options?: EndpointsListResourceUsageOptionalParams,\n ): PagedAsyncIterableIterator<ResourceUsage> {\n const iter = this.listResourceUsagePagingAll(\n resourceGroupName,\n profileName,\n endpointName,\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.listResourceUsagePagingPage(\n resourceGroupName,\n profileName,\n endpointName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listResourceUsagePagingPage(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n options?: EndpointsListResourceUsageOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ResourceUsage[]> {\n let result: EndpointsListResourceUsageResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listResourceUsage(\n resourceGroupName,\n profileName,\n endpointName,\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._listResourceUsageNext(\n resourceGroupName,\n profileName,\n endpointName,\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 *listResourceUsagePagingAll(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n options?: EndpointsListResourceUsageOptionalParams,\n ): AsyncIterableIterator<ResourceUsage> {\n for await (const page of this.listResourceUsagePagingPage(\n resourceGroupName,\n profileName,\n endpointName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists existing CDN endpoints.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param options The options parameters.\n */\n private _listByProfile(\n resourceGroupName: string,\n profileName: string,\n options?: EndpointsListByProfileOptionalParams,\n ): Promise<EndpointsListByProfileResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, profileName, options },\n listByProfileOperationSpec,\n );\n }\n\n /**\n * Gets an existing CDN endpoint with the specified endpoint name under the specified subscription,\n * resource group and profile.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n options?: EndpointsGetOptionalParams,\n ): Promise<EndpointsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, profileName, endpointName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates a new CDN endpoint with the specified endpoint name under the specified subscription,\n * resource group and profile.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param endpoint Endpoint properties\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n endpoint: Endpoint,\n options?: EndpointsCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<EndpointsCreateResponse>,\n EndpointsCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<EndpointsCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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 = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, profileName, endpointName, endpoint, options },\n spec: createOperationSpec,\n });\n const poller = await createHttpPoller<\n EndpointsCreateResponse,\n OperationState<EndpointsCreateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates a new CDN endpoint with the specified endpoint name under the specified subscription,\n * resource group and profile.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param endpoint Endpoint properties\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n endpoint: Endpoint,\n options?: EndpointsCreateOptionalParams,\n ): Promise<EndpointsCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n profileName,\n endpointName,\n endpoint,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates an existing CDN endpoint with the specified endpoint name under the specified subscription,\n * resource group and profile. Only tags can be updated after creating an endpoint. To update origins,\n * use the Update Origin operation. To update origin groups, use the Update Origin group operation. To\n * update custom domains, use the Update Custom Domain operation.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param endpointUpdateProperties Endpoint update properties\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n endpointUpdateProperties: EndpointUpdateParameters,\n options?: EndpointsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<EndpointsUpdateResponse>,\n EndpointsUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<EndpointsUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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 = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n profileName,\n endpointName,\n endpointUpdateProperties,\n options,\n },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n EndpointsUpdateResponse,\n OperationState<EndpointsUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Updates an existing CDN endpoint with the specified endpoint name under the specified subscription,\n * resource group and profile. Only tags can be updated after creating an endpoint. To update origins,\n * use the Update Origin operation. To update origin groups, use the Update Origin group operation. To\n * update custom domains, use the Update Custom Domain operation.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param endpointUpdateProperties Endpoint update properties\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n endpointUpdateProperties: EndpointUpdateParameters,\n options?: EndpointsUpdateOptionalParams,\n ): Promise<EndpointsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n profileName,\n endpointName,\n endpointUpdateProperties,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes an existing CDN endpoint with the specified endpoint name under the specified subscription,\n * resource group and profile.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n options?: EndpointsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<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 sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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 = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, profileName, endpointName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes an existing CDN endpoint with the specified endpoint name under the specified subscription,\n * resource group and profile.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n options?: EndpointsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n profileName,\n endpointName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Starts an existing CDN endpoint that is on a stopped state.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param options The options parameters.\n */\n async beginStart(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n options?: EndpointsStartOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<EndpointsStartResponse>,\n EndpointsStartResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<EndpointsStartResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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 = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, profileName, endpointName, options },\n spec: startOperationSpec,\n });\n const poller = await createHttpPoller<\n EndpointsStartResponse,\n OperationState<EndpointsStartResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Starts an existing CDN endpoint that is on a stopped state.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param options The options parameters.\n */\n async beginStartAndWait(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n options?: EndpointsStartOptionalParams,\n ): Promise<EndpointsStartResponse> {\n const poller = await this.beginStart(\n resourceGroupName,\n profileName,\n endpointName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Stops an existing running CDN endpoint.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param options The options parameters.\n */\n async beginStop(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n options?: EndpointsStopOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<EndpointsStopResponse>,\n EndpointsStopResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<EndpointsStopResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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 = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, profileName, endpointName, options },\n spec: stopOperationSpec,\n });\n const poller = await createHttpPoller<\n EndpointsStopResponse,\n OperationState<EndpointsStopResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Stops an existing running CDN endpoint.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param options The options parameters.\n */\n async beginStopAndWait(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n options?: EndpointsStopOptionalParams,\n ): Promise<EndpointsStopResponse> {\n const poller = await this.beginStop(\n resourceGroupName,\n profileName,\n endpointName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Removes a content from CDN.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param contentFilePaths The path to the content to be purged. Path can be a full URL, e.g.\n * '/pictures/city.png' which removes a single file, or a directory with a wildcard, e.g. '/pictures/*'\n * which removes all folders and files in the directory.\n * @param options The options parameters.\n */\n async beginPurgeContent(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n contentFilePaths: PurgeParameters,\n options?: EndpointsPurgeContentOptionalParams,\n ): Promise<SimplePollerLike<OperationState<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 sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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 = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n profileName,\n endpointName,\n contentFilePaths,\n options,\n },\n spec: purgeContentOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Removes a content from CDN.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param contentFilePaths The path to the content to be purged. Path can be a full URL, e.g.\n * '/pictures/city.png' which removes a single file, or a directory with a wildcard, e.g. '/pictures/*'\n * which removes all folders and files in the directory.\n * @param options The options parameters.\n */\n async beginPurgeContentAndWait(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n contentFilePaths: PurgeParameters,\n options?: EndpointsPurgeContentOptionalParams,\n ): Promise<void> {\n const poller = await this.beginPurgeContent(\n resourceGroupName,\n profileName,\n endpointName,\n contentFilePaths,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Pre-loads a content to CDN. Available for Verizon Profiles.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param contentFilePaths The path to the content to be loaded. Path should be a full URL, e.g.\n * ‘/pictures/city.png' which loads a single file\n * @param options The options parameters.\n */\n async beginLoadContent(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n contentFilePaths: LoadParameters,\n options?: EndpointsLoadContentOptionalParams,\n ): Promise<SimplePollerLike<OperationState<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 sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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 = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n profileName,\n endpointName,\n contentFilePaths,\n options,\n },\n spec: loadContentOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Pre-loads a content to CDN. Available for Verizon Profiles.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param contentFilePaths The path to the content to be loaded. Path should be a full URL, e.g.\n * ‘/pictures/city.png' which loads a single file\n * @param options The options parameters.\n */\n async beginLoadContentAndWait(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n contentFilePaths: LoadParameters,\n options?: EndpointsLoadContentOptionalParams,\n ): Promise<void> {\n const poller = await this.beginLoadContent(\n resourceGroupName,\n profileName,\n endpointName,\n contentFilePaths,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param customDomainProperties Custom domain to be validated.\n * @param options The options parameters.\n */\n validateCustomDomain(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n customDomainProperties: ValidateCustomDomainInput,\n options?: EndpointsValidateCustomDomainOptionalParams,\n ): Promise<EndpointsValidateCustomDomainResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n profileName,\n endpointName,\n customDomainProperties,\n options,\n },\n validateCustomDomainOperationSpec,\n );\n }\n\n /**\n * Checks the quota and usage of geo filters and custom domains under the given endpoint.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param options The options parameters.\n */\n private _listResourceUsage(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n options?: EndpointsListResourceUsageOptionalParams,\n ): Promise<EndpointsListResourceUsageResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, profileName, endpointName, options },\n listResourceUsageOperationSpec,\n );\n }\n\n /**\n * ListByProfileNext\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param nextLink The nextLink from the previous successful call to the ListByProfile method.\n * @param options The options parameters.\n */\n private _listByProfileNext(\n resourceGroupName: string,\n profileName: string,\n nextLink: string,\n options?: EndpointsListByProfileNextOptionalParams,\n ): Promise<EndpointsListByProfileNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, profileName, nextLink, options },\n listByProfileNextOperationSpec,\n );\n }\n\n /**\n * ListResourceUsageNext\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the CDN profile which is unique within the resource group.\n * @param endpointName Name of the endpoint under the profile which is unique globally.\n * @param nextLink The nextLink from the previous successful call to the ListResourceUsage method.\n * @param options The options parameters.\n */\n private _listResourceUsageNext(\n resourceGroupName: string,\n profileName: string,\n endpointName: string,\n nextLink: string,\n options?: EndpointsListResourceUsageNextOptionalParams,\n ): Promise<EndpointsListResourceUsageNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, profileName, endpointName, nextLink, options },\n listResourceUsageNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByProfileOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EndpointListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Endpoint,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n Parameters.endpointName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Endpoint,\n },\n 201: {\n bodyMapper: Mappers.Endpoint,\n },\n 202: {\n bodyMapper: Mappers.Endpoint,\n },\n 204: {\n bodyMapper: Mappers.Endpoint,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.endpoint1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n Parameters.endpointName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Endpoint,\n },\n 201: {\n bodyMapper: Mappers.Endpoint,\n },\n 202: {\n bodyMapper: Mappers.Endpoint,\n },\n 204: {\n bodyMapper: Mappers.Endpoint,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.endpointUpdateProperties1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n Parameters.endpointName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n Parameters.endpointName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst startOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/start\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.Endpoint,\n },\n 201: {\n bodyMapper: Mappers.Endpoint,\n },\n 202: {\n bodyMapper: Mappers.Endpoint,\n },\n 204: {\n bodyMapper: Mappers.Endpoint,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n Parameters.endpointName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst stopOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/stop\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.Endpoint,\n },\n 201: {\n bodyMapper: Mappers.Endpoint,\n },\n 202: {\n bodyMapper: Mappers.Endpoint,\n },\n 204: {\n bodyMapper: Mappers.Endpoint,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n Parameters.endpointName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst purgeContentOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/purge\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.contentFilePaths,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n Parameters.endpointName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst loadContentOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/load\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.contentFilePaths1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n Parameters.endpointName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst validateCustomDomainOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/validateCustomDomain\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ValidateCustomDomainOutput,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.customDomainProperties,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n Parameters.endpointName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst listResourceUsageOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/checkResourceUsage\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceUsageListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n Parameters.endpointName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByProfileNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EndpointListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listResourceUsageNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceUsageListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n Parameters.nextLink,\n Parameters.endpointName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -14,6 +14,7 @@ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
14
14
  const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
15
15
  /** Class containing LogAnalytics operations. */
16
16
  class LogAnalyticsImpl {
17
+ client;
17
18
  /**
18
19
  * Initialize a new instance of the class LogAnalytics class.
19
20
  * @param client Reference to the service client
@@ -1 +1 @@
1
- {"version":3,"file":"logAnalytics.js","sourceRoot":"","sources":["../../../src/operations/logAnalytics.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAwBtD,gDAAgD;AAChD,MAAa,gBAAgB;IAG3B;;;OAGG;IACH,YAAY,MAA2B;QACrC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,sBAAsB,CACpB,iBAAyB,EACzB,WAAmB,EACnB,OAAoB,EACpB,aAAmB,EACnB,WAAiB,EACjB,WAAkC,EAClC,aAAuB,EACvB,SAAmB,EACnB,OAA0D;QAE1D,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB;YACjB,WAAW;YACX,OAAO;YACP,aAAa;YACb,WAAW;YACX,WAAW;YACX,aAAa;YACb,SAAS;YACT,OAAO;SACR,EACD,mCAAmC,CACpC,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;OAWG;IACH,uBAAuB,CACrB,iBAAyB,EACzB,WAAmB,EACnB,QAAsB,EACtB,OAA2B,EAC3B,UAAkB,EAClB,aAAmB,EACnB,WAAiB,EACjB,OAA2D;QAE3D,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB;YACjB,WAAW;YACX,QAAQ;YACR,OAAO;YACP,UAAU;YACV,aAAa;YACb,WAAW;YACX,OAAO;SACR,EACD,oCAAoC,CACrC,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,wBAAwB,CACtB,iBAAyB,EACzB,WAAmB,EACnB,OAA4D;QAE5D,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAA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ACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,uCAAuC,GAA6B;IACxE,IAAI,EAAE,8IAA8I;IACpJ,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,SAAS;KACrB;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { LogAnalytics } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { CdnManagementClient } from \"../cdnManagementClient.js\";\nimport {\n LogMetric,\n LogMetricsGranularity,\n LogAnalyticsGetLogAnalyticsMetricsOptionalParams,\n LogAnalyticsGetLogAnalyticsMetricsResponse,\n LogRanking,\n LogRankingMetric,\n LogAnalyticsGetLogAnalyticsRankingsOptionalParams,\n LogAnalyticsGetLogAnalyticsRankingsResponse,\n LogAnalyticsGetLogAnalyticsLocationsOptionalParams,\n LogAnalyticsGetLogAnalyticsLocationsResponse,\n LogAnalyticsGetLogAnalyticsResourcesOptionalParams,\n LogAnalyticsGetLogAnalyticsResourcesResponse,\n WafMetric,\n WafGranularity,\n LogAnalyticsGetWafLogAnalyticsMetricsOptionalParams,\n LogAnalyticsGetWafLogAnalyticsMetricsResponse,\n WafRankingType,\n LogAnalyticsGetWafLogAnalyticsRankingsOptionalParams,\n LogAnalyticsGetWafLogAnalyticsRankingsResponse,\n} from \"../models/index.js\";\n\n/** Class containing LogAnalytics operations. */\nexport class LogAnalyticsImpl implements LogAnalytics {\n private readonly client: CdnManagementClient;\n\n /**\n * Initialize a new instance of the class LogAnalytics class.\n * @param client Reference to the service client\n */\n constructor(client: CdnManagementClient) {\n this.client = client;\n }\n\n /**\n * Get log report for AFD profile\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which\n * is unique within the resource group. which is unique within the resource group.\n * @param metrics Array of LogMetric\n * @param dateTimeBegin\n * @param dateTimeEnd\n * @param granularity\n * @param customDomains Array of Get11ItemsItem\n * @param protocols Array of Get12ItemsItem\n * @param options The options parameters.\n */\n getLogAnalyticsMetrics(\n resourceGroupName: string,\n profileName: string,\n metrics: LogMetric[],\n dateTimeBegin: Date,\n dateTimeEnd: Date,\n granularity: LogMetricsGranularity,\n customDomains: string[],\n protocols: string[],\n options?: LogAnalyticsGetLogAnalyticsMetricsOptionalParams,\n ): Promise<LogAnalyticsGetLogAnalyticsMetricsResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n profileName,\n metrics,\n dateTimeBegin,\n dateTimeEnd,\n granularity,\n customDomains,\n protocols,\n options,\n },\n getLogAnalyticsMetricsOperationSpec,\n );\n }\n\n /**\n * Get log analytics ranking report for AFD profile\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which\n * is unique within the resource group. which is unique within the resource group.\n * @param rankings Array of LogRanking\n * @param metrics Array of LogRankingMetric\n * @param maxRanking\n * @param dateTimeBegin\n * @param dateTimeEnd\n * @param options The options parameters.\n */\n getLogAnalyticsRankings(\n resourceGroupName: string,\n profileName: string,\n rankings: LogRanking[],\n metrics: LogRankingMetric[],\n maxRanking: number,\n dateTimeBegin: Date,\n dateTimeEnd: Date,\n options?: LogAnalyticsGetLogAnalyticsRankingsOptionalParams,\n ): Promise<LogAnalyticsGetLogAnalyticsRankingsResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n profileName,\n rankings,\n metrics,\n maxRanking,\n dateTimeBegin,\n dateTimeEnd,\n options,\n },\n getLogAnalyticsRankingsOperationSpec,\n );\n }\n\n /**\n * Get all available location names for AFD log analytics report.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which\n * is unique within the resource group. which is unique within the resource group.\n * @param options The options parameters.\n */\n getLogAnalyticsLocations(\n resourceGroupName: string,\n profileName: string,\n options?: LogAnalyticsGetLogAnalyticsLocationsOptionalParams,\n ): Promise<LogAnalyticsGetLogAnalyticsLocationsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, profileName, options },\n getLogAnalyticsLocationsOperationSpec,\n );\n }\n\n /**\n * Get all endpoints and custom domains available for AFD log report\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which\n * is unique within the resource group. which is unique within the resource group.\n * @param options The options parameters.\n */\n getLogAnalyticsResources(\n resourceGroupName: string,\n profileName: string,\n options?: LogAnalyticsGetLogAnalyticsResourcesOptionalParams,\n ): Promise<LogAnalyticsGetLogAnalyticsResourcesResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, profileName, options },\n getLogAnalyticsResourcesOperationSpec,\n );\n }\n\n /**\n * Get Waf related log analytics report for AFD profile.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which\n * is unique within the resource group. which is unique within the resource group.\n * @param metrics Array of WafMetric\n * @param dateTimeBegin\n * @param dateTimeEnd\n * @param granularity\n * @param options The options parameters.\n */\n getWafLogAnalyticsMetrics(\n resourceGroupName: string,\n profileName: string,\n metrics: WafMetric[],\n dateTimeBegin: Date,\n dateTimeEnd: Date,\n granularity: WafGranularity,\n options?: LogAnalyticsGetWafLogAnalyticsMetricsOptionalParams,\n ): Promise<LogAnalyticsGetWafLogAnalyticsMetricsResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n profileName,\n metrics,\n dateTimeBegin,\n dateTimeEnd,\n granularity,\n options,\n },\n getWafLogAnalyticsMetricsOperationSpec,\n );\n }\n\n /**\n * Get WAF log analytics charts for AFD profile\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which\n * is unique within the resource group. which is unique within the resource group.\n * @param metrics Array of WafMetric\n * @param dateTimeBegin\n * @param dateTimeEnd\n * @param maxRanking\n * @param rankings Array of WafRankingType\n * @param options The options parameters.\n */\n getWafLogAnalyticsRankings(\n resourceGroupName: string,\n profileName: string,\n metrics: WafMetric[],\n dateTimeBegin: Date,\n dateTimeEnd: Date,\n maxRanking: number,\n rankings: WafRankingType[],\n options?: LogAnalyticsGetWafLogAnalyticsRankingsOptionalParams,\n ): Promise<LogAnalyticsGetWafLogAnalyticsRankingsResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n profileName,\n metrics,\n dateTimeBegin,\n dateTimeEnd,\n maxRanking,\n rankings,\n options,\n },\n getWafLogAnalyticsRankingsOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getLogAnalyticsMetricsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getLogAnalyticsMetrics\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.MetricsResponse,\n },\n default: {\n bodyMapper: Mappers.AfdErrorResponse,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.metrics,\n Parameters.dateTimeBegin,\n Parameters.dateTimeEnd,\n Parameters.granularity,\n Parameters.groupBy,\n Parameters.continents,\n Parameters.countryOrRegions,\n Parameters.customDomains,\n Parameters.protocols,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getLogAnalyticsRankingsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getLogAnalyticsRankings\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RankingsResponse,\n },\n default: {\n bodyMapper: Mappers.AfdErrorResponse,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.dateTimeBegin,\n Parameters.dateTimeEnd,\n Parameters.rankings,\n Parameters.metrics1,\n Parameters.maxRanking,\n Parameters.customDomains1,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getLogAnalyticsLocationsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getLogAnalyticsLocations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContinentsResponse,\n },\n default: {\n bodyMapper: Mappers.AfdErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getLogAnalyticsResourcesOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getLogAnalyticsResources\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourcesResponse,\n },\n default: {\n bodyMapper: Mappers.AfdErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getWafLogAnalyticsMetricsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getWafLogAnalyticsMetrics\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.WafMetricsResponse,\n },\n default: {\n bodyMapper: Mappers.AfdErrorResponse,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.dateTimeBegin,\n Parameters.dateTimeEnd,\n Parameters.metrics2,\n Parameters.granularity1,\n Parameters.actions,\n Parameters.groupBy1,\n Parameters.ruleTypes,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getWafLogAnalyticsRankingsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getWafLogAnalyticsRankings\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.WafRankingsResponse,\n },\n default: {\n bodyMapper: Mappers.AfdErrorResponse,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.dateTimeBegin,\n Parameters.dateTimeEnd,\n Parameters.maxRanking,\n Parameters.metrics2,\n Parameters.actions,\n Parameters.ruleTypes,\n Parameters.rankings1,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"logAnalytics.js","sourceRoot":"","sources":["../../../src/operations/logAnalytics.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAwBtD,gDAAgD;AAChD,MAAa,gBAAgB;IACV,MAAM,CAAsB;IAE7C;;;OAGG;IACH,YAAY,MAA2B;QACrC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,sBAAsB,CACpB,iBAAyB,EACzB,WAAmB,EACnB,OAAoB,EACpB,aAAmB,EACnB,WAAiB,EACjB,WAAkC,EAClC,aAAuB,EACvB,SAAmB,EACnB,OAA0D;QAE1D,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB;YACjB,WAAW;YACX,OAAO;YACP,aAAa;YACb,WAAW;YACX,WAAW;YACX,aAAa;YACb,SAAS;YACT,OAAO;SACR,EACD,mCAAmC,CACpC,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;OAWG;IACH,uBAAuB,CACrB,iBAAyB,EACzB,WAAmB,EACnB,QAAsB,EACtB,OAA2B,EAC3B,UAAkB,EAClB,aAAmB,EACnB,WAAiB,EACjB,OAA2D;QAE3D,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB;YACjB,WAAW;YACX,QAAQ;YACR,OAAO;YACP,UAAU;YACV,aAAa;YACb,WAAW;YACX,OAAO;SACR,EACD,oCAAoC,CACrC,CAAC;IACJ,CAAC;IAED;;;;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,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,SAAS;KACrB;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,uCAAuC,GAA6B;IACxE,IAAI,EAAE,8IAA8I;IACpJ,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,SAAS;KACrB;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { LogAnalytics } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { CdnManagementClient } from \"../cdnManagementClient.js\";\nimport {\n LogMetric,\n LogMetricsGranularity,\n LogAnalyticsGetLogAnalyticsMetricsOptionalParams,\n LogAnalyticsGetLogAnalyticsMetricsResponse,\n LogRanking,\n LogRankingMetric,\n LogAnalyticsGetLogAnalyticsRankingsOptionalParams,\n LogAnalyticsGetLogAnalyticsRankingsResponse,\n LogAnalyticsGetLogAnalyticsLocationsOptionalParams,\n LogAnalyticsGetLogAnalyticsLocationsResponse,\n LogAnalyticsGetLogAnalyticsResourcesOptionalParams,\n LogAnalyticsGetLogAnalyticsResourcesResponse,\n WafMetric,\n WafGranularity,\n LogAnalyticsGetWafLogAnalyticsMetricsOptionalParams,\n LogAnalyticsGetWafLogAnalyticsMetricsResponse,\n WafRankingType,\n LogAnalyticsGetWafLogAnalyticsRankingsOptionalParams,\n LogAnalyticsGetWafLogAnalyticsRankingsResponse,\n} from \"../models/index.js\";\n\n/** Class containing LogAnalytics operations. */\nexport class LogAnalyticsImpl implements LogAnalytics {\n private readonly client: CdnManagementClient;\n\n /**\n * Initialize a new instance of the class LogAnalytics class.\n * @param client Reference to the service client\n */\n constructor(client: CdnManagementClient) {\n this.client = client;\n }\n\n /**\n * Get log report for AFD profile\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which\n * is unique within the resource group. which is unique within the resource group.\n * @param metrics Array of LogMetric\n * @param dateTimeBegin\n * @param dateTimeEnd\n * @param granularity\n * @param customDomains Array of Get11ItemsItem\n * @param protocols Array of Get12ItemsItem\n * @param options The options parameters.\n */\n getLogAnalyticsMetrics(\n resourceGroupName: string,\n profileName: string,\n metrics: LogMetric[],\n dateTimeBegin: Date,\n dateTimeEnd: Date,\n granularity: LogMetricsGranularity,\n customDomains: string[],\n protocols: string[],\n options?: LogAnalyticsGetLogAnalyticsMetricsOptionalParams,\n ): Promise<LogAnalyticsGetLogAnalyticsMetricsResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n profileName,\n metrics,\n dateTimeBegin,\n dateTimeEnd,\n granularity,\n customDomains,\n protocols,\n options,\n },\n getLogAnalyticsMetricsOperationSpec,\n );\n }\n\n /**\n * Get log analytics ranking report for AFD profile\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which\n * is unique within the resource group. which is unique within the resource group.\n * @param rankings Array of LogRanking\n * @param metrics Array of LogRankingMetric\n * @param maxRanking\n * @param dateTimeBegin\n * @param dateTimeEnd\n * @param options The options parameters.\n */\n getLogAnalyticsRankings(\n resourceGroupName: string,\n profileName: string,\n rankings: LogRanking[],\n metrics: LogRankingMetric[],\n maxRanking: number,\n dateTimeBegin: Date,\n dateTimeEnd: Date,\n options?: LogAnalyticsGetLogAnalyticsRankingsOptionalParams,\n ): Promise<LogAnalyticsGetLogAnalyticsRankingsResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n profileName,\n rankings,\n metrics,\n maxRanking,\n dateTimeBegin,\n dateTimeEnd,\n options,\n },\n getLogAnalyticsRankingsOperationSpec,\n );\n }\n\n /**\n * Get all available location names for AFD log analytics report.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which\n * is unique within the resource group. which is unique within the resource group.\n * @param options The options parameters.\n */\n getLogAnalyticsLocations(\n resourceGroupName: string,\n profileName: string,\n options?: LogAnalyticsGetLogAnalyticsLocationsOptionalParams,\n ): Promise<LogAnalyticsGetLogAnalyticsLocationsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, profileName, options },\n getLogAnalyticsLocationsOperationSpec,\n );\n }\n\n /**\n * Get all endpoints and custom domains available for AFD log report\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which\n * is unique within the resource group. which is unique within the resource group.\n * @param options The options parameters.\n */\n getLogAnalyticsResources(\n resourceGroupName: string,\n profileName: string,\n options?: LogAnalyticsGetLogAnalyticsResourcesOptionalParams,\n ): Promise<LogAnalyticsGetLogAnalyticsResourcesResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, profileName, options },\n getLogAnalyticsResourcesOperationSpec,\n );\n }\n\n /**\n * Get Waf related log analytics report for AFD profile.\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which\n * is unique within the resource group. which is unique within the resource group.\n * @param metrics Array of WafMetric\n * @param dateTimeBegin\n * @param dateTimeEnd\n * @param granularity\n * @param options The options parameters.\n */\n getWafLogAnalyticsMetrics(\n resourceGroupName: string,\n profileName: string,\n metrics: WafMetric[],\n dateTimeBegin: Date,\n dateTimeEnd: Date,\n granularity: WafGranularity,\n options?: LogAnalyticsGetWafLogAnalyticsMetricsOptionalParams,\n ): Promise<LogAnalyticsGetWafLogAnalyticsMetricsResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n profileName,\n metrics,\n dateTimeBegin,\n dateTimeEnd,\n granularity,\n options,\n },\n getWafLogAnalyticsMetricsOperationSpec,\n );\n }\n\n /**\n * Get WAF log analytics charts for AFD profile\n * @param resourceGroupName Name of the Resource group within the Azure subscription.\n * @param profileName Name of the Azure Front Door Standard or Azure Front Door Premium profile which\n * is unique within the resource group. which is unique within the resource group.\n * @param metrics Array of WafMetric\n * @param dateTimeBegin\n * @param dateTimeEnd\n * @param maxRanking\n * @param rankings Array of WafRankingType\n * @param options The options parameters.\n */\n getWafLogAnalyticsRankings(\n resourceGroupName: string,\n profileName: string,\n metrics: WafMetric[],\n dateTimeBegin: Date,\n dateTimeEnd: Date,\n maxRanking: number,\n rankings: WafRankingType[],\n options?: LogAnalyticsGetWafLogAnalyticsRankingsOptionalParams,\n ): Promise<LogAnalyticsGetWafLogAnalyticsRankingsResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n profileName,\n metrics,\n dateTimeBegin,\n dateTimeEnd,\n maxRanking,\n rankings,\n options,\n },\n getWafLogAnalyticsRankingsOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getLogAnalyticsMetricsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getLogAnalyticsMetrics\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.MetricsResponse,\n },\n default: {\n bodyMapper: Mappers.AfdErrorResponse,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.metrics,\n Parameters.dateTimeBegin,\n Parameters.dateTimeEnd,\n Parameters.granularity,\n Parameters.groupBy,\n Parameters.continents,\n Parameters.countryOrRegions,\n Parameters.customDomains,\n Parameters.protocols,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getLogAnalyticsRankingsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getLogAnalyticsRankings\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RankingsResponse,\n },\n default: {\n bodyMapper: Mappers.AfdErrorResponse,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.dateTimeBegin,\n Parameters.dateTimeEnd,\n Parameters.rankings,\n Parameters.metrics1,\n Parameters.maxRanking,\n Parameters.customDomains1,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getLogAnalyticsLocationsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getLogAnalyticsLocations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContinentsResponse,\n },\n default: {\n bodyMapper: Mappers.AfdErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getLogAnalyticsResourcesOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getLogAnalyticsResources\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourcesResponse,\n },\n default: {\n bodyMapper: Mappers.AfdErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getWafLogAnalyticsMetricsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getWafLogAnalyticsMetrics\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.WafMetricsResponse,\n },\n default: {\n bodyMapper: Mappers.AfdErrorResponse,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.dateTimeBegin,\n Parameters.dateTimeEnd,\n Parameters.metrics2,\n Parameters.granularity1,\n Parameters.actions,\n Parameters.groupBy1,\n Parameters.ruleTypes,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getWafLogAnalyticsRankingsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getWafLogAnalyticsRankings\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.WafRankingsResponse,\n },\n default: {\n bodyMapper: Mappers.AfdErrorResponse,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.dateTimeBegin,\n Parameters.dateTimeEnd,\n Parameters.maxRanking,\n Parameters.metrics2,\n Parameters.actions,\n Parameters.ruleTypes,\n Parameters.rankings1,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.profileName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -16,6 +16,7 @@ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
16
16
  /// <reference lib="esnext.asynciterable" />
17
17
  /** Class containing ManagedRuleSets operations. */
18
18
  class ManagedRuleSetsImpl {
19
+ client;
19
20
  /**
20
21
  * Initialize a new instance of the class ManagedRuleSets class.
21
22
  * @param client Reference to the service client
@@ -37,52 +38,35 @@ class ManagedRuleSetsImpl {
37
38
  return this;
38
39
  },
39
40
  byPage: (settings) => {
40
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
41
+ if (settings?.maxPageSize) {
41
42
  throw new Error("maxPageSize is not supported by this operation.");
42
43
  }
43
44
  return this.listPagingPage(options, settings);
44
45
  },
45
46
  };
46
47
  }
47
- listPagingPage(options, settings) {
48
- return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_1() {
49
- let result;
50
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
51
- if (!continuationToken) {
52
- result = yield tslib_1.__await(this._list(options));
53
- let page = result.value || [];
54
- continuationToken = result.nextLink;
55
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
56
- yield yield tslib_1.__await(page);
57
- }
58
- while (continuationToken) {
59
- result = yield tslib_1.__await(this._listNext(continuationToken, options));
60
- continuationToken = result.nextLink;
61
- let page = result.value || [];
62
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
63
- yield yield tslib_1.__await(page);
64
- }
65
- });
48
+ async *listPagingPage(options, settings) {
49
+ let result;
50
+ let continuationToken = settings?.continuationToken;
51
+ if (!continuationToken) {
52
+ result = await this._list(options);
53
+ let page = result.value || [];
54
+ continuationToken = result.nextLink;
55
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
56
+ yield page;
57
+ }
58
+ while (continuationToken) {
59
+ result = await this._listNext(continuationToken, options);
60
+ continuationToken = result.nextLink;
61
+ let page = result.value || [];
62
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
63
+ yield page;
64
+ }
66
65
  }
67
- listPagingAll(options) {
68
- return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
69
- var _a, e_1, _b, _c;
70
- try {
71
- for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
72
- _c = _f.value;
73
- _d = false;
74
- const page = _c;
75
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
76
- }
77
- }
78
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
79
- finally {
80
- try {
81
- if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
82
- }
83
- finally { if (e_1) throw e_1.error; }
84
- }
85
- });
66
+ async *listPagingAll(options) {
67
+ for await (const page of this.listPagingPage(options)) {
68
+ yield* page;
69
+ }
86
70
  }
87
71
  /**
88
72
  * Lists all available managed rule sets.
@@ -1 +1 @@
1
- {"version":3,"file":"managedRuleSets.js","sourceRoot":"","sources":["../../../src/operations/managedRuleSets.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,mDAAmD;AACnD,MAAa,mBAAmB;IAG9B;;;OAGG;IACH,YAAY,MAA2B;QACrC,IAAI,CAAC,MAAM,GAAG,MA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cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,4BAA4B;SACjD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { ManagedRuleSets } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { CdnManagementClient } from \"../cdnManagementClient.js\";\nimport {\n ManagedRuleSetDefinition,\n ManagedRuleSetsListNextOptionalParams,\n ManagedRuleSetsListOptionalParams,\n ManagedRuleSetsListResponse,\n ManagedRuleSetsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ManagedRuleSets operations. */\nexport class ManagedRuleSetsImpl implements ManagedRuleSets {\n private readonly client: CdnManagementClient;\n\n /**\n * Initialize a new instance of the class ManagedRuleSets class.\n * @param client Reference to the service client\n */\n constructor(client: CdnManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all available managed rule sets.\n * @param options The options parameters.\n */\n public list(\n options?: ManagedRuleSetsListOptionalParams,\n ): PagedAsyncIterableIterator<ManagedRuleSetDefinition> {\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?: ManagedRuleSetsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ManagedRuleSetDefinition[]> {\n let result: ManagedRuleSetsListResponse;\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?: ManagedRuleSetsListOptionalParams,\n ): AsyncIterableIterator<ManagedRuleSetDefinition> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all available managed rule sets.\n * @param options The options parameters.\n */\n private _list(\n options?: ManagedRuleSetsListOptionalParams,\n ): Promise<ManagedRuleSetsListResponse> {\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?: ManagedRuleSetsListNextOptionalParams,\n ): Promise<ManagedRuleSetsListNextResponse> {\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: \"/subscriptions/{subscriptionId}/providers/Microsoft.Cdn/cdnWebApplicationFirewallManagedRuleSets\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedRuleSetDefinitionList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\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.ManagedRuleSetDefinitionList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"managedRuleSets.js","sourceRoot":"","sources":["../../../src/operations/managedRuleSets.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,mDAAmD;AACnD,MAAa,mBAAmB;IACb,MAAM,CAAsB;IAE7C;;;OAGG;IACH,YAAY,MAA2B;QACrC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAA2C;QAE3C,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAChD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AAoB,CACrC,EAAE,QAAQ,EAAE,OAAO,EAAE,EACrB,qBAAqB,CACtB,CAAC;IACJ,CAAC;CACF;AAzFD,kDAyFC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,kGAAkG;IACxG,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,4BAA4B;SACjD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,4BAA4B;SACjD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { ManagedRuleSets } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { CdnManagementClient } from \"../cdnManagementClient.js\";\nimport {\n ManagedRuleSetDefinition,\n ManagedRuleSetsListNextOptionalParams,\n ManagedRuleSetsListOptionalParams,\n ManagedRuleSetsListResponse,\n ManagedRuleSetsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ManagedRuleSets operations. */\nexport class ManagedRuleSetsImpl implements ManagedRuleSets {\n private readonly client: CdnManagementClient;\n\n /**\n * Initialize a new instance of the class ManagedRuleSets class.\n * @param client Reference to the service client\n */\n constructor(client: CdnManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all available managed rule sets.\n * @param options The options parameters.\n */\n public list(\n options?: ManagedRuleSetsListOptionalParams,\n ): PagedAsyncIterableIterator<ManagedRuleSetDefinition> {\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?: ManagedRuleSetsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ManagedRuleSetDefinition[]> {\n let result: ManagedRuleSetsListResponse;\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?: ManagedRuleSetsListOptionalParams,\n ): AsyncIterableIterator<ManagedRuleSetDefinition> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all available managed rule sets.\n * @param options The options parameters.\n */\n private _list(\n options?: ManagedRuleSetsListOptionalParams,\n ): Promise<ManagedRuleSetsListResponse> {\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?: ManagedRuleSetsListNextOptionalParams,\n ): Promise<ManagedRuleSetsListNextResponse> {\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: \"/subscriptions/{subscriptionId}/providers/Microsoft.Cdn/cdnWebApplicationFirewallManagedRuleSets\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedRuleSetDefinitionList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\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.ManagedRuleSetDefinitionList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}