@azure/arm-keyvault 3.1.1-alpha.20250327.1 → 3.2.0

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 (213) hide show
  1. package/CHANGELOG.md +6 -9
  2. package/LICENSE +1 -1
  3. package/README.md +2 -5
  4. package/dist/browser/keyVaultManagementClient.js +11 -10
  5. package/dist/browser/keyVaultManagementClient.js.map +1 -1
  6. package/dist/browser/lroImpl.d.ts.map +1 -1
  7. package/dist/browser/lroImpl.js +8 -1
  8. package/dist/browser/lroImpl.js.map +1 -1
  9. package/dist/browser/models/index.d.ts +14 -11
  10. package/dist/browser/models/index.d.ts.map +1 -1
  11. package/dist/browser/models/index.js +2 -0
  12. package/dist/browser/models/index.js.map +1 -1
  13. package/dist/browser/models/mappers.d.ts.map +1 -1
  14. package/dist/browser/models/mappers.js +1105 -1096
  15. package/dist/browser/models/mappers.js.map +1 -1
  16. package/dist/browser/models/parameters.js +86 -86
  17. package/dist/browser/models/parameters.js.map +1 -1
  18. package/dist/browser/operations/keys.js +37 -37
  19. package/dist/browser/operations/keys.js.map +1 -1
  20. package/dist/browser/operations/managedHsmKeys.js +37 -37
  21. package/dist/browser/operations/managedHsmKeys.js.map +1 -1
  22. package/dist/browser/operations/managedHsms.d.ts.map +1 -1
  23. package/dist/browser/operations/managedHsms.js +90 -90
  24. package/dist/browser/operations/managedHsms.js.map +1 -1
  25. package/dist/browser/operations/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  26. package/dist/browser/operations/mhsmPrivateEndpointConnections.js +35 -35
  27. package/dist/browser/operations/mhsmPrivateEndpointConnections.js.map +1 -1
  28. package/dist/browser/operations/mhsmPrivateLinkResources.js +5 -5
  29. package/dist/browser/operations/mhsmPrivateLinkResources.js.map +1 -1
  30. package/dist/browser/operations/mhsmRegions.js +11 -11
  31. package/dist/browser/operations/mhsmRegions.js.map +1 -1
  32. package/dist/browser/operations/operations.js +9 -9
  33. package/dist/browser/operations/operations.js.map +1 -1
  34. package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -1
  35. package/dist/browser/operations/privateEndpointConnections.js +36 -36
  36. package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
  37. package/dist/browser/operations/privateLinkResources.js +5 -5
  38. package/dist/browser/operations/privateLinkResources.js.map +1 -1
  39. package/dist/browser/operations/secrets.js +28 -28
  40. package/dist/browser/operations/secrets.js.map +1 -1
  41. package/dist/browser/operations/vaults.d.ts.map +1 -1
  42. package/dist/browser/operations/vaults.js +92 -92
  43. package/dist/browser/operations/vaults.js.map +1 -1
  44. package/dist/browser/operationsInterfaces/keys.js.map +1 -1
  45. package/dist/browser/operationsInterfaces/managedHsmKeys.js.map +1 -1
  46. package/dist/browser/operationsInterfaces/managedHsms.js.map +1 -1
  47. package/dist/browser/operationsInterfaces/mhsmPrivateEndpointConnections.js.map +1 -1
  48. package/dist/browser/operationsInterfaces/mhsmPrivateLinkResources.js.map +1 -1
  49. package/dist/browser/operationsInterfaces/mhsmRegions.js.map +1 -1
  50. package/dist/browser/operationsInterfaces/operations.js.map +1 -1
  51. package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  52. package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -1
  53. package/dist/browser/operationsInterfaces/secrets.js.map +1 -1
  54. package/dist/browser/operationsInterfaces/vaults.js.map +1 -1
  55. package/dist/browser/pagingHelper.js.map +1 -1
  56. package/dist/commonjs/keyVaultManagementClient.js +10 -9
  57. package/dist/commonjs/keyVaultManagementClient.js.map +1 -1
  58. package/dist/commonjs/lroImpl.d.ts.map +1 -1
  59. package/dist/commonjs/lroImpl.js +8 -1
  60. package/dist/commonjs/lroImpl.js.map +1 -1
  61. package/dist/commonjs/models/index.d.ts +14 -11
  62. package/dist/commonjs/models/index.d.ts.map +1 -1
  63. package/dist/commonjs/models/index.js +2 -0
  64. package/dist/commonjs/models/index.js.map +1 -1
  65. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  66. package/dist/commonjs/models/mappers.js +1105 -1096
  67. package/dist/commonjs/models/mappers.js.map +1 -1
  68. package/dist/commonjs/models/parameters.js +85 -85
  69. package/dist/commonjs/models/parameters.js.map +1 -1
  70. package/dist/commonjs/operations/keys.js +37 -37
  71. package/dist/commonjs/operations/keys.js.map +1 -1
  72. package/dist/commonjs/operations/managedHsmKeys.js +37 -37
  73. package/dist/commonjs/operations/managedHsmKeys.js.map +1 -1
  74. package/dist/commonjs/operations/managedHsms.d.ts.map +1 -1
  75. package/dist/commonjs/operations/managedHsms.js +89 -89
  76. package/dist/commonjs/operations/managedHsms.js.map +1 -1
  77. package/dist/commonjs/operations/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  78. package/dist/commonjs/operations/mhsmPrivateEndpointConnections.js +34 -34
  79. package/dist/commonjs/operations/mhsmPrivateEndpointConnections.js.map +1 -1
  80. package/dist/commonjs/operations/mhsmPrivateLinkResources.js +5 -5
  81. package/dist/commonjs/operations/mhsmPrivateLinkResources.js.map +1 -1
  82. package/dist/commonjs/operations/mhsmRegions.js +11 -11
  83. package/dist/commonjs/operations/mhsmRegions.js.map +1 -1
  84. package/dist/commonjs/operations/operations.js +9 -9
  85. package/dist/commonjs/operations/operations.js.map +1 -1
  86. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -1
  87. package/dist/commonjs/operations/privateEndpointConnections.js +35 -35
  88. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
  89. package/dist/commonjs/operations/privateLinkResources.js +5 -5
  90. package/dist/commonjs/operations/privateLinkResources.js.map +1 -1
  91. package/dist/commonjs/operations/secrets.js +28 -28
  92. package/dist/commonjs/operations/secrets.js.map +1 -1
  93. package/dist/commonjs/operations/vaults.d.ts.map +1 -1
  94. package/dist/commonjs/operations/vaults.js +91 -91
  95. package/dist/commonjs/operations/vaults.js.map +1 -1
  96. package/dist/commonjs/operationsInterfaces/keys.js.map +1 -1
  97. package/dist/commonjs/operationsInterfaces/managedHsmKeys.js.map +1 -1
  98. package/dist/commonjs/operationsInterfaces/managedHsms.js.map +1 -1
  99. package/dist/commonjs/operationsInterfaces/mhsmPrivateEndpointConnections.js.map +1 -1
  100. package/dist/commonjs/operationsInterfaces/mhsmPrivateLinkResources.js.map +1 -1
  101. package/dist/commonjs/operationsInterfaces/mhsmRegions.js.map +1 -1
  102. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
  103. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  104. package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -1
  105. package/dist/commonjs/operationsInterfaces/secrets.js.map +1 -1
  106. package/dist/commonjs/operationsInterfaces/vaults.js.map +1 -1
  107. package/dist/commonjs/pagingHelper.js.map +1 -1
  108. package/dist/esm/keyVaultManagementClient.js +11 -10
  109. package/dist/esm/keyVaultManagementClient.js.map +1 -1
  110. package/dist/esm/lroImpl.d.ts.map +1 -1
  111. package/dist/esm/lroImpl.js +8 -1
  112. package/dist/esm/lroImpl.js.map +1 -1
  113. package/dist/esm/models/index.d.ts +14 -11
  114. package/dist/esm/models/index.d.ts.map +1 -1
  115. package/dist/esm/models/index.js +2 -0
  116. package/dist/esm/models/index.js.map +1 -1
  117. package/dist/esm/models/mappers.d.ts.map +1 -1
  118. package/dist/esm/models/mappers.js +1105 -1096
  119. package/dist/esm/models/mappers.js.map +1 -1
  120. package/dist/esm/models/parameters.js +86 -86
  121. package/dist/esm/models/parameters.js.map +1 -1
  122. package/dist/esm/operations/keys.js +37 -37
  123. package/dist/esm/operations/keys.js.map +1 -1
  124. package/dist/esm/operations/managedHsmKeys.js +37 -37
  125. package/dist/esm/operations/managedHsmKeys.js.map +1 -1
  126. package/dist/esm/operations/managedHsms.d.ts.map +1 -1
  127. package/dist/esm/operations/managedHsms.js +90 -90
  128. package/dist/esm/operations/managedHsms.js.map +1 -1
  129. package/dist/esm/operations/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  130. package/dist/esm/operations/mhsmPrivateEndpointConnections.js +35 -35
  131. package/dist/esm/operations/mhsmPrivateEndpointConnections.js.map +1 -1
  132. package/dist/esm/operations/mhsmPrivateLinkResources.js +5 -5
  133. package/dist/esm/operations/mhsmPrivateLinkResources.js.map +1 -1
  134. package/dist/esm/operations/mhsmRegions.js +11 -11
  135. package/dist/esm/operations/mhsmRegions.js.map +1 -1
  136. package/dist/esm/operations/operations.js +9 -9
  137. package/dist/esm/operations/operations.js.map +1 -1
  138. package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -1
  139. package/dist/esm/operations/privateEndpointConnections.js +36 -36
  140. package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
  141. package/dist/esm/operations/privateLinkResources.js +5 -5
  142. package/dist/esm/operations/privateLinkResources.js.map +1 -1
  143. package/dist/esm/operations/secrets.js +28 -28
  144. package/dist/esm/operations/secrets.js.map +1 -1
  145. package/dist/esm/operations/vaults.d.ts.map +1 -1
  146. package/dist/esm/operations/vaults.js +92 -92
  147. package/dist/esm/operations/vaults.js.map +1 -1
  148. package/dist/esm/operationsInterfaces/keys.js.map +1 -1
  149. package/dist/esm/operationsInterfaces/managedHsmKeys.js.map +1 -1
  150. package/dist/esm/operationsInterfaces/managedHsms.js.map +1 -1
  151. package/dist/esm/operationsInterfaces/mhsmPrivateEndpointConnections.js.map +1 -1
  152. package/dist/esm/operationsInterfaces/mhsmPrivateLinkResources.js.map +1 -1
  153. package/dist/esm/operationsInterfaces/mhsmRegions.js.map +1 -1
  154. package/dist/esm/operationsInterfaces/operations.js.map +1 -1
  155. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  156. package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -1
  157. package/dist/esm/operationsInterfaces/secrets.js.map +1 -1
  158. package/dist/esm/operationsInterfaces/vaults.js.map +1 -1
  159. package/dist/esm/pagingHelper.js.map +1 -1
  160. package/dist/react-native/keyVaultManagementClient.js +11 -10
  161. package/dist/react-native/keyVaultManagementClient.js.map +1 -1
  162. package/dist/react-native/lroImpl.d.ts.map +1 -1
  163. package/dist/react-native/lroImpl.js +8 -1
  164. package/dist/react-native/lroImpl.js.map +1 -1
  165. package/dist/react-native/models/index.d.ts +14 -11
  166. package/dist/react-native/models/index.d.ts.map +1 -1
  167. package/dist/react-native/models/index.js +2 -0
  168. package/dist/react-native/models/index.js.map +1 -1
  169. package/dist/react-native/models/mappers.d.ts.map +1 -1
  170. package/dist/react-native/models/mappers.js +1105 -1096
  171. package/dist/react-native/models/mappers.js.map +1 -1
  172. package/dist/react-native/models/parameters.js +86 -86
  173. package/dist/react-native/models/parameters.js.map +1 -1
  174. package/dist/react-native/operations/keys.js +37 -37
  175. package/dist/react-native/operations/keys.js.map +1 -1
  176. package/dist/react-native/operations/managedHsmKeys.js +37 -37
  177. package/dist/react-native/operations/managedHsmKeys.js.map +1 -1
  178. package/dist/react-native/operations/managedHsms.d.ts.map +1 -1
  179. package/dist/react-native/operations/managedHsms.js +90 -90
  180. package/dist/react-native/operations/managedHsms.js.map +1 -1
  181. package/dist/react-native/operations/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  182. package/dist/react-native/operations/mhsmPrivateEndpointConnections.js +35 -35
  183. package/dist/react-native/operations/mhsmPrivateEndpointConnections.js.map +1 -1
  184. package/dist/react-native/operations/mhsmPrivateLinkResources.js +5 -5
  185. package/dist/react-native/operations/mhsmPrivateLinkResources.js.map +1 -1
  186. package/dist/react-native/operations/mhsmRegions.js +11 -11
  187. package/dist/react-native/operations/mhsmRegions.js.map +1 -1
  188. package/dist/react-native/operations/operations.js +9 -9
  189. package/dist/react-native/operations/operations.js.map +1 -1
  190. package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -1
  191. package/dist/react-native/operations/privateEndpointConnections.js +36 -36
  192. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
  193. package/dist/react-native/operations/privateLinkResources.js +5 -5
  194. package/dist/react-native/operations/privateLinkResources.js.map +1 -1
  195. package/dist/react-native/operations/secrets.js +28 -28
  196. package/dist/react-native/operations/secrets.js.map +1 -1
  197. package/dist/react-native/operations/vaults.d.ts.map +1 -1
  198. package/dist/react-native/operations/vaults.js +92 -92
  199. package/dist/react-native/operations/vaults.js.map +1 -1
  200. package/dist/react-native/operationsInterfaces/keys.js.map +1 -1
  201. package/dist/react-native/operationsInterfaces/managedHsmKeys.js.map +1 -1
  202. package/dist/react-native/operationsInterfaces/managedHsms.js.map +1 -1
  203. package/dist/react-native/operationsInterfaces/mhsmPrivateEndpointConnections.js.map +1 -1
  204. package/dist/react-native/operationsInterfaces/mhsmPrivateLinkResources.js.map +1 -1
  205. package/dist/react-native/operationsInterfaces/mhsmRegions.js.map +1 -1
  206. package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
  207. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  208. package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -1
  209. package/dist/react-native/operationsInterfaces/secrets.js.map +1 -1
  210. package/dist/react-native/operationsInterfaces/vaults.js.map +1 -1
  211. package/dist/react-native/pagingHelper.js.map +1 -1
  212. package/package.json +12 -10
  213. package/review/arm-keyvault.api.md +4 -2
@@ -1 +1 @@
1
- {"version":3,"file":"managedHsms.js","sourceRoot":"","sources":["../../../src/operations/managedHsms.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAgC9C,4CAA4C;AAC5C,+CAA+C;AAC/C,MAAa,eAAe;IAG1B;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,mBAAmB,CACxB,iBAAyB,EACzB,OAAsD;QAEtD,MAAM,IAAI,GAAG,IAAI,CAAC,4BAA4B,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;QAC3E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,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AM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,4BAA4B,GAA6B;IAC7D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,2BAA2B;SAChD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,eAAe;SACpC;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 { ManagedHsms } 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 { KeyVaultManagementClient } from \"../keyVaultManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n ManagedHsm,\n ManagedHsmsListByResourceGroupNextOptionalParams,\n ManagedHsmsListByResourceGroupOptionalParams,\n ManagedHsmsListByResourceGroupResponse,\n ManagedHsmsListBySubscriptionNextOptionalParams,\n ManagedHsmsListBySubscriptionOptionalParams,\n ManagedHsmsListBySubscriptionResponse,\n DeletedManagedHsm,\n ManagedHsmsListDeletedNextOptionalParams,\n ManagedHsmsListDeletedOptionalParams,\n ManagedHsmsListDeletedResponse,\n ManagedHsmsCreateOrUpdateOptionalParams,\n ManagedHsmsCreateOrUpdateResponse,\n ManagedHsmsUpdateOptionalParams,\n ManagedHsmsUpdateResponse,\n ManagedHsmsDeleteOptionalParams,\n ManagedHsmsGetOptionalParams,\n ManagedHsmsGetResponse,\n ManagedHsmsGetDeletedOptionalParams,\n ManagedHsmsGetDeletedResponse,\n ManagedHsmsPurgeDeletedOptionalParams,\n ManagedHsmsPurgeDeletedResponse,\n CheckMhsmNameAvailabilityParameters,\n ManagedHsmsCheckMhsmNameAvailabilityOptionalParams,\n ManagedHsmsCheckMhsmNameAvailabilityResponse,\n ManagedHsmsListByResourceGroupNextResponse,\n ManagedHsmsListBySubscriptionNextResponse,\n ManagedHsmsListDeletedNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ManagedHsms operations. */\nexport class ManagedHsmsImpl implements ManagedHsms {\n private readonly client: KeyVaultManagementClient;\n\n /**\n * Initialize a new instance of the class ManagedHsms class.\n * @param client Reference to the service client\n */\n constructor(client: KeyVaultManagementClient) {\n this.client = client;\n }\n\n /**\n * The List operation gets information about the managed HSM Pools associated with the subscription and\n * within the specified resource group.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: ManagedHsmsListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<ManagedHsm> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: ManagedHsmsListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<ManagedHsm[]> {\n let result: ManagedHsmsListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: ManagedHsmsListByResourceGroupOptionalParams\n ): AsyncIterableIterator<ManagedHsm> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * The List operation gets information about the managed HSM Pools associated with the subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: ManagedHsmsListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<ManagedHsm> {\n const iter = this.listBySubscriptionPagingAll(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.listBySubscriptionPagingPage(options, settings);\n }\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: ManagedHsmsListBySubscriptionOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<ManagedHsm[]> {\n let result: ManagedHsmsListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(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._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: ManagedHsmsListBySubscriptionOptionalParams\n ): AsyncIterableIterator<ManagedHsm> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * The List operation gets information about the deleted managed HSMs associated with the subscription.\n * @param options The options parameters.\n */\n public listDeleted(\n options?: ManagedHsmsListDeletedOptionalParams\n ): PagedAsyncIterableIterator<DeletedManagedHsm> {\n const iter = this.listDeletedPagingAll(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.listDeletedPagingPage(options, settings);\n }\n };\n }\n\n private async *listDeletedPagingPage(\n options?: ManagedHsmsListDeletedOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<DeletedManagedHsm[]> {\n let result: ManagedHsmsListDeletedResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listDeleted(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._listDeletedNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listDeletedPagingAll(\n options?: ManagedHsmsListDeletedOptionalParams\n ): AsyncIterableIterator<DeletedManagedHsm> {\n for await (const page of this.listDeletedPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Create or update a managed HSM Pool in the specified subscription.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name Name of the managed HSM Pool\n * @param parameters Parameters to create or update the managed HSM Pool\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n name: string,\n parameters: ManagedHsm,\n options?: ManagedHsmsCreateOrUpdateOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<ManagedHsmsCreateOrUpdateResponse>,\n ManagedHsmsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<ManagedHsmsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, name, parameters, options },\n spec: createOrUpdateOperationSpec\n });\n const poller = await createHttpPoller<\n ManagedHsmsCreateOrUpdateResponse,\n OperationState<ManagedHsmsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create or update a managed HSM Pool in the specified subscription.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name Name of the managed HSM Pool\n * @param parameters Parameters to create or update the managed HSM Pool\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n name: string,\n parameters: ManagedHsm,\n options?: ManagedHsmsCreateOrUpdateOptionalParams\n ): Promise<ManagedHsmsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n name,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Update a managed HSM Pool in the specified subscription.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name Name of the managed HSM Pool\n * @param parameters Parameters to patch the managed HSM Pool\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n name: string,\n parameters: ManagedHsm,\n options?: ManagedHsmsUpdateOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<ManagedHsmsUpdateResponse>,\n ManagedHsmsUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<ManagedHsmsUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, name, parameters, options },\n spec: updateOperationSpec\n });\n const poller = await createHttpPoller<\n ManagedHsmsUpdateResponse,\n OperationState<ManagedHsmsUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Update a managed HSM Pool in the specified subscription.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name Name of the managed HSM Pool\n * @param parameters Parameters to patch the managed HSM Pool\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n name: string,\n parameters: ManagedHsm,\n options?: ManagedHsmsUpdateOptionalParams\n ): Promise<ManagedHsmsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n name,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes the specified managed HSM Pool.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name The name of the managed HSM Pool to delete\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n name: string,\n options?: ManagedHsmsDeleteOptionalParams\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:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, name, 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 the specified managed HSM Pool.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name The name of the managed HSM Pool to delete\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n name: string,\n options?: ManagedHsmsDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(resourceGroupName, name, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Gets the specified managed HSM Pool.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name The name of the managed HSM Pool.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n name: string,\n options?: ManagedHsmsGetOptionalParams\n ): Promise<ManagedHsmsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, name, options },\n getOperationSpec\n );\n }\n\n /**\n * The List operation gets information about the managed HSM Pools associated with the subscription and\n * within the specified resource group.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: ManagedHsmsListByResourceGroupOptionalParams\n ): Promise<ManagedHsmsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * The List operation gets information about the managed HSM Pools associated with the subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: ManagedHsmsListBySubscriptionOptionalParams\n ): Promise<ManagedHsmsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * The List operation gets information about the deleted managed HSMs associated with the subscription.\n * @param options The options parameters.\n */\n private _listDeleted(\n options?: ManagedHsmsListDeletedOptionalParams\n ): Promise<ManagedHsmsListDeletedResponse> {\n return this.client.sendOperationRequest(\n { options },\n listDeletedOperationSpec\n );\n }\n\n /**\n * Gets the specified deleted managed HSM.\n * @param name The name of the deleted managed HSM.\n * @param location The location of the deleted managed HSM.\n * @param options The options parameters.\n */\n getDeleted(\n name: string,\n location: string,\n options?: ManagedHsmsGetDeletedOptionalParams\n ): Promise<ManagedHsmsGetDeletedResponse> {\n return this.client.sendOperationRequest(\n { name, location, options },\n getDeletedOperationSpec\n );\n }\n\n /**\n * Permanently deletes the specified managed HSM.\n * @param name The name of the soft-deleted managed HSM.\n * @param location The location of the soft-deleted managed HSM.\n * @param options The options parameters.\n */\n async beginPurgeDeleted(\n name: string,\n location: string,\n options?: ManagedHsmsPurgeDeletedOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<ManagedHsmsPurgeDeletedResponse>,\n ManagedHsmsPurgeDeletedResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<ManagedHsmsPurgeDeletedResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { name, location, options },\n spec: purgeDeletedOperationSpec\n });\n const poller = await createHttpPoller<\n ManagedHsmsPurgeDeletedResponse,\n OperationState<ManagedHsmsPurgeDeletedResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Permanently deletes the specified managed HSM.\n * @param name The name of the soft-deleted managed HSM.\n * @param location The location of the soft-deleted managed HSM.\n * @param options The options parameters.\n */\n async beginPurgeDeletedAndWait(\n name: string,\n location: string,\n options?: ManagedHsmsPurgeDeletedOptionalParams\n ): Promise<ManagedHsmsPurgeDeletedResponse> {\n const poller = await this.beginPurgeDeleted(name, location, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Checks that the managed hsm name is valid and is not already in use.\n * @param mhsmName The name of the managed hsm.\n * @param options The options parameters.\n */\n checkMhsmNameAvailability(\n mhsmName: CheckMhsmNameAvailabilityParameters,\n options?: ManagedHsmsCheckMhsmNameAvailabilityOptionalParams\n ): Promise<ManagedHsmsCheckMhsmNameAvailabilityResponse> {\n return this.client.sendOperationRequest(\n { mhsmName, options },\n checkMhsmNameAvailabilityOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: ManagedHsmsListByResourceGroupNextOptionalParams\n ): Promise<ManagedHsmsListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: ManagedHsmsListBySubscriptionNextOptionalParams\n ): Promise<ManagedHsmsListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec\n );\n }\n\n /**\n * ListDeletedNext\n * @param nextLink The nextLink from the previous successful call to the ListDeleted method.\n * @param options The options parameters.\n */\n private _listDeletedNext(\n nextLink: string,\n options?: ManagedHsmsListDeletedNextOptionalParams\n ): Promise<ManagedHsmsListDeletedNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listDeletedNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsm\n },\n 201: {\n bodyMapper: Mappers.ManagedHsm\n },\n 202: {\n bodyMapper: Mappers.ManagedHsm\n },\n 204: {\n bodyMapper: Mappers.ManagedHsm\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError\n }\n },\n requestBody: Parameters.parameters5,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.name1\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsm\n },\n 201: {\n bodyMapper: Mappers.ManagedHsm\n },\n 202: {\n bodyMapper: Mappers.ManagedHsm\n },\n 204: {\n bodyMapper: Mappers.ManagedHsm\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError\n }\n },\n requestBody: Parameters.parameters5,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.name1\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ManagedHsmError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.name1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsm\n },\n 204: {},\n default: {\n bodyMapper: Mappers.ManagedHsmError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.name1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsmListResult\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.top],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/managedHSMs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsmListResult\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.top],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listDeletedOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/deletedManagedHSMs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeletedManagedHsmListResult\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getDeletedOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedManagedHSMs/{name}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeletedManagedHsm\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.location,\n Parameters.name1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst purgeDeletedOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedManagedHSMs/{name}/purge\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n headersMapper: Mappers.ManagedHsmsPurgeDeletedHeaders\n },\n 201: {\n headersMapper: Mappers.ManagedHsmsPurgeDeletedHeaders\n },\n 202: {\n headersMapper: Mappers.ManagedHsmsPurgeDeletedHeaders\n },\n 204: {\n headersMapper: Mappers.ManagedHsmsPurgeDeletedHeaders\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.location,\n Parameters.name1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst checkMhsmNameAvailabilityOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/checkMhsmNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckMhsmNameAvailabilityResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.mhsmName,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsmListResult\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsmListResult\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listDeletedNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeletedManagedHsmListResult\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError\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":"managedHsms.js","sourceRoot":"","sources":["../../../src/operations/managedHsms.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAgC9C,4CAA4C;AAC5C,+CAA+C;AAC/C,MAAa,eAAe;IAG1B;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,mBAAmB,CACxB,iBAAyB,EACzB,OAAsD;QAEtD,MAAM,IAAI,GAAG,IAAI,CAAC,4BAA4B,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;QAC3E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,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;IAC7D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,2BAA2B;SAChD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,eAAe;SACpC;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 { ManagedHsms } 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 { KeyVaultManagementClient } from \"../keyVaultManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n ManagedHsm,\n ManagedHsmsListByResourceGroupNextOptionalParams,\n ManagedHsmsListByResourceGroupOptionalParams,\n ManagedHsmsListByResourceGroupResponse,\n ManagedHsmsListBySubscriptionNextOptionalParams,\n ManagedHsmsListBySubscriptionOptionalParams,\n ManagedHsmsListBySubscriptionResponse,\n DeletedManagedHsm,\n ManagedHsmsListDeletedNextOptionalParams,\n ManagedHsmsListDeletedOptionalParams,\n ManagedHsmsListDeletedResponse,\n ManagedHsmsCreateOrUpdateOptionalParams,\n ManagedHsmsCreateOrUpdateResponse,\n ManagedHsmsUpdateOptionalParams,\n ManagedHsmsUpdateResponse,\n ManagedHsmsDeleteOptionalParams,\n ManagedHsmsGetOptionalParams,\n ManagedHsmsGetResponse,\n ManagedHsmsGetDeletedOptionalParams,\n ManagedHsmsGetDeletedResponse,\n ManagedHsmsPurgeDeletedOptionalParams,\n ManagedHsmsPurgeDeletedResponse,\n CheckMhsmNameAvailabilityParameters,\n ManagedHsmsCheckMhsmNameAvailabilityOptionalParams,\n ManagedHsmsCheckMhsmNameAvailabilityResponse,\n ManagedHsmsListByResourceGroupNextResponse,\n ManagedHsmsListBySubscriptionNextResponse,\n ManagedHsmsListDeletedNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ManagedHsms operations. */\nexport class ManagedHsmsImpl implements ManagedHsms {\n private readonly client: KeyVaultManagementClient;\n\n /**\n * Initialize a new instance of the class ManagedHsms class.\n * @param client Reference to the service client\n */\n constructor(client: KeyVaultManagementClient) {\n this.client = client;\n }\n\n /**\n * The List operation gets information about the managed HSM Pools associated with the subscription and\n * within the specified resource group.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: ManagedHsmsListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<ManagedHsm> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: ManagedHsmsListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ManagedHsm[]> {\n let result: ManagedHsmsListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: ManagedHsmsListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<ManagedHsm> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * The List operation gets information about the managed HSM Pools associated with the subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: ManagedHsmsListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<ManagedHsm> {\n const iter = this.listBySubscriptionPagingAll(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.listBySubscriptionPagingPage(options, settings);\n },\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: ManagedHsmsListBySubscriptionOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ManagedHsm[]> {\n let result: ManagedHsmsListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(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._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: ManagedHsmsListBySubscriptionOptionalParams,\n ): AsyncIterableIterator<ManagedHsm> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * The List operation gets information about the deleted managed HSMs associated with the subscription.\n * @param options The options parameters.\n */\n public listDeleted(\n options?: ManagedHsmsListDeletedOptionalParams,\n ): PagedAsyncIterableIterator<DeletedManagedHsm> {\n const iter = this.listDeletedPagingAll(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.listDeletedPagingPage(options, settings);\n },\n };\n }\n\n private async *listDeletedPagingPage(\n options?: ManagedHsmsListDeletedOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<DeletedManagedHsm[]> {\n let result: ManagedHsmsListDeletedResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listDeleted(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._listDeletedNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listDeletedPagingAll(\n options?: ManagedHsmsListDeletedOptionalParams,\n ): AsyncIterableIterator<DeletedManagedHsm> {\n for await (const page of this.listDeletedPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Create or update a managed HSM Pool in the specified subscription.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name Name of the managed HSM Pool\n * @param parameters Parameters to create or update the managed HSM Pool\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n name: string,\n parameters: ManagedHsm,\n options?: ManagedHsmsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ManagedHsmsCreateOrUpdateResponse>,\n ManagedHsmsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ManagedHsmsCreateOrUpdateResponse> => {\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, name, parameters, options },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n ManagedHsmsCreateOrUpdateResponse,\n OperationState<ManagedHsmsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create or update a managed HSM Pool in the specified subscription.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name Name of the managed HSM Pool\n * @param parameters Parameters to create or update the managed HSM Pool\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n name: string,\n parameters: ManagedHsm,\n options?: ManagedHsmsCreateOrUpdateOptionalParams,\n ): Promise<ManagedHsmsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n name,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Update a managed HSM Pool in the specified subscription.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name Name of the managed HSM Pool\n * @param parameters Parameters to patch the managed HSM Pool\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n name: string,\n parameters: ManagedHsm,\n options?: ManagedHsmsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ManagedHsmsUpdateResponse>,\n ManagedHsmsUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ManagedHsmsUpdateResponse> => {\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, name, parameters, options },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n ManagedHsmsUpdateResponse,\n OperationState<ManagedHsmsUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Update a managed HSM Pool in the specified subscription.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name Name of the managed HSM Pool\n * @param parameters Parameters to patch the managed HSM Pool\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n name: string,\n parameters: ManagedHsm,\n options?: ManagedHsmsUpdateOptionalParams,\n ): Promise<ManagedHsmsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n name,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes the specified managed HSM Pool.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name The name of the managed HSM Pool to delete\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n name: string,\n options?: ManagedHsmsDeleteOptionalParams,\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, name, 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 the specified managed HSM Pool.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name The name of the managed HSM Pool to delete\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n name: string,\n options?: ManagedHsmsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(resourceGroupName, name, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Gets the specified managed HSM Pool.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name The name of the managed HSM Pool.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n name: string,\n options?: ManagedHsmsGetOptionalParams,\n ): Promise<ManagedHsmsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, name, options },\n getOperationSpec,\n );\n }\n\n /**\n * The List operation gets information about the managed HSM Pools associated with the subscription and\n * within the specified resource group.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: ManagedHsmsListByResourceGroupOptionalParams,\n ): Promise<ManagedHsmsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * The List operation gets information about the managed HSM Pools associated with the subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: ManagedHsmsListBySubscriptionOptionalParams,\n ): Promise<ManagedHsmsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec,\n );\n }\n\n /**\n * The List operation gets information about the deleted managed HSMs associated with the subscription.\n * @param options The options parameters.\n */\n private _listDeleted(\n options?: ManagedHsmsListDeletedOptionalParams,\n ): Promise<ManagedHsmsListDeletedResponse> {\n return this.client.sendOperationRequest(\n { options },\n listDeletedOperationSpec,\n );\n }\n\n /**\n * Gets the specified deleted managed HSM.\n * @param name The name of the deleted managed HSM.\n * @param location The location of the deleted managed HSM.\n * @param options The options parameters.\n */\n getDeleted(\n name: string,\n location: string,\n options?: ManagedHsmsGetDeletedOptionalParams,\n ): Promise<ManagedHsmsGetDeletedResponse> {\n return this.client.sendOperationRequest(\n { name, location, options },\n getDeletedOperationSpec,\n );\n }\n\n /**\n * Permanently deletes the specified managed HSM.\n * @param name The name of the soft-deleted managed HSM.\n * @param location The location of the soft-deleted managed HSM.\n * @param options The options parameters.\n */\n async beginPurgeDeleted(\n name: string,\n location: string,\n options?: ManagedHsmsPurgeDeletedOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ManagedHsmsPurgeDeletedResponse>,\n ManagedHsmsPurgeDeletedResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ManagedHsmsPurgeDeletedResponse> => {\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: { name, location, options },\n spec: purgeDeletedOperationSpec,\n });\n const poller = await createHttpPoller<\n ManagedHsmsPurgeDeletedResponse,\n OperationState<ManagedHsmsPurgeDeletedResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Permanently deletes the specified managed HSM.\n * @param name The name of the soft-deleted managed HSM.\n * @param location The location of the soft-deleted managed HSM.\n * @param options The options parameters.\n */\n async beginPurgeDeletedAndWait(\n name: string,\n location: string,\n options?: ManagedHsmsPurgeDeletedOptionalParams,\n ): Promise<ManagedHsmsPurgeDeletedResponse> {\n const poller = await this.beginPurgeDeleted(name, location, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Checks that the managed hsm name is valid and is not already in use.\n * @param mhsmName The name of the managed hsm.\n * @param options The options parameters.\n */\n checkMhsmNameAvailability(\n mhsmName: CheckMhsmNameAvailabilityParameters,\n options?: ManagedHsmsCheckMhsmNameAvailabilityOptionalParams,\n ): Promise<ManagedHsmsCheckMhsmNameAvailabilityResponse> {\n return this.client.sendOperationRequest(\n { mhsmName, options },\n checkMhsmNameAvailabilityOperationSpec,\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: ManagedHsmsListByResourceGroupNextOptionalParams,\n ): Promise<ManagedHsmsListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: ManagedHsmsListBySubscriptionNextOptionalParams,\n ): Promise<ManagedHsmsListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec,\n );\n }\n\n /**\n * ListDeletedNext\n * @param nextLink The nextLink from the previous successful call to the ListDeleted method.\n * @param options The options parameters.\n */\n private _listDeletedNext(\n nextLink: string,\n options?: ManagedHsmsListDeletedNextOptionalParams,\n ): Promise<ManagedHsmsListDeletedNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listDeletedNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsm,\n },\n 201: {\n bodyMapper: Mappers.ManagedHsm,\n },\n 202: {\n bodyMapper: Mappers.ManagedHsm,\n },\n 204: {\n bodyMapper: Mappers.ManagedHsm,\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n requestBody: Parameters.parameters5,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.name1,\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.KeyVault/managedHSMs/{name}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsm,\n },\n 201: {\n bodyMapper: Mappers.ManagedHsm,\n },\n 202: {\n bodyMapper: Mappers.ManagedHsm,\n },\n 204: {\n bodyMapper: Mappers.ManagedHsm,\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n requestBody: Parameters.parameters5,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.name1,\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.KeyVault/managedHSMs/{name}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.name1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsm,\n },\n 204: {},\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.name1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsmListResult,\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.top],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/managedHSMs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsmListResult,\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.top],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listDeletedOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/deletedManagedHSMs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeletedManagedHsmListResult,\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getDeletedOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedManagedHSMs/{name}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeletedManagedHsm,\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.location,\n Parameters.name1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst purgeDeletedOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedManagedHSMs/{name}/purge\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n headersMapper: Mappers.ManagedHsmsPurgeDeletedHeaders,\n },\n 201: {\n headersMapper: Mappers.ManagedHsmsPurgeDeletedHeaders,\n },\n 202: {\n headersMapper: Mappers.ManagedHsmsPurgeDeletedHeaders,\n },\n 204: {\n headersMapper: Mappers.ManagedHsmsPurgeDeletedHeaders,\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.location,\n Parameters.name1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst checkMhsmNameAvailabilityOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/checkMhsmNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckMhsmNameAvailabilityResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.mhsmName,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsmListResult,\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedHsmListResult,\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listDeletedNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeletedManagedHsmListResult,\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"mhsmPrivateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operations/mhsmPrivateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AAIlF,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,6BAA6B,EAE7B,0DAA0D,EAE1D,+CAA+C,EAC/C,yCAAyC,EACzC,+CAA+C,EAC/C,yCAAyC,EACzC,kDAAkD,EAClD,4CAA4C,EAE7C,MAAM,oBAAoB,CAAC;AAG5B,kEAAkE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AAM,EACZ,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,kDAAkD,GAC3D,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,4CAA4C,CAAC,EAC5D,4CAA4C,CAC7C,CACF;IAuDD;;;;;;;OAOG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,kDAAkD,GAC3D,OAAO,CAAC,4CAA4C,CAAC;IAUxD;;;;;;OAMG;IACH,OAAO,CAAC,mBAAmB;CAW5B"}
@@ -46,7 +46,7 @@ class MhsmPrivateEndpointConnectionsImpl {
46
46
  throw new Error("maxPageSize is not supported by this operation.");
47
47
  }
48
48
  return this.listByResourcePagingPage(resourceGroupName, name, options, settings);
49
- }
49
+ },
50
50
  };
51
51
  }
52
52
  listByResourcePagingPage(resourceGroupName, name, options, settings) {
@@ -125,7 +125,7 @@ class MhsmPrivateEndpointConnectionsImpl {
125
125
  name,
126
126
  privateEndpointConnectionName,
127
127
  properties,
128
- options
128
+ options,
129
129
  }, putOperationSpec);
130
130
  }
131
131
  /**
@@ -155,18 +155,18 @@ class MhsmPrivateEndpointConnectionsImpl {
155
155
  rawResponse: {
156
156
  statusCode: currentRawResponse.status,
157
157
  body: currentRawResponse.parsedBody,
158
- headers: currentRawResponse.headers.toJSON()
159
- }
158
+ headers: currentRawResponse.headers.toJSON(),
159
+ },
160
160
  };
161
161
  };
162
162
  const lro = (0, lroImpl_js_1.createLroSpec)({
163
163
  sendOperationFn,
164
164
  args: { resourceGroupName, name, privateEndpointConnectionName, options },
165
- spec: deleteOperationSpec
165
+ spec: deleteOperationSpec,
166
166
  });
167
167
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
168
168
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
169
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
169
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
170
170
  });
171
171
  await poller.poll();
172
172
  return poller;
@@ -202,32 +202,32 @@ const listByResourceOperationSpec = {
202
202
  httpMethod: "GET",
203
203
  responses: {
204
204
  200: {
205
- bodyMapper: Mappers.MhsmPrivateEndpointConnectionsListResult
205
+ bodyMapper: Mappers.MhsmPrivateEndpointConnectionsListResult,
206
206
  },
207
207
  default: {
208
- bodyMapper: Mappers.ManagedHsmError
209
- }
208
+ bodyMapper: Mappers.ManagedHsmError,
209
+ },
210
210
  },
211
211
  queryParameters: [Parameters.apiVersion],
212
212
  urlParameters: [
213
213
  Parameters.$host,
214
214
  Parameters.subscriptionId,
215
215
  Parameters.resourceGroupName,
216
- Parameters.name1
216
+ Parameters.name1,
217
217
  ],
218
218
  headerParameters: [Parameters.accept],
219
- serializer
219
+ serializer,
220
220
  };
221
221
  const getOperationSpec = {
222
222
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/privateEndpointConnections/{privateEndpointConnectionName}",
223
223
  httpMethod: "GET",
224
224
  responses: {
225
225
  200: {
226
- bodyMapper: Mappers.MhsmPrivateEndpointConnection
226
+ bodyMapper: Mappers.MhsmPrivateEndpointConnection,
227
227
  },
228
228
  default: {
229
- bodyMapper: Mappers.ManagedHsmError
230
- }
229
+ bodyMapper: Mappers.ManagedHsmError,
230
+ },
231
231
  },
232
232
  queryParameters: [Parameters.apiVersion],
233
233
  urlParameters: [
@@ -235,10 +235,10 @@ const getOperationSpec = {
235
235
  Parameters.subscriptionId,
236
236
  Parameters.resourceGroupName,
237
237
  Parameters.privateEndpointConnectionName,
238
- Parameters.name1
238
+ Parameters.name1,
239
239
  ],
240
240
  headerParameters: [Parameters.accept],
241
- serializer
241
+ serializer,
242
242
  };
243
243
  const putOperationSpec = {
244
244
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/privateEndpointConnections/{privateEndpointConnectionName}",
@@ -246,11 +246,11 @@ const putOperationSpec = {
246
246
  responses: {
247
247
  200: {
248
248
  bodyMapper: Mappers.MhsmPrivateEndpointConnection,
249
- headersMapper: Mappers.MhsmPrivateEndpointConnectionsPutHeaders
249
+ headersMapper: Mappers.MhsmPrivateEndpointConnectionsPutHeaders,
250
250
  },
251
251
  default: {
252
- bodyMapper: Mappers.CloudError
253
- }
252
+ bodyMapper: Mappers.CloudError,
253
+ },
254
254
  },
255
255
  requestBody: Parameters.properties1,
256
256
  queryParameters: [Parameters.apiVersion],
@@ -259,31 +259,31 @@ const putOperationSpec = {
259
259
  Parameters.subscriptionId,
260
260
  Parameters.resourceGroupName,
261
261
  Parameters.privateEndpointConnectionName,
262
- Parameters.name1
262
+ Parameters.name1,
263
263
  ],
264
264
  headerParameters: [Parameters.contentType, Parameters.accept],
265
265
  mediaType: "json",
266
- serializer
266
+ serializer,
267
267
  };
268
268
  const deleteOperationSpec = {
269
269
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/privateEndpointConnections/{privateEndpointConnectionName}",
270
270
  httpMethod: "DELETE",
271
271
  responses: {
272
272
  200: {
273
- bodyMapper: Mappers.MhsmPrivateEndpointConnection
273
+ bodyMapper: Mappers.MhsmPrivateEndpointConnection,
274
274
  },
275
275
  201: {
276
- bodyMapper: Mappers.MhsmPrivateEndpointConnection
276
+ bodyMapper: Mappers.MhsmPrivateEndpointConnection,
277
277
  },
278
278
  202: {
279
- bodyMapper: Mappers.MhsmPrivateEndpointConnection
279
+ bodyMapper: Mappers.MhsmPrivateEndpointConnection,
280
280
  },
281
281
  204: {
282
- bodyMapper: Mappers.MhsmPrivateEndpointConnection
282
+ bodyMapper: Mappers.MhsmPrivateEndpointConnection,
283
283
  },
284
284
  default: {
285
- bodyMapper: Mappers.CloudError
286
- }
285
+ bodyMapper: Mappers.CloudError,
286
+ },
287
287
  },
288
288
  queryParameters: [Parameters.apiVersion],
289
289
  urlParameters: [
@@ -291,30 +291,30 @@ const deleteOperationSpec = {
291
291
  Parameters.subscriptionId,
292
292
  Parameters.resourceGroupName,
293
293
  Parameters.privateEndpointConnectionName,
294
- Parameters.name1
294
+ Parameters.name1,
295
295
  ],
296
296
  headerParameters: [Parameters.accept],
297
- serializer
297
+ serializer,
298
298
  };
299
299
  const listByResourceNextOperationSpec = {
300
300
  path: "{nextLink}",
301
301
  httpMethod: "GET",
302
302
  responses: {
303
303
  200: {
304
- bodyMapper: Mappers.MhsmPrivateEndpointConnectionsListResult
304
+ bodyMapper: Mappers.MhsmPrivateEndpointConnectionsListResult,
305
305
  },
306
306
  default: {
307
- bodyMapper: Mappers.ManagedHsmError
308
- }
307
+ bodyMapper: Mappers.ManagedHsmError,
308
+ },
309
309
  },
310
310
  urlParameters: [
311
311
  Parameters.$host,
312
312
  Parameters.subscriptionId,
313
313
  Parameters.resourceGroupName,
314
314
  Parameters.nextLink,
315
- Parameters.name1
315
+ Parameters.name1,
316
316
  ],
317
317
  headerParameters: [Parameters.accept],
318
- serializer
318
+ serializer,
319
319
  };
320
320
  //# sourceMappingURL=mhsmPrivateEndpointConnections.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mhsmPrivateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/mhsmPrivateEndpointConnections.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAe9C,4CAA4C;AAC5C,kEAAkE;AAClE,MAAa,kCAAkC;IAI7C;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,cAAc,CACnB,iBAAyB,EACzB,IAAY,EACZ,OAAoE;QAEpE,MAAM,IAAI,GAAG,IAAI,CAAC,uBAAuB,CAAC,iBAAiB,EAAE,IAAI,EAA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,+KAA+K;IACjL,UAAU,EAAE,QAAQ;IACpB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,6BAA6B;QACxC,UAAU,CAAC,KAAK;KACjB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,+BAA+B,GAA6B;IAChE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,wCAAwC;SAC7D;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,eAAe;SACpC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,KAAK;KACjB;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 { MhsmPrivateEndpointConnections } 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 { KeyVaultManagementClient } from \"../keyVaultManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n MhsmPrivateEndpointConnection,\n MhsmPrivateEndpointConnectionsListByResourceNextOptionalParams,\n MhsmPrivateEndpointConnectionsListByResourceOptionalParams,\n MhsmPrivateEndpointConnectionsListByResourceResponse,\n MhsmPrivateEndpointConnectionsGetOptionalParams,\n MhsmPrivateEndpointConnectionsGetResponse,\n MhsmPrivateEndpointConnectionsPutOptionalParams,\n MhsmPrivateEndpointConnectionsPutResponse,\n MhsmPrivateEndpointConnectionsDeleteOptionalParams,\n MhsmPrivateEndpointConnectionsDeleteResponse,\n MhsmPrivateEndpointConnectionsListByResourceNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing MhsmPrivateEndpointConnections operations. */\nexport class MhsmPrivateEndpointConnectionsImpl\n implements MhsmPrivateEndpointConnections {\n private readonly client: KeyVaultManagementClient;\n\n /**\n * Initialize a new instance of the class MhsmPrivateEndpointConnections class.\n * @param client Reference to the service client\n */\n constructor(client: KeyVaultManagementClient) {\n this.client = client;\n }\n\n /**\n * The List operation gets information about the private endpoint connections associated with the\n * managed HSM Pool.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name Name of the managed HSM Pool\n * @param options The options parameters.\n */\n public listByResource(\n resourceGroupName: string,\n name: string,\n options?: MhsmPrivateEndpointConnectionsListByResourceOptionalParams\n ): PagedAsyncIterableIterator<MhsmPrivateEndpointConnection> {\n const iter = this.listByResourcePagingAll(resourceGroupName, name, 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.listByResourcePagingPage(\n resourceGroupName,\n name,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByResourcePagingPage(\n resourceGroupName: string,\n name: string,\n options?: MhsmPrivateEndpointConnectionsListByResourceOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<MhsmPrivateEndpointConnection[]> {\n let result: MhsmPrivateEndpointConnectionsListByResourceResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResource(resourceGroupName, name, 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._listByResourceNext(\n resourceGroupName,\n name,\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 *listByResourcePagingAll(\n resourceGroupName: string,\n name: string,\n options?: MhsmPrivateEndpointConnectionsListByResourceOptionalParams\n ): AsyncIterableIterator<MhsmPrivateEndpointConnection> {\n for await (const page of this.listByResourcePagingPage(\n resourceGroupName,\n name,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * The List operation gets information about the private endpoint connections associated with the\n * managed HSM Pool.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name Name of the managed HSM Pool\n * @param options The options parameters.\n */\n private _listByResource(\n resourceGroupName: string,\n name: string,\n options?: MhsmPrivateEndpointConnectionsListByResourceOptionalParams\n ): Promise<MhsmPrivateEndpointConnectionsListByResourceResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, name, options },\n listByResourceOperationSpec\n );\n }\n\n /**\n * Gets the specified private endpoint connection associated with the managed HSM Pool.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name Name of the managed HSM Pool\n * @param privateEndpointConnectionName Name of the private endpoint connection associated with the\n * managed hsm pool.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n name: string,\n privateEndpointConnectionName: string,\n options?: MhsmPrivateEndpointConnectionsGetOptionalParams\n ): Promise<MhsmPrivateEndpointConnectionsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, name, privateEndpointConnectionName, options },\n getOperationSpec\n );\n }\n\n /**\n * Updates the specified private endpoint connection associated with the managed hsm pool.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name Name of the managed HSM Pool\n * @param privateEndpointConnectionName Name of the private endpoint connection associated with the\n * managed hsm pool.\n * @param properties The intended state of private endpoint connection.\n * @param options The options parameters.\n */\n put(\n resourceGroupName: string,\n name: string,\n privateEndpointConnectionName: string,\n properties: MhsmPrivateEndpointConnection,\n options?: MhsmPrivateEndpointConnectionsPutOptionalParams\n ): Promise<MhsmPrivateEndpointConnectionsPutResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n name,\n privateEndpointConnectionName,\n properties,\n options\n },\n putOperationSpec\n );\n }\n\n /**\n * Deletes the specified private endpoint connection associated with the managed hsm pool.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name Name of the managed HSM Pool\n * @param privateEndpointConnectionName Name of the private endpoint connection associated with the\n * managed hsm pool.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n name: string,\n privateEndpointConnectionName: string,\n options?: MhsmPrivateEndpointConnectionsDeleteOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<MhsmPrivateEndpointConnectionsDeleteResponse>,\n MhsmPrivateEndpointConnectionsDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<MhsmPrivateEndpointConnectionsDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, name, privateEndpointConnectionName, options },\n spec: deleteOperationSpec\n });\n const poller = await createHttpPoller<\n MhsmPrivateEndpointConnectionsDeleteResponse,\n OperationState<MhsmPrivateEndpointConnectionsDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the specified private endpoint connection associated with the managed hsm pool.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name Name of the managed HSM Pool\n * @param privateEndpointConnectionName Name of the private endpoint connection associated with the\n * managed hsm pool.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n name: string,\n privateEndpointConnectionName: string,\n options?: MhsmPrivateEndpointConnectionsDeleteOptionalParams\n ): Promise<MhsmPrivateEndpointConnectionsDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n name,\n privateEndpointConnectionName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListByResourceNext\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name Name of the managed HSM Pool\n * @param nextLink The nextLink from the previous successful call to the ListByResource method.\n * @param options The options parameters.\n */\n private _listByResourceNext(\n resourceGroupName: string,\n name: string,\n nextLink: string,\n options?: MhsmPrivateEndpointConnectionsListByResourceNextOptionalParams\n ): Promise<MhsmPrivateEndpointConnectionsListByResourceNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, name, nextLink, options },\n listByResourceNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByResourceOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/privateEndpointConnections\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.MhsmPrivateEndpointConnectionsListResult\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.name1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.MhsmPrivateEndpointConnection\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.privateEndpointConnectionName,\n Parameters.name1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst putOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.MhsmPrivateEndpointConnection,\n headersMapper: Mappers.MhsmPrivateEndpointConnectionsPutHeaders\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.properties1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.privateEndpointConnectionName,\n Parameters.name1\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n bodyMapper: Mappers.MhsmPrivateEndpointConnection\n },\n 201: {\n bodyMapper: Mappers.MhsmPrivateEndpointConnection\n },\n 202: {\n bodyMapper: Mappers.MhsmPrivateEndpointConnection\n },\n 204: {\n bodyMapper: Mappers.MhsmPrivateEndpointConnection\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.privateEndpointConnectionName,\n Parameters.name1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.MhsmPrivateEndpointConnectionsListResult\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.name1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
1
+ {"version":3,"file":"mhsmPrivateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/mhsmPrivateEndpointConnections.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAe9C,4CA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Q;QACnB,UAAU,CAAC,KAAK;KACjB;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 { MhsmPrivateEndpointConnections } 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 { KeyVaultManagementClient } from \"../keyVaultManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n MhsmPrivateEndpointConnection,\n MhsmPrivateEndpointConnectionsListByResourceNextOptionalParams,\n MhsmPrivateEndpointConnectionsListByResourceOptionalParams,\n MhsmPrivateEndpointConnectionsListByResourceResponse,\n MhsmPrivateEndpointConnectionsGetOptionalParams,\n MhsmPrivateEndpointConnectionsGetResponse,\n MhsmPrivateEndpointConnectionsPutOptionalParams,\n MhsmPrivateEndpointConnectionsPutResponse,\n MhsmPrivateEndpointConnectionsDeleteOptionalParams,\n MhsmPrivateEndpointConnectionsDeleteResponse,\n MhsmPrivateEndpointConnectionsListByResourceNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing MhsmPrivateEndpointConnections operations. */\nexport class MhsmPrivateEndpointConnectionsImpl\n implements MhsmPrivateEndpointConnections\n{\n private readonly client: KeyVaultManagementClient;\n\n /**\n * Initialize a new instance of the class MhsmPrivateEndpointConnections class.\n * @param client Reference to the service client\n */\n constructor(client: KeyVaultManagementClient) {\n this.client = client;\n }\n\n /**\n * The List operation gets information about the private endpoint connections associated with the\n * managed HSM Pool.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name Name of the managed HSM Pool\n * @param options The options parameters.\n */\n public listByResource(\n resourceGroupName: string,\n name: string,\n options?: MhsmPrivateEndpointConnectionsListByResourceOptionalParams,\n ): PagedAsyncIterableIterator<MhsmPrivateEndpointConnection> {\n const iter = this.listByResourcePagingAll(resourceGroupName, name, 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.listByResourcePagingPage(\n resourceGroupName,\n name,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByResourcePagingPage(\n resourceGroupName: string,\n name: string,\n options?: MhsmPrivateEndpointConnectionsListByResourceOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<MhsmPrivateEndpointConnection[]> {\n let result: MhsmPrivateEndpointConnectionsListByResourceResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResource(resourceGroupName, name, 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._listByResourceNext(\n resourceGroupName,\n name,\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 *listByResourcePagingAll(\n resourceGroupName: string,\n name: string,\n options?: MhsmPrivateEndpointConnectionsListByResourceOptionalParams,\n ): AsyncIterableIterator<MhsmPrivateEndpointConnection> {\n for await (const page of this.listByResourcePagingPage(\n resourceGroupName,\n name,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * The List operation gets information about the private endpoint connections associated with the\n * managed HSM Pool.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name Name of the managed HSM Pool\n * @param options The options parameters.\n */\n private _listByResource(\n resourceGroupName: string,\n name: string,\n options?: MhsmPrivateEndpointConnectionsListByResourceOptionalParams,\n ): Promise<MhsmPrivateEndpointConnectionsListByResourceResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, name, options },\n listByResourceOperationSpec,\n );\n }\n\n /**\n * Gets the specified private endpoint connection associated with the managed HSM Pool.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name Name of the managed HSM Pool\n * @param privateEndpointConnectionName Name of the private endpoint connection associated with the\n * managed hsm pool.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n name: string,\n privateEndpointConnectionName: string,\n options?: MhsmPrivateEndpointConnectionsGetOptionalParams,\n ): Promise<MhsmPrivateEndpointConnectionsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, name, privateEndpointConnectionName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Updates the specified private endpoint connection associated with the managed hsm pool.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name Name of the managed HSM Pool\n * @param privateEndpointConnectionName Name of the private endpoint connection associated with the\n * managed hsm pool.\n * @param properties The intended state of private endpoint connection.\n * @param options The options parameters.\n */\n put(\n resourceGroupName: string,\n name: string,\n privateEndpointConnectionName: string,\n properties: MhsmPrivateEndpointConnection,\n options?: MhsmPrivateEndpointConnectionsPutOptionalParams,\n ): Promise<MhsmPrivateEndpointConnectionsPutResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n name,\n privateEndpointConnectionName,\n properties,\n options,\n },\n putOperationSpec,\n );\n }\n\n /**\n * Deletes the specified private endpoint connection associated with the managed hsm pool.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name Name of the managed HSM Pool\n * @param privateEndpointConnectionName Name of the private endpoint connection associated with the\n * managed hsm pool.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n name: string,\n privateEndpointConnectionName: string,\n options?: MhsmPrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<MhsmPrivateEndpointConnectionsDeleteResponse>,\n MhsmPrivateEndpointConnectionsDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<MhsmPrivateEndpointConnectionsDeleteResponse> => {\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, name, privateEndpointConnectionName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n MhsmPrivateEndpointConnectionsDeleteResponse,\n OperationState<MhsmPrivateEndpointConnectionsDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the specified private endpoint connection associated with the managed hsm pool.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name Name of the managed HSM Pool\n * @param privateEndpointConnectionName Name of the private endpoint connection associated with the\n * managed hsm pool.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n name: string,\n privateEndpointConnectionName: string,\n options?: MhsmPrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<MhsmPrivateEndpointConnectionsDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n name,\n privateEndpointConnectionName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListByResourceNext\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name Name of the managed HSM Pool\n * @param nextLink The nextLink from the previous successful call to the ListByResource method.\n * @param options The options parameters.\n */\n private _listByResourceNext(\n resourceGroupName: string,\n name: string,\n nextLink: string,\n options?: MhsmPrivateEndpointConnectionsListByResourceNextOptionalParams,\n ): Promise<MhsmPrivateEndpointConnectionsListByResourceNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, name, nextLink, options },\n listByResourceNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByResourceOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/privateEndpointConnections\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.MhsmPrivateEndpointConnectionsListResult,\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.name1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.MhsmPrivateEndpointConnection,\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.privateEndpointConnectionName,\n Parameters.name1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst putOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.MhsmPrivateEndpointConnection,\n headersMapper: Mappers.MhsmPrivateEndpointConnectionsPutHeaders,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.properties1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.privateEndpointConnectionName,\n Parameters.name1,\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.KeyVault/managedHSMs/{name}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n bodyMapper: Mappers.MhsmPrivateEndpointConnection,\n },\n 201: {\n bodyMapper: Mappers.MhsmPrivateEndpointConnection,\n },\n 202: {\n bodyMapper: Mappers.MhsmPrivateEndpointConnection,\n },\n 204: {\n bodyMapper: Mappers.MhsmPrivateEndpointConnection,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.privateEndpointConnectionName,\n Parameters.name1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.MhsmPrivateEndpointConnectionsListResult,\n },\n default: {\n bodyMapper: Mappers.ManagedHsmError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.name1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -39,20 +39,20 @@ const listByMhsmResourceOperationSpec = {
39
39
  httpMethod: "GET",
40
40
  responses: {
41
41
  200: {
42
- bodyMapper: Mappers.MhsmPrivateLinkResourceListResult
42
+ bodyMapper: Mappers.MhsmPrivateLinkResourceListResult,
43
43
  },
44
44
  default: {
45
- bodyMapper: Mappers.CloudError
46
- }
45
+ bodyMapper: Mappers.CloudError,
46
+ },
47
47
  },
48
48
  queryParameters: [Parameters.apiVersion],
49
49
  urlParameters: [
50
50
  Parameters.$host,
51
51
  Parameters.subscriptionId,
52
52
  Parameters.resourceGroupName,
53
- Parameters.name1
53
+ Parameters.name1,
54
54
  ],
55
55
  headerParameters: [Parameters.accept],
56
- serializer
56
+ serializer,
57
57
  };
58
58
  //# sourceMappingURL=mhsmPrivateLinkResources.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mhsmPrivateLinkResources.js","sourceRoot":"","sources":["../../../src/operations/mhsmPrivateLinkResources.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAOtD,4DAA4D;AAC5D,MAAa,4BAA4B;IAGvC;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,kBAAkB,CAChB,iBAAyB,EACzB,IAAY,EACZ,OAAkE;QAElE,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,IAAI,EAAE,OAAO,EAAE,EACpC,+BAA+B,CAChC,CAAC;IACJ,CAAC;CACF;AA3BD,oEA2BC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,+BAA+B,GAA6B;IAChE,IAAI,EACF,yIAAyI;IAC3I,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iCAAiC;SACtD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,KAAK;KACjB;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 { MhsmPrivateLinkResources } 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 { KeyVaultManagementClient } from \"../keyVaultManagementClient.js\";\nimport {\n MhsmPrivateLinkResourcesListByMhsmResourceOptionalParams,\n MhsmPrivateLinkResourcesListByMhsmResourceResponse\n} from \"../models/index.js\";\n\n/** Class containing MhsmPrivateLinkResources operations. */\nexport class MhsmPrivateLinkResourcesImpl implements MhsmPrivateLinkResources {\n private readonly client: KeyVaultManagementClient;\n\n /**\n * Initialize a new instance of the class MhsmPrivateLinkResources class.\n * @param client Reference to the service client\n */\n constructor(client: KeyVaultManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets the private link resources supported for the managed hsm pool.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name Name of the managed HSM Pool\n * @param options The options parameters.\n */\n listByMhsmResource(\n resourceGroupName: string,\n name: string,\n options?: MhsmPrivateLinkResourcesListByMhsmResourceOptionalParams\n ): Promise<MhsmPrivateLinkResourcesListByMhsmResourceResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, name, options },\n listByMhsmResourceOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByMhsmResourceOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/privateLinkResources\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.MhsmPrivateLinkResourceListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.name1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
1
+ {"version":3,"file":"mhsmPrivateLinkResources.js","sourceRoot":"","sources":["../../../src/operations/mhsmPrivateLinkResources.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAOtD,4DAA4D;AAC5D,MAAa,4BAA4B;IAGvC;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,kBAAkB,CAChB,iBAAyB,EACzB,IAAY,EACZ,OAAkE;QAElE,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,IAAI,EAAE,OAAO,EAAE,EACpC,+BAA+B,CAChC,CAAC;IACJ,CAAC;CACF;AA3BD,oEA2BC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,+BAA+B,GAA6B;IAChE,IAAI,EAAE,yIAAyI;IAC/I,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iCAAiC;SACtD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,KAAK;KACjB;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 { MhsmPrivateLinkResources } 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 { KeyVaultManagementClient } from \"../keyVaultManagementClient.js\";\nimport {\n MhsmPrivateLinkResourcesListByMhsmResourceOptionalParams,\n MhsmPrivateLinkResourcesListByMhsmResourceResponse,\n} from \"../models/index.js\";\n\n/** Class containing MhsmPrivateLinkResources operations. */\nexport class MhsmPrivateLinkResourcesImpl implements MhsmPrivateLinkResources {\n private readonly client: KeyVaultManagementClient;\n\n /**\n * Initialize a new instance of the class MhsmPrivateLinkResources class.\n * @param client Reference to the service client\n */\n constructor(client: KeyVaultManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets the private link resources supported for the managed hsm pool.\n * @param resourceGroupName Name of the resource group that contains the managed HSM pool.\n * @param name Name of the managed HSM Pool\n * @param options The options parameters.\n */\n listByMhsmResource(\n resourceGroupName: string,\n name: string,\n options?: MhsmPrivateLinkResourcesListByMhsmResourceOptionalParams,\n ): Promise<MhsmPrivateLinkResourcesListByMhsmResourceResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, name, options },\n listByMhsmResourceOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByMhsmResourceOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/privateLinkResources\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.MhsmPrivateLinkResourceListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.name1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}