@azure/arm-connectedcache 1.0.0-alpha.20250718.1 → 1.0.0-alpha.20250721.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/dist/browser/api/cacheNodesOperations/index.js +14 -8
  2. package/dist/browser/api/cacheNodesOperations/index.js.map +1 -1
  3. package/dist/browser/api/connectedCacheContext.js +11 -8
  4. package/dist/browser/api/connectedCacheContext.js.map +1 -1
  5. package/dist/browser/api/enterpriseCustomerOperations/index.js +14 -8
  6. package/dist/browser/api/enterpriseCustomerOperations/index.js.map +1 -1
  7. package/dist/browser/api/enterpriseMccCacheNodesOperations/index.js +16 -10
  8. package/dist/browser/api/enterpriseMccCacheNodesOperations/index.js.map +1 -1
  9. package/dist/browser/api/enterpriseMccCustomers/index.js +16 -10
  10. package/dist/browser/api/enterpriseMccCustomers/index.js.map +1 -1
  11. package/dist/browser/api/ispCacheNodesOperations/index.js +17 -11
  12. package/dist/browser/api/ispCacheNodesOperations/index.js.map +1 -1
  13. package/dist/browser/api/ispCustomers/index.js +16 -10
  14. package/dist/browser/api/ispCustomers/index.js.map +1 -1
  15. package/dist/browser/api/operations/index.js +1 -1
  16. package/dist/browser/api/operations/index.js.map +1 -1
  17. package/dist/browser/classic/cacheNodesOperations/index.js +3 -1
  18. package/dist/browser/classic/cacheNodesOperations/index.js.map +1 -1
  19. package/dist/browser/classic/enterpriseCustomerOperations/index.js +3 -1
  20. package/dist/browser/classic/enterpriseCustomerOperations/index.js.map +1 -1
  21. package/dist/browser/classic/enterpriseMccCacheNodesOperations/index.js +3 -1
  22. package/dist/browser/classic/enterpriseMccCacheNodesOperations/index.js.map +1 -1
  23. package/dist/browser/classic/enterpriseMccCustomers/index.js +3 -1
  24. package/dist/browser/classic/enterpriseMccCustomers/index.js.map +1 -1
  25. package/dist/browser/classic/ispCacheNodesOperations/index.js +3 -1
  26. package/dist/browser/classic/ispCacheNodesOperations/index.js.map +1 -1
  27. package/dist/browser/classic/ispCustomers/index.js +3 -1
  28. package/dist/browser/classic/ispCustomers/index.js.map +1 -1
  29. package/dist/browser/classic/operations/index.js +3 -1
  30. package/dist/browser/classic/operations/index.js.map +1 -1
  31. package/dist/browser/connectedCacheClient.js +22 -3
  32. package/dist/browser/connectedCacheClient.js.map +1 -1
  33. package/dist/browser/models/models.js +2 -4
  34. package/dist/browser/models/models.js.map +1 -1
  35. package/dist/browser/restorePollerHelpers.js +11 -13
  36. package/dist/browser/restorePollerHelpers.js.map +1 -1
  37. package/dist/browser/static-helpers/pagingHelpers.js +31 -50
  38. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
  39. package/dist/browser/static-helpers/pollingHelpers.js +14 -11
  40. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
  41. package/dist/commonjs/api/cacheNodesOperations/index.js +14 -8
  42. package/dist/commonjs/api/cacheNodesOperations/index.js.map +1 -1
  43. package/dist/commonjs/api/connectedCacheContext.js +11 -8
  44. package/dist/commonjs/api/connectedCacheContext.js.map +1 -1
  45. package/dist/commonjs/api/enterpriseCustomerOperations/index.js +14 -8
  46. package/dist/commonjs/api/enterpriseCustomerOperations/index.js.map +1 -1
  47. package/dist/commonjs/api/enterpriseMccCacheNodesOperations/index.js +16 -10
  48. package/dist/commonjs/api/enterpriseMccCacheNodesOperations/index.js.map +1 -1
  49. package/dist/commonjs/api/enterpriseMccCustomers/index.js +16 -10
  50. package/dist/commonjs/api/enterpriseMccCustomers/index.js.map +1 -1
  51. package/dist/commonjs/api/ispCacheNodesOperations/index.js +17 -11
  52. package/dist/commonjs/api/ispCacheNodesOperations/index.js.map +1 -1
  53. package/dist/commonjs/api/ispCustomers/index.js +16 -10
  54. package/dist/commonjs/api/ispCustomers/index.js.map +1 -1
  55. package/dist/commonjs/api/operations/index.js +1 -1
  56. package/dist/commonjs/api/operations/index.js.map +1 -1
  57. package/dist/commonjs/classic/cacheNodesOperations/index.js +3 -1
  58. package/dist/commonjs/classic/cacheNodesOperations/index.js.map +1 -1
  59. package/dist/commonjs/classic/enterpriseCustomerOperations/index.js +3 -1
  60. package/dist/commonjs/classic/enterpriseCustomerOperations/index.js.map +1 -1
  61. package/dist/commonjs/classic/enterpriseMccCacheNodesOperations/index.js +3 -1
  62. package/dist/commonjs/classic/enterpriseMccCacheNodesOperations/index.js.map +1 -1
  63. package/dist/commonjs/classic/enterpriseMccCustomers/index.js +3 -1
  64. package/dist/commonjs/classic/enterpriseMccCustomers/index.js.map +1 -1
  65. package/dist/commonjs/classic/ispCacheNodesOperations/index.js +3 -1
  66. package/dist/commonjs/classic/ispCacheNodesOperations/index.js.map +1 -1
  67. package/dist/commonjs/classic/ispCustomers/index.js +3 -1
  68. package/dist/commonjs/classic/ispCustomers/index.js.map +1 -1
  69. package/dist/commonjs/classic/operations/index.js +3 -1
  70. package/dist/commonjs/classic/operations/index.js.map +1 -1
  71. package/dist/commonjs/connectedCacheClient.js +22 -3
  72. package/dist/commonjs/connectedCacheClient.js.map +1 -1
  73. package/dist/commonjs/models/models.js +2 -4
  74. package/dist/commonjs/models/models.js.map +1 -1
  75. package/dist/commonjs/restorePollerHelpers.js +11 -13
  76. package/dist/commonjs/restorePollerHelpers.js.map +1 -1
  77. package/dist/commonjs/static-helpers/pagingHelpers.js +31 -50
  78. package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -1
  79. package/dist/commonjs/static-helpers/pollingHelpers.js +14 -11
  80. package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -1
  81. package/dist/commonjs/tsdoc-metadata.json +11 -11
  82. package/dist/esm/api/cacheNodesOperations/index.js +14 -8
  83. package/dist/esm/api/cacheNodesOperations/index.js.map +1 -1
  84. package/dist/esm/api/connectedCacheContext.js +11 -8
  85. package/dist/esm/api/connectedCacheContext.js.map +1 -1
  86. package/dist/esm/api/enterpriseCustomerOperations/index.js +14 -8
  87. package/dist/esm/api/enterpriseCustomerOperations/index.js.map +1 -1
  88. package/dist/esm/api/enterpriseMccCacheNodesOperations/index.js +16 -10
  89. package/dist/esm/api/enterpriseMccCacheNodesOperations/index.js.map +1 -1
  90. package/dist/esm/api/enterpriseMccCustomers/index.js +16 -10
  91. package/dist/esm/api/enterpriseMccCustomers/index.js.map +1 -1
  92. package/dist/esm/api/ispCacheNodesOperations/index.js +17 -11
  93. package/dist/esm/api/ispCacheNodesOperations/index.js.map +1 -1
  94. package/dist/esm/api/ispCustomers/index.js +16 -10
  95. package/dist/esm/api/ispCustomers/index.js.map +1 -1
  96. package/dist/esm/api/operations/index.js +1 -1
  97. package/dist/esm/api/operations/index.js.map +1 -1
  98. package/dist/esm/classic/cacheNodesOperations/index.js +3 -1
  99. package/dist/esm/classic/cacheNodesOperations/index.js.map +1 -1
  100. package/dist/esm/classic/enterpriseCustomerOperations/index.js +3 -1
  101. package/dist/esm/classic/enterpriseCustomerOperations/index.js.map +1 -1
  102. package/dist/esm/classic/enterpriseMccCacheNodesOperations/index.js +3 -1
  103. package/dist/esm/classic/enterpriseMccCacheNodesOperations/index.js.map +1 -1
  104. package/dist/esm/classic/enterpriseMccCustomers/index.js +3 -1
  105. package/dist/esm/classic/enterpriseMccCustomers/index.js.map +1 -1
  106. package/dist/esm/classic/ispCacheNodesOperations/index.js +3 -1
  107. package/dist/esm/classic/ispCacheNodesOperations/index.js.map +1 -1
  108. package/dist/esm/classic/ispCustomers/index.js +3 -1
  109. package/dist/esm/classic/ispCustomers/index.js.map +1 -1
  110. package/dist/esm/classic/operations/index.js +3 -1
  111. package/dist/esm/classic/operations/index.js.map +1 -1
  112. package/dist/esm/connectedCacheClient.js +22 -3
  113. package/dist/esm/connectedCacheClient.js.map +1 -1
  114. package/dist/esm/models/models.js +2 -4
  115. package/dist/esm/models/models.js.map +1 -1
  116. package/dist/esm/restorePollerHelpers.js +11 -13
  117. package/dist/esm/restorePollerHelpers.js.map +1 -1
  118. package/dist/esm/static-helpers/pagingHelpers.js +31 -50
  119. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -1
  120. package/dist/esm/static-helpers/pollingHelpers.js +14 -11
  121. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -1
  122. package/dist/react-native/api/cacheNodesOperations/index.js +14 -8
  123. package/dist/react-native/api/cacheNodesOperations/index.js.map +1 -1
  124. package/dist/react-native/api/connectedCacheContext.js +11 -8
  125. package/dist/react-native/api/connectedCacheContext.js.map +1 -1
  126. package/dist/react-native/api/enterpriseCustomerOperations/index.js +14 -8
  127. package/dist/react-native/api/enterpriseCustomerOperations/index.js.map +1 -1
  128. package/dist/react-native/api/enterpriseMccCacheNodesOperations/index.js +16 -10
  129. package/dist/react-native/api/enterpriseMccCacheNodesOperations/index.js.map +1 -1
  130. package/dist/react-native/api/enterpriseMccCustomers/index.js +16 -10
  131. package/dist/react-native/api/enterpriseMccCustomers/index.js.map +1 -1
  132. package/dist/react-native/api/ispCacheNodesOperations/index.js +17 -11
  133. package/dist/react-native/api/ispCacheNodesOperations/index.js.map +1 -1
  134. package/dist/react-native/api/ispCustomers/index.js +16 -10
  135. package/dist/react-native/api/ispCustomers/index.js.map +1 -1
  136. package/dist/react-native/api/operations/index.js +1 -1
  137. package/dist/react-native/api/operations/index.js.map +1 -1
  138. package/dist/react-native/classic/cacheNodesOperations/index.js +3 -1
  139. package/dist/react-native/classic/cacheNodesOperations/index.js.map +1 -1
  140. package/dist/react-native/classic/enterpriseCustomerOperations/index.js +3 -1
  141. package/dist/react-native/classic/enterpriseCustomerOperations/index.js.map +1 -1
  142. package/dist/react-native/classic/enterpriseMccCacheNodesOperations/index.js +3 -1
  143. package/dist/react-native/classic/enterpriseMccCacheNodesOperations/index.js.map +1 -1
  144. package/dist/react-native/classic/enterpriseMccCustomers/index.js +3 -1
  145. package/dist/react-native/classic/enterpriseMccCustomers/index.js.map +1 -1
  146. package/dist/react-native/classic/ispCacheNodesOperations/index.js +3 -1
  147. package/dist/react-native/classic/ispCacheNodesOperations/index.js.map +1 -1
  148. package/dist/react-native/classic/ispCustomers/index.js +3 -1
  149. package/dist/react-native/classic/ispCustomers/index.js.map +1 -1
  150. package/dist/react-native/classic/operations/index.js +3 -1
  151. package/dist/react-native/classic/operations/index.js.map +1 -1
  152. package/dist/react-native/connectedCacheClient.js +22 -3
  153. package/dist/react-native/connectedCacheClient.js.map +1 -1
  154. package/dist/react-native/models/models.js +2 -4
  155. package/dist/react-native/models/models.js.map +1 -1
  156. package/dist/react-native/restorePollerHelpers.js +11 -13
  157. package/dist/react-native/restorePollerHelpers.js.map +1 -1
  158. package/dist/react-native/static-helpers/pagingHelpers.js +31 -50
  159. package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -1
  160. package/dist/react-native/static-helpers/pollingHelpers.js +14 -11
  161. package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -1
  162. package/package.json +2 -2
  163. package/review/arm-connectedcache-models-node.api.md +441 -441
  164. package/review/arm-connectedcache-node.api.md +723 -723
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/ispCacheNodesOperations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAYlC,OAAO,EAEL,qCAAqC,EAErC,sCAAsC,EAEtC,8BAA8B,EAC9B,gCAAgC,EAEhC,2CAA2C,EAE3C,sCAAsC,GACvC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAGjC,MAAM,UAAU,+BAA+B,CAC7C,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,oBAA4B,EAC5B,qBAA6B,EAC7B,UAAoD,EAAE,cAAc,EAAE,EAAE,EAAE;IAE1E,OAAO,OAAO;SACX,IAAI,CACH,iLAAiL,EACjL,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,CACtB;SACA,GAAG,mBAAM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AAsD,CACpE,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,oBAA4B,EAC5B,qBAA6B,EAC7B,UAA2E;IACzE,cAAc,EAAE,EAAE;CACnB;IAED,OAAO,OAAO;SACX,IAAI,CACH,4MAA4M,EAC5M,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,CACtB;SACA,IAAI,mBAAM,mCAAmC,CAAC,OAAO,CAAC,EAAG,CAAC;AAC/D,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,6DAA6D,CACjF,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,eAAe,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,OAAO,sCAAsC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAC7D,CAAC;AAED,yEAAyE;AACzE,MAAM,CAAC,KAAK,UAAU,iDAAiD,CACrE,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,oBAA4B,EAC5B,qBAA6B,EAC7B,UAA2E;IACzE,cAAc,EAAE,EAAE;CACnB;IAED,MAAM,MAAM,GAAG,MAAM,sDAAsD,CACzE,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,OAAO,CACR,CAAC;IACF,OAAO,6DAA6D,CAAC,MAAM,CAAC,CAAC;AAC/E,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n ConnectedCacheContext as Client,\n IspCacheNodesOperationsCreateOrUpdateOptionalParams,\n IspCacheNodesOperationsDeleteOptionalParams,\n IspCacheNodesOperationsGetBgpCidrsOptionalParams,\n IspCacheNodesOperationsGetCacheNodeInstallDetailsOptionalParams,\n IspCacheNodesOperationsGetOptionalParams,\n IspCacheNodesOperationsListByIspCustomerResourceOptionalParams,\n IspCacheNodesOperationsUpdateOptionalParams,\n} from \"../index.js\";\nimport {\n ConnectedCachePatchResource,\n connectedCachePatchResourceSerializer,\n MccCacheNodeInstallDetails,\n mccCacheNodeInstallDetailsDeserializer,\n IspCacheNodeResource,\n ispCacheNodeResourceSerializer,\n ispCacheNodeResourceDeserializer,\n _IspCacheNodeResourceListResult,\n _ispCacheNodeResourceListResultDeserializer,\n MccCacheNodeBgpCidrDetails,\n mccCacheNodeBgpCidrDetailsDeserializer,\n} from \"../../models/models.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _ispCacheNodesOperationsGetSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options: IspCacheNodesOperationsGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}/ispCacheNodes/{cacheNodeResourceName}\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _ispCacheNodesOperationsGetDeserialize(\n result: PathUncheckedResponse,\n): Promise<IspCacheNodeResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return ispCacheNodeResourceDeserializer(result.body);\n}\n\n/** This api gets ispCacheNode resource information */\nexport async function ispCacheNodesOperationsGet(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options: IspCacheNodesOperationsGetOptionalParams = { requestOptions: {} },\n): Promise<IspCacheNodeResource> {\n const result = await _ispCacheNodesOperationsGetSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n options,\n );\n return _ispCacheNodesOperationsGetDeserialize(result);\n}\n\nexport function _ispCacheNodesOperationsCreateOrUpdateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n resource: IspCacheNodeResource,\n options: IspCacheNodesOperationsCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}/ispCacheNodes/{cacheNodeResourceName}\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n )\n .put({\n ...operationOptionsToRequestParameters(options),\n body: ispCacheNodeResourceSerializer(resource),\n });\n}\n\nexport async function _ispCacheNodesOperationsCreateOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<IspCacheNodeResource> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return ispCacheNodeResourceDeserializer(result.body);\n}\n\n/** This api creates an ispCacheNode with the specified create parameters */\nexport function ispCacheNodesOperationsCreateOrUpdate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n resource: IspCacheNodeResource,\n options: IspCacheNodesOperationsCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<OperationState<IspCacheNodeResource>, IspCacheNodeResource> {\n return getLongRunningPoller(\n context,\n _ispCacheNodesOperationsCreateOrUpdateDeserialize,\n [\"200\", \"201\"],\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _ispCacheNodesOperationsCreateOrUpdateSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n resource,\n options,\n ),\n resourceLocationConfig: \"azure-async-operation\",\n },\n ) as PollerLike<OperationState<IspCacheNodeResource>, IspCacheNodeResource>;\n}\n\nexport function _ispCacheNodesOperationsUpdateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n properties: ConnectedCachePatchResource,\n options: IspCacheNodesOperationsUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}/ispCacheNodes/{cacheNodeResourceName}\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n )\n .patch({\n ...operationOptionsToRequestParameters(options),\n body: connectedCachePatchResourceSerializer(properties),\n });\n}\n\nexport async function _ispCacheNodesOperationsUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<IspCacheNodeResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return ispCacheNodeResourceDeserializer(result.body);\n}\n\n/** This api updates an existing ispCacheNode resource */\nexport async function ispCacheNodesOperationsUpdate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n properties: ConnectedCachePatchResource,\n options: IspCacheNodesOperationsUpdateOptionalParams = { requestOptions: {} },\n): Promise<IspCacheNodeResource> {\n const result = await _ispCacheNodesOperationsUpdateSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n properties,\n options,\n );\n return _ispCacheNodesOperationsUpdateDeserialize(result);\n}\n\nexport function _ispCacheNodesOperationsDeleteSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options: IspCacheNodesOperationsDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}/ispCacheNodes/{cacheNodeResourceName}\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n )\n .delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _ispCacheNodesOperationsDeleteDeserialize(\n result: PathUncheckedResponse,\n): Promise<void> {\n const expectedStatuses = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return;\n}\n\n/** This api deletes an existing ispCacheNode resource */\nexport function ispCacheNodesOperationsDelete(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options: IspCacheNodesOperationsDeleteOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(\n context,\n _ispCacheNodesOperationsDeleteDeserialize,\n [\"202\", \"204\", \"200\"],\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _ispCacheNodesOperationsDeleteSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n options,\n ),\n resourceLocationConfig: \"location\",\n },\n ) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _ispCacheNodesOperationsListByIspCustomerResourceSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n options: IspCacheNodesOperationsListByIspCustomerResourceOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}/ispCacheNodes\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _ispCacheNodesOperationsListByIspCustomerResourceDeserialize(\n result: PathUncheckedResponse,\n): Promise<_IspCacheNodeResourceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return _ispCacheNodeResourceListResultDeserializer(result.body);\n}\n\n/** This api retrieves information about all ispCacheNode resources under the given subscription and resource group */\nexport function ispCacheNodesOperationsListByIspCustomerResource(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n options: IspCacheNodesOperationsListByIspCustomerResourceOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<IspCacheNodeResource> {\n return buildPagedAsyncIterator(\n context,\n () =>\n _ispCacheNodesOperationsListByIspCustomerResourceSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n options,\n ),\n _ispCacheNodesOperationsListByIspCustomerResourceDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _ispCacheNodesOperationsGetBgpCidrsSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options: IspCacheNodesOperationsGetBgpCidrsOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}/ispCacheNodes/{cacheNodeResourceName}/getBgpCidrs\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n )\n .post({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _ispCacheNodesOperationsGetBgpCidrsDeserialize(\n result: PathUncheckedResponse,\n): Promise<MccCacheNodeBgpCidrDetails> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return mccCacheNodeBgpCidrDetailsDeserializer(result.body);\n}\n\n/** This api gets ispCacheNode resource information */\nexport async function ispCacheNodesOperationsGetBgpCidrs(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options: IspCacheNodesOperationsGetBgpCidrsOptionalParams = {\n requestOptions: {},\n },\n): Promise<MccCacheNodeBgpCidrDetails> {\n const result = await _ispCacheNodesOperationsGetBgpCidrsSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n options,\n );\n return _ispCacheNodesOperationsGetBgpCidrsDeserialize(result);\n}\n\nexport function _ispCacheNodesOperationsGetCacheNodeInstallDetailsSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options: IspCacheNodesOperationsGetCacheNodeInstallDetailsOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}/ispCacheNodes/{cacheNodeResourceName}/getCacheNodeInstallDetails\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n )\n .post({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _ispCacheNodesOperationsGetCacheNodeInstallDetailsDeserialize(\n result: PathUncheckedResponse,\n): Promise<MccCacheNodeInstallDetails> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return mccCacheNodeInstallDetailsDeserializer(result.body);\n}\n\n/** This api gets secrets of the ispCacheNode resource install details */\nexport async function ispCacheNodesOperationsGetCacheNodeInstallDetails(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options: IspCacheNodesOperationsGetCacheNodeInstallDetailsOptionalParams = {\n requestOptions: {},\n },\n): Promise<MccCacheNodeInstallDetails> {\n const result = await _ispCacheNodesOperationsGetCacheNodeInstallDetailsSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n options,\n );\n return _ispCacheNodesOperationsGetCacheNodeInstallDetailsDeserialize(result);\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/ispCacheNodesOperations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAYlC,OAAO,EAEL,qCAAqC,EAErC,sCAAsC,EAEtC,8BAA8B,EAC9B,gCAAgC,EAEhC,2CAA2C,EAE3C,sCAAsC,GACvC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAGjC,MAAM,UAAU,+BAA+B,CAC7C,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,oBAA4B,EAC5B,qBAA6B,EAC7B,UAAoD,EAAE,cAAc,EAAE,EAAE,EAAE;IAE1E,OAAO,OAAO;SACX,IAAI,CACH,iLAAiL,EACjL,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,CACtB;SACA,GAAG,CAAC,EAAE,GAAG,mCAAmC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;AAC9D,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,sCAAsC,CAC1D,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,eAAe,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,OAAO,gCAAgC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACvD,CAAC;AAED,sDAAsD;AACtD,MAAM,CAAC,KAAK,UAAU,0BAA0B,CAC9C,OAAe,EACf,cAAsB,EACtB,iBAAyB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MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,eAAe,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,OAAO,sCAAsC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAC7D,CAAC;AAED,yEAAyE;AACzE,MAAM,CAAC,KAAK,UAAU,iDAAiD,CACrE,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,oBAA4B,EAC5B,qBAA6B,EAC7B,UAA2E;IACzE,cAAc,EAAE,EAAE;CACnB;IAED,MAAM,MAAM,GAAG,MAAM,sDAAsD,CACzE,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,OAAO,CACR,CAAC;IACF,OAAO,6DAA6D,CAAC,MAAM,CAAC,CAAC;AAC/E,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n ConnectedCacheContext as Client,\n IspCacheNodesOperationsCreateOrUpdateOptionalParams,\n IspCacheNodesOperationsDeleteOptionalParams,\n IspCacheNodesOperationsGetBgpCidrsOptionalParams,\n IspCacheNodesOperationsGetCacheNodeInstallDetailsOptionalParams,\n IspCacheNodesOperationsGetOptionalParams,\n IspCacheNodesOperationsListByIspCustomerResourceOptionalParams,\n IspCacheNodesOperationsUpdateOptionalParams,\n} from \"../index.js\";\nimport {\n ConnectedCachePatchResource,\n connectedCachePatchResourceSerializer,\n MccCacheNodeInstallDetails,\n mccCacheNodeInstallDetailsDeserializer,\n IspCacheNodeResource,\n ispCacheNodeResourceSerializer,\n ispCacheNodeResourceDeserializer,\n _IspCacheNodeResourceListResult,\n _ispCacheNodeResourceListResultDeserializer,\n MccCacheNodeBgpCidrDetails,\n mccCacheNodeBgpCidrDetailsDeserializer,\n} from \"../../models/models.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _ispCacheNodesOperationsGetSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options: IspCacheNodesOperationsGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}/ispCacheNodes/{cacheNodeResourceName}\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _ispCacheNodesOperationsGetDeserialize(\n result: PathUncheckedResponse,\n): Promise<IspCacheNodeResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return ispCacheNodeResourceDeserializer(result.body);\n}\n\n/** This api gets ispCacheNode resource information */\nexport async function ispCacheNodesOperationsGet(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options: IspCacheNodesOperationsGetOptionalParams = { requestOptions: {} },\n): Promise<IspCacheNodeResource> {\n const result = await _ispCacheNodesOperationsGetSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n options,\n );\n return _ispCacheNodesOperationsGetDeserialize(result);\n}\n\nexport function _ispCacheNodesOperationsCreateOrUpdateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n resource: IspCacheNodeResource,\n options: IspCacheNodesOperationsCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}/ispCacheNodes/{cacheNodeResourceName}\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n )\n .put({\n ...operationOptionsToRequestParameters(options),\n body: ispCacheNodeResourceSerializer(resource),\n });\n}\n\nexport async function _ispCacheNodesOperationsCreateOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<IspCacheNodeResource> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return ispCacheNodeResourceDeserializer(result.body);\n}\n\n/** This api creates an ispCacheNode with the specified create parameters */\nexport function ispCacheNodesOperationsCreateOrUpdate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n resource: IspCacheNodeResource,\n options: IspCacheNodesOperationsCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<OperationState<IspCacheNodeResource>, IspCacheNodeResource> {\n return getLongRunningPoller(\n context,\n _ispCacheNodesOperationsCreateOrUpdateDeserialize,\n [\"200\", \"201\"],\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _ispCacheNodesOperationsCreateOrUpdateSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n resource,\n options,\n ),\n resourceLocationConfig: \"azure-async-operation\",\n },\n ) as PollerLike<OperationState<IspCacheNodeResource>, IspCacheNodeResource>;\n}\n\nexport function _ispCacheNodesOperationsUpdateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n properties: ConnectedCachePatchResource,\n options: IspCacheNodesOperationsUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}/ispCacheNodes/{cacheNodeResourceName}\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n )\n .patch({\n ...operationOptionsToRequestParameters(options),\n body: connectedCachePatchResourceSerializer(properties),\n });\n}\n\nexport async function _ispCacheNodesOperationsUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<IspCacheNodeResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return ispCacheNodeResourceDeserializer(result.body);\n}\n\n/** This api updates an existing ispCacheNode resource */\nexport async function ispCacheNodesOperationsUpdate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n properties: ConnectedCachePatchResource,\n options: IspCacheNodesOperationsUpdateOptionalParams = { requestOptions: {} },\n): Promise<IspCacheNodeResource> {\n const result = await _ispCacheNodesOperationsUpdateSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n properties,\n options,\n );\n return _ispCacheNodesOperationsUpdateDeserialize(result);\n}\n\nexport function _ispCacheNodesOperationsDeleteSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options: IspCacheNodesOperationsDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}/ispCacheNodes/{cacheNodeResourceName}\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n )\n .delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _ispCacheNodesOperationsDeleteDeserialize(\n result: PathUncheckedResponse,\n): Promise<void> {\n const expectedStatuses = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return;\n}\n\n/** This api deletes an existing ispCacheNode resource */\nexport function ispCacheNodesOperationsDelete(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options: IspCacheNodesOperationsDeleteOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(\n context,\n _ispCacheNodesOperationsDeleteDeserialize,\n [\"202\", \"204\", \"200\"],\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _ispCacheNodesOperationsDeleteSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n options,\n ),\n resourceLocationConfig: \"location\",\n },\n ) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _ispCacheNodesOperationsListByIspCustomerResourceSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n options: IspCacheNodesOperationsListByIspCustomerResourceOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}/ispCacheNodes\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _ispCacheNodesOperationsListByIspCustomerResourceDeserialize(\n result: PathUncheckedResponse,\n): Promise<_IspCacheNodeResourceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return _ispCacheNodeResourceListResultDeserializer(result.body);\n}\n\n/** This api retrieves information about all ispCacheNode resources under the given subscription and resource group */\nexport function ispCacheNodesOperationsListByIspCustomerResource(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n options: IspCacheNodesOperationsListByIspCustomerResourceOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<IspCacheNodeResource> {\n return buildPagedAsyncIterator(\n context,\n () =>\n _ispCacheNodesOperationsListByIspCustomerResourceSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n options,\n ),\n _ispCacheNodesOperationsListByIspCustomerResourceDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _ispCacheNodesOperationsGetBgpCidrsSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options: IspCacheNodesOperationsGetBgpCidrsOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}/ispCacheNodes/{cacheNodeResourceName}/getBgpCidrs\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n )\n .post({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _ispCacheNodesOperationsGetBgpCidrsDeserialize(\n result: PathUncheckedResponse,\n): Promise<MccCacheNodeBgpCidrDetails> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return mccCacheNodeBgpCidrDetailsDeserializer(result.body);\n}\n\n/** This api gets ispCacheNode resource information */\nexport async function ispCacheNodesOperationsGetBgpCidrs(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options: IspCacheNodesOperationsGetBgpCidrsOptionalParams = {\n requestOptions: {},\n },\n): Promise<MccCacheNodeBgpCidrDetails> {\n const result = await _ispCacheNodesOperationsGetBgpCidrsSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n options,\n );\n return _ispCacheNodesOperationsGetBgpCidrsDeserialize(result);\n}\n\nexport function _ispCacheNodesOperationsGetCacheNodeInstallDetailsSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options: IspCacheNodesOperationsGetCacheNodeInstallDetailsOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}/ispCacheNodes/{cacheNodeResourceName}/getCacheNodeInstallDetails\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n )\n .post({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _ispCacheNodesOperationsGetCacheNodeInstallDetailsDeserialize(\n result: PathUncheckedResponse,\n): Promise<MccCacheNodeInstallDetails> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return mccCacheNodeInstallDetailsDeserializer(result.body);\n}\n\n/** This api gets secrets of the ispCacheNode resource install details */\nexport async function ispCacheNodesOperationsGetCacheNodeInstallDetails(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options: IspCacheNodesOperationsGetCacheNodeInstallDetailsOptionalParams = {\n requestOptions: {},\n },\n): Promise<MccCacheNodeInstallDetails> {\n const result = await _ispCacheNodesOperationsGetCacheNodeInstallDetailsSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n options,\n );\n return _ispCacheNodesOperationsGetCacheNodeInstallDetailsDeserialize(result);\n}\n"]}
@@ -7,7 +7,7 @@ import { createRestError, operationOptionsToRequestParameters, } from "@azure-re
7
7
  export function _ispCustomersGetSend(context, subscriptionId, resourceGroupName, customerResourceName, options = { requestOptions: {} }) {
8
8
  return context
9
9
  .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}", subscriptionId, resourceGroupName, customerResourceName)
10
- .get(Object.assign({}, operationOptionsToRequestParameters(options)));
10
+ .get({ ...operationOptionsToRequestParameters(options) });
11
11
  }
12
12
  export async function _ispCustomersGetDeserialize(result) {
13
13
  const expectedStatuses = ["200"];
@@ -24,7 +24,10 @@ export async function ispCustomersGet(context, subscriptionId, resourceGroupName
24
24
  export function _ispCustomersCreateOrUpdateSend(context, subscriptionId, resourceGroupName, customerResourceName, resource, options = { requestOptions: {} }) {
25
25
  return context
26
26
  .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}", subscriptionId, resourceGroupName, customerResourceName)
27
- .put(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { body: ispCustomerResourceSerializer(resource) }));
27
+ .put({
28
+ ...operationOptionsToRequestParameters(options),
29
+ body: ispCustomerResourceSerializer(resource),
30
+ });
28
31
  }
29
32
  export async function _ispCustomersCreateOrUpdateDeserialize(result) {
30
33
  const expectedStatuses = ["200", "201"];
@@ -36,8 +39,8 @@ export async function _ispCustomersCreateOrUpdateDeserialize(result) {
36
39
  /** This api creates an ispCustomer with the specified create parameters */
37
40
  export function ispCustomersCreateOrUpdate(context, subscriptionId, resourceGroupName, customerResourceName, resource, options = { requestOptions: {} }) {
38
41
  return getLongRunningPoller(context, _ispCustomersCreateOrUpdateDeserialize, ["200", "201"], {
39
- updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
40
- abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
42
+ updateIntervalInMs: options?.updateIntervalInMs,
43
+ abortSignal: options?.abortSignal,
41
44
  getInitialResponse: () => _ispCustomersCreateOrUpdateSend(context, subscriptionId, resourceGroupName, customerResourceName, resource, options),
42
45
  resourceLocationConfig: "azure-async-operation",
43
46
  });
@@ -45,7 +48,10 @@ export function ispCustomersCreateOrUpdate(context, subscriptionId, resourceGrou
45
48
  export function _ispCustomersUpdateSend(context, subscriptionId, resourceGroupName, customerResourceName, properties, options = { requestOptions: {} }) {
46
49
  return context
47
50
  .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}", subscriptionId, resourceGroupName, customerResourceName)
48
- .patch(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { body: connectedCachePatchResourceSerializer(properties) }));
51
+ .patch({
52
+ ...operationOptionsToRequestParameters(options),
53
+ body: connectedCachePatchResourceSerializer(properties),
54
+ });
49
55
  }
50
56
  export async function _ispCustomersUpdateDeserialize(result) {
51
57
  const expectedStatuses = ["200"];
@@ -62,7 +68,7 @@ export async function ispCustomersUpdate(context, subscriptionId, resourceGroupN
62
68
  export function _ispCustomersDeleteSend(context, subscriptionId, resourceGroupName, customerResourceName, options = { requestOptions: {} }) {
63
69
  return context
64
70
  .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}", subscriptionId, resourceGroupName, customerResourceName)
65
- .delete(Object.assign({}, operationOptionsToRequestParameters(options)));
71
+ .delete({ ...operationOptionsToRequestParameters(options) });
66
72
  }
67
73
  export async function _ispCustomersDeleteDeserialize(result) {
68
74
  const expectedStatuses = ["202", "204", "200"];
@@ -74,8 +80,8 @@ export async function _ispCustomersDeleteDeserialize(result) {
74
80
  /** This api deletes an existing ispCustomer resource */
75
81
  export function ispCustomersDelete(context, subscriptionId, resourceGroupName, customerResourceName, options = { requestOptions: {} }) {
76
82
  return getLongRunningPoller(context, _ispCustomersDeleteDeserialize, ["202", "204", "200"], {
77
- updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
78
- abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
83
+ updateIntervalInMs: options?.updateIntervalInMs,
84
+ abortSignal: options?.abortSignal,
79
85
  getInitialResponse: () => _ispCustomersDeleteSend(context, subscriptionId, resourceGroupName, customerResourceName, options),
80
86
  resourceLocationConfig: "location",
81
87
  });
@@ -85,7 +91,7 @@ export function _ispCustomersListByResourceGroupSend(context, subscriptionId, re
85
91
  }) {
86
92
  return context
87
93
  .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers", subscriptionId, resourceGroupName)
88
- .get(Object.assign({}, operationOptionsToRequestParameters(options)));
94
+ .get({ ...operationOptionsToRequestParameters(options) });
89
95
  }
90
96
  export async function _ispCustomersListByResourceGroupDeserialize(result) {
91
97
  const expectedStatuses = ["200"];
@@ -105,7 +111,7 @@ export function _ispCustomersListBySubscriptionSend(context, subscriptionId, opt
105
111
  }) {
106
112
  return context
107
113
  .path("/subscriptions/{subscriptionId}/providers/Microsoft.ConnectedCache/ispCustomers", subscriptionId)
108
- .get(Object.assign({}, operationOptionsToRequestParameters(options)));
114
+ .get({ ...operationOptionsToRequestParameters(options) });
109
115
  }
110
116
  export async function _ispCustomersListBySubscriptionDeserialize(result) {
111
117
  const expectedStatuses = ["200"];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/ispCustomers/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAWlC,OAAO,EAEL,qCAAqC,EAErC,6BAA6B,EAC7B,+BAA+B,EAE/B,0CAA0C,GAC3C,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAGjC,MAAM,UAAU,oBAAoB,CAClC,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,oBAA4B,EAC5B,UAAyC,EAAE,cAAc,EAAE,EAAE,EAAE;IAE/D,OAAO,OAAO;SACX,IAAI,CACH,2IAA2I,EAC3I,cAAc,EACd,iBAAiB,EACjB,oBAAoB,CACrB;SACA,GAAG,mBAAM,mCAAmC,CAAC,OAAO,CAAC,EAAG,CAAC;AAC9D,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,2BAA2B,CAC/C,MAA6B;IAE7B,MAAM,gB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F,EACjF,cAAc,CACf;SACA,GAAG,mBAAM,mCAAmC,CAAC,OAAO,CAAC,EAAG,CAAC;AAC9D,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,0CAA0C,CAC9D,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,eAAe,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,OAAO,0CAA0C,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACjE,CAAC;AAED,6FAA6F;AAC7F,MAAM,UAAU,8BAA8B,CAC5C,OAAe,EACf,cAAsB,EACtB,UAAwD;IACtD,cAAc,EAAE,EAAE;CACnB;IAED,OAAO,uBAAuB,CAC5B,OAAO,EACP,GAAG,EAAE,CAAC,mCAAmC,CAAC,OAAO,EAAE,cAAc,EAAE,OAAO,CAAC,EAC3E,0CAA0C,EAC1C,CAAC,KAAK,CAAC,EACP,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,CAChD,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n ConnectedCacheContext as Client,\n IspCustomersCreateOrUpdateOptionalParams,\n IspCustomersDeleteOptionalParams,\n IspCustomersGetOptionalParams,\n IspCustomersListByResourceGroupOptionalParams,\n IspCustomersListBySubscriptionOptionalParams,\n IspCustomersUpdateOptionalParams,\n} from \"../index.js\";\nimport {\n ConnectedCachePatchResource,\n connectedCachePatchResourceSerializer,\n IspCustomerResource,\n ispCustomerResourceSerializer,\n ispCustomerResourceDeserializer,\n _IspCustomerResourceListResult,\n _ispCustomerResourceListResultDeserializer,\n} from \"../../models/models.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _ispCustomersGetSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n options: IspCustomersGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _ispCustomersGetDeserialize(\n result: PathUncheckedResponse,\n): Promise<IspCustomerResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return ispCustomerResourceDeserializer(result.body);\n}\n\n/** Gets the ispCustomer resource information using this get call */\nexport async function ispCustomersGet(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n options: IspCustomersGetOptionalParams = { requestOptions: {} },\n): Promise<IspCustomerResource> {\n const result = await _ispCustomersGetSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n options,\n );\n return _ispCustomersGetDeserialize(result);\n}\n\nexport function _ispCustomersCreateOrUpdateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n resource: IspCustomerResource,\n options: IspCustomersCreateOrUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n )\n .put({\n ...operationOptionsToRequestParameters(options),\n body: ispCustomerResourceSerializer(resource),\n });\n}\n\nexport async function _ispCustomersCreateOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<IspCustomerResource> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return ispCustomerResourceDeserializer(result.body);\n}\n\n/** This api creates an ispCustomer with the specified create parameters */\nexport function ispCustomersCreateOrUpdate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n resource: IspCustomerResource,\n options: IspCustomersCreateOrUpdateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<IspCustomerResource>, IspCustomerResource> {\n return getLongRunningPoller(context, _ispCustomersCreateOrUpdateDeserialize, [\"200\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _ispCustomersCreateOrUpdateSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n resource,\n options,\n ),\n resourceLocationConfig: \"azure-async-operation\",\n }) as PollerLike<OperationState<IspCustomerResource>, IspCustomerResource>;\n}\n\nexport function _ispCustomersUpdateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n properties: ConnectedCachePatchResource,\n options: IspCustomersUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n )\n .patch({\n ...operationOptionsToRequestParameters(options),\n body: connectedCachePatchResourceSerializer(properties),\n });\n}\n\nexport async function _ispCustomersUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<IspCustomerResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return ispCustomerResourceDeserializer(result.body);\n}\n\n/** This api updates an existing ispCustomer resource */\nexport async function ispCustomersUpdate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n properties: ConnectedCachePatchResource,\n options: IspCustomersUpdateOptionalParams = { requestOptions: {} },\n): Promise<IspCustomerResource> {\n const result = await _ispCustomersUpdateSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n properties,\n options,\n );\n return _ispCustomersUpdateDeserialize(result);\n}\n\nexport function _ispCustomersDeleteSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n options: IspCustomersDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n )\n .delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _ispCustomersDeleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return;\n}\n\n/** This api deletes an existing ispCustomer resource */\nexport function ispCustomersDelete(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n options: IspCustomersDeleteOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _ispCustomersDeleteDeserialize, [\"202\", \"204\", \"200\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _ispCustomersDeleteSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n options,\n ),\n resourceLocationConfig: \"location\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _ispCustomersListByResourceGroupSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n options: IspCustomersListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers\",\n subscriptionId,\n resourceGroupName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _ispCustomersListByResourceGroupDeserialize(\n result: PathUncheckedResponse,\n): Promise<_IspCustomerResourceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return _ispCustomerResourceListResultDeserializer(result.body);\n}\n\n/** This api gets the information about all ispCustomer resources under the given subscription and resource group */\nexport function ispCustomersListByResourceGroup(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n options: IspCustomersListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<IspCustomerResource> {\n return buildPagedAsyncIterator(\n context,\n () => _ispCustomersListByResourceGroupSend(context, subscriptionId, resourceGroupName, options),\n _ispCustomersListByResourceGroupDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _ispCustomersListBySubscriptionSend(\n context: Client,\n subscriptionId: string,\n options: IspCustomersListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ConnectedCache/ispCustomers\",\n subscriptionId,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _ispCustomersListBySubscriptionDeserialize(\n result: PathUncheckedResponse,\n): Promise<_IspCustomerResourceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return _ispCustomerResourceListResultDeserializer(result.body);\n}\n\n/** This api gets information about all ispCustomer resources under the given subscription */\nexport function ispCustomersListBySubscription(\n context: Client,\n subscriptionId: string,\n options: IspCustomersListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<IspCustomerResource> {\n return buildPagedAsyncIterator(\n context,\n () => _ispCustomersListBySubscriptionSend(context, subscriptionId, options),\n _ispCustomersListBySubscriptionDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/ispCustomers/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAWlC,OAAO,EAEL,qCAAqC,EAErC,6BAA6B,EAC7B,+BAA+B,EAE/B,0CAA0C,GAC3C,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAGjC,MAAM,UAAU,oBAAoB,CAClC,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,oBAA4B,EAC5B,UAAyC,EAAE,cAAc,EAAE,EAAE,EAAE;IAE/D,OAAO,OAAO;SACX,IAAI,CACH,2IAA2I,EAC3I,cAAc,EACd,iBAAiB,EACjB,oBAAoB,CACrB;SACA,GAAG,CAAC,EAAE,GAAG,mCAAmC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;AAC9D,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,2BAA2B,CAC/C,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,eAAe,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,OAAO,+BAA+B,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACtD,CAAC;AAED,oEAAoE;AACpE,MAAM,CAAC,KAAK,UAAU,eAAe,CACnC,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,oBAA4B,EAC5B,UAAyC,EAAE,cAAc,EAAE,EAAE,EAAE;IAE/D,MAAM,MAAM,GAAG,MAAM,oBAAo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5C,OAAe,EACf,cAAsB,EACtB,UAAwD;IACtD,cAAc,EAAE,EAAE;CACnB;IAED,OAAO,uBAAuB,CAC5B,OAAO,EACP,GAAG,EAAE,CAAC,mCAAmC,CAAC,OAAO,EAAE,cAAc,EAAE,OAAO,CAAC,EAC3E,0CAA0C,EAC1C,CAAC,KAAK,CAAC,EACP,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,CAChD,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n ConnectedCacheContext as Client,\n IspCustomersCreateOrUpdateOptionalParams,\n IspCustomersDeleteOptionalParams,\n IspCustomersGetOptionalParams,\n IspCustomersListByResourceGroupOptionalParams,\n IspCustomersListBySubscriptionOptionalParams,\n IspCustomersUpdateOptionalParams,\n} from \"../index.js\";\nimport {\n ConnectedCachePatchResource,\n connectedCachePatchResourceSerializer,\n IspCustomerResource,\n ispCustomerResourceSerializer,\n ispCustomerResourceDeserializer,\n _IspCustomerResourceListResult,\n _ispCustomerResourceListResultDeserializer,\n} from \"../../models/models.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _ispCustomersGetSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n options: IspCustomersGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _ispCustomersGetDeserialize(\n result: PathUncheckedResponse,\n): Promise<IspCustomerResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return ispCustomerResourceDeserializer(result.body);\n}\n\n/** Gets the ispCustomer resource information using this get call */\nexport async function ispCustomersGet(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n options: IspCustomersGetOptionalParams = { requestOptions: {} },\n): Promise<IspCustomerResource> {\n const result = await _ispCustomersGetSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n options,\n );\n return _ispCustomersGetDeserialize(result);\n}\n\nexport function _ispCustomersCreateOrUpdateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n resource: IspCustomerResource,\n options: IspCustomersCreateOrUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n )\n .put({\n ...operationOptionsToRequestParameters(options),\n body: ispCustomerResourceSerializer(resource),\n });\n}\n\nexport async function _ispCustomersCreateOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<IspCustomerResource> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return ispCustomerResourceDeserializer(result.body);\n}\n\n/** This api creates an ispCustomer with the specified create parameters */\nexport function ispCustomersCreateOrUpdate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n resource: IspCustomerResource,\n options: IspCustomersCreateOrUpdateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<IspCustomerResource>, IspCustomerResource> {\n return getLongRunningPoller(context, _ispCustomersCreateOrUpdateDeserialize, [\"200\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _ispCustomersCreateOrUpdateSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n resource,\n options,\n ),\n resourceLocationConfig: \"azure-async-operation\",\n }) as PollerLike<OperationState<IspCustomerResource>, IspCustomerResource>;\n}\n\nexport function _ispCustomersUpdateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n properties: ConnectedCachePatchResource,\n options: IspCustomersUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n )\n .patch({\n ...operationOptionsToRequestParameters(options),\n body: connectedCachePatchResourceSerializer(properties),\n });\n}\n\nexport async function _ispCustomersUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<IspCustomerResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return ispCustomerResourceDeserializer(result.body);\n}\n\n/** This api updates an existing ispCustomer resource */\nexport async function ispCustomersUpdate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n properties: ConnectedCachePatchResource,\n options: IspCustomersUpdateOptionalParams = { requestOptions: {} },\n): Promise<IspCustomerResource> {\n const result = await _ispCustomersUpdateSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n properties,\n options,\n );\n return _ispCustomersUpdateDeserialize(result);\n}\n\nexport function _ispCustomersDeleteSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n options: IspCustomersDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}\",\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n )\n .delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _ispCustomersDeleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return;\n}\n\n/** This api deletes an existing ispCustomer resource */\nexport function ispCustomersDelete(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n customerResourceName: string,\n options: IspCustomersDeleteOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _ispCustomersDeleteDeserialize, [\"202\", \"204\", \"200\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _ispCustomersDeleteSend(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n options,\n ),\n resourceLocationConfig: \"location\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _ispCustomersListByResourceGroupSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n options: IspCustomersListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers\",\n subscriptionId,\n resourceGroupName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _ispCustomersListByResourceGroupDeserialize(\n result: PathUncheckedResponse,\n): Promise<_IspCustomerResourceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return _ispCustomerResourceListResultDeserializer(result.body);\n}\n\n/** This api gets the information about all ispCustomer resources under the given subscription and resource group */\nexport function ispCustomersListByResourceGroup(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n options: IspCustomersListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<IspCustomerResource> {\n return buildPagedAsyncIterator(\n context,\n () => _ispCustomersListByResourceGroupSend(context, subscriptionId, resourceGroupName, options),\n _ispCustomersListByResourceGroupDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _ispCustomersListBySubscriptionSend(\n context: Client,\n subscriptionId: string,\n options: IspCustomersListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ConnectedCache/ispCustomers\",\n subscriptionId,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _ispCustomersListBySubscriptionDeserialize(\n result: PathUncheckedResponse,\n): Promise<_IspCustomerResourceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return _ispCustomerResourceListResultDeserializer(result.body);\n}\n\n/** This api gets information about all ispCustomer resources under the given subscription */\nexport function ispCustomersListBySubscription(\n context: Client,\n subscriptionId: string,\n options: IspCustomersListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<IspCustomerResource> {\n return buildPagedAsyncIterator(\n context,\n () => _ispCustomersListBySubscriptionSend(context, subscriptionId, options),\n _ispCustomersListBySubscriptionDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
@@ -6,7 +6,7 @@ import { createRestError, operationOptionsToRequestParameters, } from "@azure-re
6
6
  export function _operationsListSend(context, options = { requestOptions: {} }) {
7
7
  return context
8
8
  .path("/providers/Microsoft.ConnectedCache/operations")
9
- .get(Object.assign({}, operationOptionsToRequestParameters(options)));
9
+ .get({ ...operationOptionsToRequestParameters(options) });
10
10
  }
11
11
  export async function _operationsListDeserialize(result) {
12
12
  const expectedStatuses = ["200"];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/operations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAEL,gCAAgC,GAEjC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAEjC,MAAM,UAAU,mBAAmB,CACjC,OAAe,EACf,UAAwC,EAAE,cAAc,EAAE,EAAE,EAAE;IAE9D,OAAO,OAAO;SACX,IAAI,CAAC,gDAAgD,CAAC;SACtD,GAAG,mBAAM,mCAAmC,CAAC,OAAO,CAAC,EAAG,CAAC;AAC9D,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,0BAA0B,CAC9C,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,eAAe,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,OAAO,gCAAgC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACvD,CAAC;AAED,2CAA2C;AAC3C,MAAM,UAAU,cAAc,CAC5B,OAAe,EACf,UAAwC,EAAE,cAAc,EAAE,EAAE,EAAE;IAE9D,OAAO,uBAAuB,CAC5B,OAAO,EACP,GAAG,EAAE,CAAC,mBAAmB,CAAC,OAAO,EAAE,OAAO,CAAC,EAC3C,0BAA0B,EAC1B,CAAC,KAAK,CAAC,EACP,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,CAChD,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ConnectedCacheContext as Client, OperationsListOptionalParams } from \"../index.js\";\nimport {\n _OperationListResult,\n _operationListResultDeserializer,\n Operation,\n} from \"../../models/models.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\n\nexport function _operationsListSend(\n context: Client,\n options: OperationsListOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\"/providers/Microsoft.ConnectedCache/operations\")\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _operationsListDeserialize(\n result: PathUncheckedResponse,\n): Promise<_OperationListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return _operationListResultDeserializer(result.body);\n}\n\n/** List the operations for the provider */\nexport function operationsList(\n context: Client,\n options: OperationsListOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<Operation> {\n return buildPagedAsyncIterator(\n context,\n () => _operationsListSend(context, options),\n _operationsListDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/operations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAEL,gCAAgC,GAEjC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAEjC,MAAM,UAAU,mBAAmB,CACjC,OAAe,EACf,UAAwC,EAAE,cAAc,EAAE,EAAE,EAAE;IAE9D,OAAO,OAAO;SACX,IAAI,CAAC,gDAAgD,CAAC;SACtD,GAAG,CAAC,EAAE,GAAG,mCAAmC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;AAC9D,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,0BAA0B,CAC9C,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,eAAe,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,OAAO,gCAAgC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACvD,CAAC;AAED,2CAA2C;AAC3C,MAAM,UAAU,cAAc,CAC5B,OAAe,EACf,UAAwC,EAAE,cAAc,EAAE,EAAE,EAAE;IAE9D,OAAO,uBAAuB,CAC5B,OAAO,EACP,GAAG,EAAE,CAAC,mBAAmB,CAAC,OAAO,EAAE,OAAO,CAAC,EAC3C,0BAA0B,EAC1B,CAAC,KAAK,CAAC,EACP,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,CAChD,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ConnectedCacheContext as Client, OperationsListOptionalParams } from \"../index.js\";\nimport {\n _OperationListResult,\n _operationListResultDeserializer,\n Operation,\n} from \"../../models/models.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\n\nexport function _operationsListSend(\n context: Client,\n options: OperationsListOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\"/providers/Microsoft.ConnectedCache/operations\")\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _operationsListDeserialize(\n result: PathUncheckedResponse,\n): Promise<_OperationListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return _operationListResultDeserializer(result.body);\n}\n\n/** List the operations for the provider */\nexport function operationsList(\n context: Client,\n options: OperationsListOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<Operation> {\n return buildPagedAsyncIterator(\n context,\n () => _operationsListSend(context, options),\n _operationsListDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
@@ -12,6 +12,8 @@ export function getCacheNodesOperations(context, subscriptionId) {
12
12
  };
13
13
  }
14
14
  export function getCacheNodesOperationsOperations(context, subscriptionId) {
15
- return Object.assign({}, getCacheNodesOperations(context, subscriptionId));
15
+ return {
16
+ ...getCacheNodesOperations(context, subscriptionId),
17
+ };
16
18
  }
17
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/cacheNodesOperations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,uBAAuB,EACvB,kCAAkC,EAClC,0BAA0B,EAC1B,0BAA0B,EAC1B,uCAAuC,EACvC,sCAAsC,GACvC,MAAM,yCAAyC,CAAC;AAoDjD,MAAM,UAAU,uBAAuB,CAAC,OAA8B,EAAE,cAAsB;IAC5F,OAAO;QACL,GAAG,EAAE,CACH,iBAAyB,EACzB,oBAA4B,EAC5B,OAA+C,EAC/C,EAAE,CACF,uBAAuB,CACrB,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,OAAO,CACR;QACH,cAAc,EAAE,CACd,iBAAyB,EACzB,oBAA4B,EAC5B,QAAkC,EAClC,OAA0D,EAC1D,EAAE,CACF,kCAAkC,CAChC,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,QAAQ,EACR,OAAO,CACR;QACH,MAAM,EAAE,CACN,iBAAyB,EACzB,oBAA4B,EAC5B,OAAkD,EAClD,EAAE,CACF,0BAA0B,CACxB,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,OAAO,CACR;QACH,MAAM,EAAE,CACN,iBAAyB,EACzB,oBAA4B,EAC5B,UAAuC,EACvC,OAAkD,EAClD,EAAE,CACF,0BAA0B,CACxB,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,UAAU,EACV,OAAO,CACR;QACH,mBAAmB,EAAE,CACnB,iBAAyB,EACzB,OAA+D,EAC/D,EAAE,CACF,uCAAuC,CAAC,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,OAAO,CAAC;QAC9F,kBAAkB,EAAE,CAAC,OAA8D,EAAE,EAAE,CACrF,sCAAsC,CAAC,OAAO,EAAE,cAAc,EAAE,OAAO,CAAC;KAC3E,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,iCAAiC,CAC/C,OAA8B,EAC9B,cAAsB;IAEtB,yBACK,uBAAuB,CAAC,OAAO,EAAE,cAAc,CAAC,EACnD;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ConnectedCacheContext } from \"../../api/connectedCacheContext.js\";\nimport {\n cacheNodesOperationsGet,\n cacheNodesOperationsCreateorUpdate,\n cacheNodesOperationsDelete,\n cacheNodesOperationsUpdate,\n cacheNodesOperationsListByResourceGroup,\n cacheNodesOperationsListBySubscription,\n} from \"../../api/cacheNodesOperations/index.js\";\nimport { ConnectedCachePatchResource, CacheNodePreviewResource } from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n CacheNodesOperationsGetOptionalParams,\n CacheNodesOperationsCreateorUpdateOptionalParams,\n CacheNodesOperationsDeleteOptionalParams,\n CacheNodesOperationsUpdateOptionalParams,\n CacheNodesOperationsListByResourceGroupOptionalParams,\n CacheNodesOperationsListBySubscriptionOptionalParams,\n} from \"../../api/options.js\";\n\n/** Interface representing a CacheNodesOperations operations. */\nexport interface CacheNodesOperationsOperations {\n /** Retrieves the properties of a cacheNodes */\n get: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: CacheNodesOperationsGetOptionalParams,\n ) => Promise<CacheNodePreviewResource>;\n /** Creates a cacheNodes with the specified create parameters */\n createorUpdate: (\n resourceGroupName: string,\n customerResourceName: string,\n resource: CacheNodePreviewResource,\n options?: CacheNodesOperationsCreateorUpdateOptionalParams,\n ) => PollerLike<OperationState<CacheNodePreviewResource>, CacheNodePreviewResource>;\n /** Deletes an existing cache Node */\n delete: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: CacheNodesOperationsDeleteOptionalParams,\n ) => Promise<void>;\n /** updates an existing Cache Node */\n update: (\n resourceGroupName: string,\n customerResourceName: string,\n properties: ConnectedCachePatchResource,\n options?: CacheNodesOperationsUpdateOptionalParams,\n ) => Promise<CacheNodePreviewResource>;\n /** Retrieves the properties of all ConnectedCache */\n listByResourceGroup: (\n resourceGroupName: string,\n options?: CacheNodesOperationsListByResourceGroupOptionalParams,\n ) => PagedAsyncIterableIterator<CacheNodePreviewResource>;\n /** Retrieves the properties of all ConnectedCaches */\n listBySubscription: (\n options?: CacheNodesOperationsListBySubscriptionOptionalParams,\n ) => PagedAsyncIterableIterator<CacheNodePreviewResource>;\n}\n\nexport function getCacheNodesOperations(context: ConnectedCacheContext, subscriptionId: string) {\n return {\n get: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: CacheNodesOperationsGetOptionalParams,\n ) =>\n cacheNodesOperationsGet(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n options,\n ),\n createorUpdate: (\n resourceGroupName: string,\n customerResourceName: string,\n resource: CacheNodePreviewResource,\n options?: CacheNodesOperationsCreateorUpdateOptionalParams,\n ) =>\n cacheNodesOperationsCreateorUpdate(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n resource,\n options,\n ),\n delete: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: CacheNodesOperationsDeleteOptionalParams,\n ) =>\n cacheNodesOperationsDelete(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n options,\n ),\n update: (\n resourceGroupName: string,\n customerResourceName: string,\n properties: ConnectedCachePatchResource,\n options?: CacheNodesOperationsUpdateOptionalParams,\n ) =>\n cacheNodesOperationsUpdate(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n properties,\n options,\n ),\n listByResourceGroup: (\n resourceGroupName: string,\n options?: CacheNodesOperationsListByResourceGroupOptionalParams,\n ) =>\n cacheNodesOperationsListByResourceGroup(context, subscriptionId, resourceGroupName, options),\n listBySubscription: (options?: CacheNodesOperationsListBySubscriptionOptionalParams) =>\n cacheNodesOperationsListBySubscription(context, subscriptionId, options),\n };\n}\n\nexport function getCacheNodesOperationsOperations(\n context: ConnectedCacheContext,\n subscriptionId: string,\n): CacheNodesOperationsOperations {\n return {\n ...getCacheNodesOperations(context, subscriptionId),\n };\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/cacheNodesOperations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,uBAAuB,EACvB,kCAAkC,EAClC,0BAA0B,EAC1B,0BAA0B,EAC1B,uCAAuC,EACvC,sCAAsC,GACvC,MAAM,yCAAyC,CAAC;AAoDjD,MAAM,UAAU,uBAAuB,CAAC,OAA8B,EAAE,cAAsB;IAC5F,OAAO;QACL,GAAG,EAAE,CACH,iBAAyB,EACzB,oBAA4B,EAC5B,OAA+C,EAC/C,EAAE,CACF,uBAAuB,CACrB,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,OAAO,CACR;QACH,cAAc,EAAE,CACd,iBAAyB,EACzB,oBAA4B,EAC5B,QAAkC,EAClC,OAA0D,EAC1D,EAAE,CACF,kCAAkC,CAChC,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,QAAQ,EACR,OAAO,CACR;QACH,MAAM,EAAE,CACN,iBAAyB,EACzB,oBAA4B,EAC5B,OAAkD,EAClD,EAAE,CACF,0BAA0B,CACxB,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,OAAO,CACR;QACH,MAAM,EAAE,CACN,iBAAyB,EACzB,oBAA4B,EAC5B,UAAuC,EACvC,OAAkD,EAClD,EAAE,CACF,0BAA0B,CACxB,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,UAAU,EACV,OAAO,CACR;QACH,mBAAmB,EAAE,CACnB,iBAAyB,EACzB,OAA+D,EAC/D,EAAE,CACF,uCAAuC,CAAC,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,OAAO,CAAC;QAC9F,kBAAkB,EAAE,CAAC,OAA8D,EAAE,EAAE,CACrF,sCAAsC,CAAC,OAAO,EAAE,cAAc,EAAE,OAAO,CAAC;KAC3E,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,iCAAiC,CAC/C,OAA8B,EAC9B,cAAsB;IAEtB,OAAO;QACL,GAAG,uBAAuB,CAAC,OAAO,EAAE,cAAc,CAAC;KACpD,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ConnectedCacheContext } from \"../../api/connectedCacheContext.js\";\nimport {\n cacheNodesOperationsGet,\n cacheNodesOperationsCreateorUpdate,\n cacheNodesOperationsDelete,\n cacheNodesOperationsUpdate,\n cacheNodesOperationsListByResourceGroup,\n cacheNodesOperationsListBySubscription,\n} from \"../../api/cacheNodesOperations/index.js\";\nimport { ConnectedCachePatchResource, CacheNodePreviewResource } from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n CacheNodesOperationsGetOptionalParams,\n CacheNodesOperationsCreateorUpdateOptionalParams,\n CacheNodesOperationsDeleteOptionalParams,\n CacheNodesOperationsUpdateOptionalParams,\n CacheNodesOperationsListByResourceGroupOptionalParams,\n CacheNodesOperationsListBySubscriptionOptionalParams,\n} from \"../../api/options.js\";\n\n/** Interface representing a CacheNodesOperations operations. */\nexport interface CacheNodesOperationsOperations {\n /** Retrieves the properties of a cacheNodes */\n get: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: CacheNodesOperationsGetOptionalParams,\n ) => Promise<CacheNodePreviewResource>;\n /** Creates a cacheNodes with the specified create parameters */\n createorUpdate: (\n resourceGroupName: string,\n customerResourceName: string,\n resource: CacheNodePreviewResource,\n options?: CacheNodesOperationsCreateorUpdateOptionalParams,\n ) => PollerLike<OperationState<CacheNodePreviewResource>, CacheNodePreviewResource>;\n /** Deletes an existing cache Node */\n delete: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: CacheNodesOperationsDeleteOptionalParams,\n ) => Promise<void>;\n /** updates an existing Cache Node */\n update: (\n resourceGroupName: string,\n customerResourceName: string,\n properties: ConnectedCachePatchResource,\n options?: CacheNodesOperationsUpdateOptionalParams,\n ) => Promise<CacheNodePreviewResource>;\n /** Retrieves the properties of all ConnectedCache */\n listByResourceGroup: (\n resourceGroupName: string,\n options?: CacheNodesOperationsListByResourceGroupOptionalParams,\n ) => PagedAsyncIterableIterator<CacheNodePreviewResource>;\n /** Retrieves the properties of all ConnectedCaches */\n listBySubscription: (\n options?: CacheNodesOperationsListBySubscriptionOptionalParams,\n ) => PagedAsyncIterableIterator<CacheNodePreviewResource>;\n}\n\nexport function getCacheNodesOperations(context: ConnectedCacheContext, subscriptionId: string) {\n return {\n get: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: CacheNodesOperationsGetOptionalParams,\n ) =>\n cacheNodesOperationsGet(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n options,\n ),\n createorUpdate: (\n resourceGroupName: string,\n customerResourceName: string,\n resource: CacheNodePreviewResource,\n options?: CacheNodesOperationsCreateorUpdateOptionalParams,\n ) =>\n cacheNodesOperationsCreateorUpdate(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n resource,\n options,\n ),\n delete: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: CacheNodesOperationsDeleteOptionalParams,\n ) =>\n cacheNodesOperationsDelete(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n options,\n ),\n update: (\n resourceGroupName: string,\n customerResourceName: string,\n properties: ConnectedCachePatchResource,\n options?: CacheNodesOperationsUpdateOptionalParams,\n ) =>\n cacheNodesOperationsUpdate(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n properties,\n options,\n ),\n listByResourceGroup: (\n resourceGroupName: string,\n options?: CacheNodesOperationsListByResourceGroupOptionalParams,\n ) =>\n cacheNodesOperationsListByResourceGroup(context, subscriptionId, resourceGroupName, options),\n listBySubscription: (options?: CacheNodesOperationsListBySubscriptionOptionalParams) =>\n cacheNodesOperationsListBySubscription(context, subscriptionId, options),\n };\n}\n\nexport function getCacheNodesOperationsOperations(\n context: ConnectedCacheContext,\n subscriptionId: string,\n): CacheNodesOperationsOperations {\n return {\n ...getCacheNodesOperations(context, subscriptionId),\n };\n}\n"]}
@@ -12,6 +12,8 @@ export function getEnterpriseCustomerOperations(context, subscriptionId) {
12
12
  };
13
13
  }
14
14
  export function getEnterpriseCustomerOperationsOperations(context, subscriptionId) {
15
- return Object.assign({}, getEnterpriseCustomerOperations(context, subscriptionId));
15
+ return {
16
+ ...getEnterpriseCustomerOperations(context, subscriptionId),
17
+ };
16
18
  }
17
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/enterpriseCustomerOperations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,+BAA+B,EAC/B,0CAA0C,EAC1C,kCAAkC,EAClC,kCAAkC,EAClC,+CAA+C,EAC/C,8CAA8C,GAC/C,MAAM,iDAAiD,CAAC;AAoDzD,MAAM,UAAU,+BAA+B,CAC7C,OAA8B,EAC9B,cAAsB;IAEtB,OAAO;QACL,GAAG,EAAE,CACH,iBAAyB,EACzB,oBAA4B,EAC5B,OAAuD,EACvD,EAAE,CACF,+BAA+B,CAC7B,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,OAAO,CACR;QACH,cAAc,EAAE,CACd,iBAAyB,EACzB,oBAA4B,EAC5B,QAAmC,EACnC,OAAkE,EAClE,EAAE,CACF,0CAA0C,CACxC,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,QAAQ,EACR,OAAO,CACR;QACH,MAAM,EAAE,CACN,iBAAyB,EACzB,oBAA4B,EAC5B,UAAuC,EACvC,OAA0D,EAC1D,EAAE,CACF,kCAAkC,CAChC,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,UAAU,EACV,OAAO,CACR;QACH,MAAM,EAAE,CACN,iBAAyB,EACzB,oBAA4B,EAC5B,OAA0D,EAC1D,EAAE,CACF,kCAAkC,CAChC,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,OAAO,CACR;QACH,mBAAmB,EAAE,CACnB,iBAAyB,EACzB,OAAuE,EACvE,EAAE,CACF,+CAA+C,CAC7C,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,OAAO,CACR;QACH,kBAAkB,EAAE,CAAC,OAAsE,EAAE,EAAE,CAC7F,8CAA8C,CAAC,OAAO,EAAE,cAAc,EAAE,OAAO,CAAC;KACnF,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,yCAAyC,CACvD,OAA8B,EAC9B,cAAsB;IAEtB,yBACK,+BAA+B,CAAC,OAAO,EAAE,cAAc,CAAC,EAC3D;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ConnectedCacheContext } from \"../../api/connectedCacheContext.js\";\nimport {\n enterpriseCustomerOperationsGet,\n enterpriseCustomerOperationsCreateOrUpdate,\n enterpriseCustomerOperationsUpdate,\n enterpriseCustomerOperationsDelete,\n enterpriseCustomerOperationsListByResourceGroup,\n enterpriseCustomerOperationsListBySubscription,\n} from \"../../api/enterpriseCustomerOperations/index.js\";\nimport {\n EnterpriseCustomerOperationsGetOptionalParams,\n EnterpriseCustomerOperationsCreateOrUpdateOptionalParams,\n EnterpriseCustomerOperationsUpdateOptionalParams,\n EnterpriseCustomerOperationsDeleteOptionalParams,\n EnterpriseCustomerOperationsListByResourceGroupOptionalParams,\n EnterpriseCustomerOperationsListBySubscriptionOptionalParams,\n} from \"../../api/options.js\";\nimport { ConnectedCachePatchResource, EnterprisePreviewResource } from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\n/** Interface representing a EnterpriseCustomerOperations operations. */\nexport interface EnterpriseCustomerOperationsOperations {\n /** Retrieves the properties of a Enterprise customer */\n get: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: EnterpriseCustomerOperationsGetOptionalParams,\n ) => Promise<EnterprisePreviewResource>;\n /** Creates a cacheNodes with the specified create parameters */\n createOrUpdate: (\n resourceGroupName: string,\n customerResourceName: string,\n resource: EnterprisePreviewResource,\n options?: EnterpriseCustomerOperationsCreateOrUpdateOptionalParams,\n ) => PollerLike<OperationState<EnterprisePreviewResource>, EnterprisePreviewResource>;\n /** updates an existing enterpriseCustomers */\n update: (\n resourceGroupName: string,\n customerResourceName: string,\n properties: ConnectedCachePatchResource,\n options?: EnterpriseCustomerOperationsUpdateOptionalParams,\n ) => Promise<EnterprisePreviewResource>;\n /** Deletes an existing customer Enterprise resource */\n delete: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: EnterpriseCustomerOperationsDeleteOptionalParams,\n ) => Promise<void>;\n /** Retrieves the properties of all ConnectedCache enterpriseCustomers */\n listByResourceGroup: (\n resourceGroupName: string,\n options?: EnterpriseCustomerOperationsListByResourceGroupOptionalParams,\n ) => PagedAsyncIterableIterator<EnterprisePreviewResource>;\n /** Retrieves the properties of all ConnectedCaches */\n listBySubscription: (\n options?: EnterpriseCustomerOperationsListBySubscriptionOptionalParams,\n ) => PagedAsyncIterableIterator<EnterprisePreviewResource>;\n}\n\nexport function getEnterpriseCustomerOperations(\n context: ConnectedCacheContext,\n subscriptionId: string,\n) {\n return {\n get: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: EnterpriseCustomerOperationsGetOptionalParams,\n ) =>\n enterpriseCustomerOperationsGet(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n options,\n ),\n createOrUpdate: (\n resourceGroupName: string,\n customerResourceName: string,\n resource: EnterprisePreviewResource,\n options?: EnterpriseCustomerOperationsCreateOrUpdateOptionalParams,\n ) =>\n enterpriseCustomerOperationsCreateOrUpdate(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n resource,\n options,\n ),\n update: (\n resourceGroupName: string,\n customerResourceName: string,\n properties: ConnectedCachePatchResource,\n options?: EnterpriseCustomerOperationsUpdateOptionalParams,\n ) =>\n enterpriseCustomerOperationsUpdate(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n properties,\n options,\n ),\n delete: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: EnterpriseCustomerOperationsDeleteOptionalParams,\n ) =>\n enterpriseCustomerOperationsDelete(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n options,\n ),\n listByResourceGroup: (\n resourceGroupName: string,\n options?: EnterpriseCustomerOperationsListByResourceGroupOptionalParams,\n ) =>\n enterpriseCustomerOperationsListByResourceGroup(\n context,\n subscriptionId,\n resourceGroupName,\n options,\n ),\n listBySubscription: (options?: EnterpriseCustomerOperationsListBySubscriptionOptionalParams) =>\n enterpriseCustomerOperationsListBySubscription(context, subscriptionId, options),\n };\n}\n\nexport function getEnterpriseCustomerOperationsOperations(\n context: ConnectedCacheContext,\n subscriptionId: string,\n): EnterpriseCustomerOperationsOperations {\n return {\n ...getEnterpriseCustomerOperations(context, subscriptionId),\n };\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/enterpriseCustomerOperations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,+BAA+B,EAC/B,0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yright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ConnectedCacheContext } from \"../../api/connectedCacheContext.js\";\nimport {\n enterpriseCustomerOperationsGet,\n enterpriseCustomerOperationsCreateOrUpdate,\n enterpriseCustomerOperationsUpdate,\n enterpriseCustomerOperationsDelete,\n enterpriseCustomerOperationsListByResourceGroup,\n enterpriseCustomerOperationsListBySubscription,\n} from \"../../api/enterpriseCustomerOperations/index.js\";\nimport {\n EnterpriseCustomerOperationsGetOptionalParams,\n EnterpriseCustomerOperationsCreateOrUpdateOptionalParams,\n EnterpriseCustomerOperationsUpdateOptionalParams,\n EnterpriseCustomerOperationsDeleteOptionalParams,\n EnterpriseCustomerOperationsListByResourceGroupOptionalParams,\n EnterpriseCustomerOperationsListBySubscriptionOptionalParams,\n} from \"../../api/options.js\";\nimport { ConnectedCachePatchResource, EnterprisePreviewResource } from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\n/** Interface representing a EnterpriseCustomerOperations operations. */\nexport interface EnterpriseCustomerOperationsOperations {\n /** Retrieves the properties of a Enterprise customer */\n get: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: EnterpriseCustomerOperationsGetOptionalParams,\n ) => Promise<EnterprisePreviewResource>;\n /** Creates a cacheNodes with the specified create parameters */\n createOrUpdate: (\n resourceGroupName: string,\n customerResourceName: string,\n resource: EnterprisePreviewResource,\n options?: EnterpriseCustomerOperationsCreateOrUpdateOptionalParams,\n ) => PollerLike<OperationState<EnterprisePreviewResource>, EnterprisePreviewResource>;\n /** updates an existing enterpriseCustomers */\n update: (\n resourceGroupName: string,\n customerResourceName: string,\n properties: ConnectedCachePatchResource,\n options?: EnterpriseCustomerOperationsUpdateOptionalParams,\n ) => Promise<EnterprisePreviewResource>;\n /** Deletes an existing customer Enterprise resource */\n delete: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: EnterpriseCustomerOperationsDeleteOptionalParams,\n ) => Promise<void>;\n /** Retrieves the properties of all ConnectedCache enterpriseCustomers */\n listByResourceGroup: (\n resourceGroupName: string,\n options?: EnterpriseCustomerOperationsListByResourceGroupOptionalParams,\n ) => PagedAsyncIterableIterator<EnterprisePreviewResource>;\n /** Retrieves the properties of all ConnectedCaches */\n listBySubscription: (\n options?: EnterpriseCustomerOperationsListBySubscriptionOptionalParams,\n ) => PagedAsyncIterableIterator<EnterprisePreviewResource>;\n}\n\nexport function getEnterpriseCustomerOperations(\n context: ConnectedCacheContext,\n subscriptionId: string,\n) {\n return {\n get: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: EnterpriseCustomerOperationsGetOptionalParams,\n ) =>\n enterpriseCustomerOperationsGet(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n options,\n ),\n createOrUpdate: (\n resourceGroupName: string,\n customerResourceName: string,\n resource: EnterprisePreviewResource,\n options?: EnterpriseCustomerOperationsCreateOrUpdateOptionalParams,\n ) =>\n enterpriseCustomerOperationsCreateOrUpdate(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n resource,\n options,\n ),\n update: (\n resourceGroupName: string,\n customerResourceName: string,\n properties: ConnectedCachePatchResource,\n options?: EnterpriseCustomerOperationsUpdateOptionalParams,\n ) =>\n enterpriseCustomerOperationsUpdate(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n properties,\n options,\n ),\n delete: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: EnterpriseCustomerOperationsDeleteOptionalParams,\n ) =>\n enterpriseCustomerOperationsDelete(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n options,\n ),\n listByResourceGroup: (\n resourceGroupName: string,\n options?: EnterpriseCustomerOperationsListByResourceGroupOptionalParams,\n ) =>\n enterpriseCustomerOperationsListByResourceGroup(\n context,\n subscriptionId,\n resourceGroupName,\n options,\n ),\n listBySubscription: (options?: EnterpriseCustomerOperationsListBySubscriptionOptionalParams) =>\n enterpriseCustomerOperationsListBySubscription(context, subscriptionId, options),\n };\n}\n\nexport function getEnterpriseCustomerOperationsOperations(\n context: ConnectedCacheContext,\n subscriptionId: string,\n): EnterpriseCustomerOperationsOperations {\n return {\n ...getEnterpriseCustomerOperations(context, subscriptionId),\n };\n}\n"]}
@@ -12,6 +12,8 @@ export function getEnterpriseMccCacheNodesOperations(context, subscriptionId) {
12
12
  };
13
13
  }
14
14
  export function getEnterpriseMccCacheNodesOperationsOperations(context, subscriptionId) {
15
- return Object.assign({}, getEnterpriseMccCacheNodesOperations(context, subscriptionId));
15
+ return {
16
+ ...getEnterpriseMccCacheNodesOperations(context, subscriptionId),
17
+ };
16
18
  }
17
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/enterpriseMccCacheNodesOperations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,oCAAoC,EACpC,+CAA+C,EAC/C,uCAAuC,EACvC,uCAAuC,EACvC,oEAAoE,EACpE,2DAA2D,GAC5D,MAAM,sDAAsD,CAAC;AAgE9D,MAAM,UAAU,oCAAoC,CAClD,OAA8B,EAC9B,cAAsB;IAEtB,OAAO;QACL,GAAG,EAAE,CACH,iBAAyB,EACzB,oBAA4B,EAC5B,qBAA6B,EAC7B,OAA4D,EAC5D,EAAE,CACF,oCAAoC,CAClC,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,OAAO,CACR;QACH,cAAc,EAAE,CACd,iBAAyB,EACzB,oBAA4B,EAC5B,qBAA6B,EAC7B,QAAwC,EACxC,OAAuE,EACvE,EAAE,CACF,+CAA+C,CAC7C,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,QAAQ,EACR,OAAO,CACR;QACH,MAAM,EAAE,CACN,iBAAyB,EACzB,oBAA4B,EAC5B,qBAA6B,EAC7B,UAAuC,EACvC,OAA+D,EAC/D,EAAE,CACF,uCAAuC,CACrC,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,UAAU,EACV,OAAO,CACR;QACH,MAAM,EAAE,CACN,iBAAyB,EACzB,oBAA4B,EAC5B,qBAA6B,EAC7B,OAA+D,EAC/D,EAAE,CACF,uCAAuC,CACrC,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,OAAO,CACR;QACH,mCAAmC,EAAE,CACnC,iBAAyB,EACzB,oBAA4B,EAC5B,OAA4F,EAC5F,EAAE,CACF,oEAAoE,CAClE,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,OAAO,CACR;QACH,0BAA0B,EAAE,CAC1B,iBAAyB,EACzB,oBAA4B,EAC5B,qBAA6B,EAC7B,OAAmF,EACnF,EAAE,CACF,2DAA2D,CACzD,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,OAAO,CACR;KACJ,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,8CAA8C,CAC5D,OAA8B,EAC9B,cAAsB;IAEtB,yBACK,oCAAoC,CAAC,OAAO,EAAE,cAAc,CAAC,EAChE;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ConnectedCacheContext } from \"../../api/connectedCacheContext.js\";\nimport {\n enterpriseMccCacheNodesOperationsGet,\n enterpriseMccCacheNodesOperationsCreateOrUpdate,\n enterpriseMccCacheNodesOperationsUpdate,\n enterpriseMccCacheNodesOperationsDelete,\n enterpriseMccCacheNodesOperationsListByEnterpriseMccCustomerResource,\n enterpriseMccCacheNodesOperationsGetCacheNodeInstallDetails,\n} from \"../../api/enterpriseMccCacheNodesOperations/index.js\";\nimport {\n EnterpriseMccCacheNodesOperationsGetOptionalParams,\n EnterpriseMccCacheNodesOperationsCreateOrUpdateOptionalParams,\n EnterpriseMccCacheNodesOperationsUpdateOptionalParams,\n EnterpriseMccCacheNodesOperationsDeleteOptionalParams,\n EnterpriseMccCacheNodesOperationsListByEnterpriseMccCustomerResourceOptionalParams,\n EnterpriseMccCacheNodesOperationsGetCacheNodeInstallDetailsOptionalParams,\n} from \"../../api/options.js\";\nimport {\n EnterpriseMccCacheNodeResource,\n ConnectedCachePatchResource,\n MccCacheNodeInstallDetails,\n} from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\n/** Interface representing a EnterpriseMccCacheNodesOperations operations. */\nexport interface EnterpriseMccCacheNodesOperationsOperations {\n /** This api gets ispCacheNode resource information */\n get: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options?: EnterpriseMccCacheNodesOperationsGetOptionalParams,\n ) => Promise<EnterpriseMccCacheNodeResource>;\n /** This api creates an ispCacheNode with the specified create parameters */\n createOrUpdate: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n resource: EnterpriseMccCacheNodeResource,\n options?: EnterpriseMccCacheNodesOperationsCreateOrUpdateOptionalParams,\n ) => PollerLike<OperationState<EnterpriseMccCacheNodeResource>, EnterpriseMccCacheNodeResource>;\n /** This api updates an existing ispCacheNode resource */\n update: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n properties: ConnectedCachePatchResource,\n options?: EnterpriseMccCacheNodesOperationsUpdateOptionalParams,\n ) => Promise<EnterpriseMccCacheNodeResource>;\n /** This api deletes an existing ispCacheNode resource */\n delete: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options?: EnterpriseMccCacheNodesOperationsDeleteOptionalParams,\n ) => PollerLike<OperationState<void>, void>;\n /** This api retrieves information about all ispCacheNode resources under the given subscription and resource group */\n listByEnterpriseMccCustomerResource: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: EnterpriseMccCacheNodesOperationsListByEnterpriseMccCustomerResourceOptionalParams,\n ) => PagedAsyncIterableIterator<EnterpriseMccCacheNodeResource>;\n /** This api gets secrets of the ispCacheNode resource install details */\n getCacheNodeInstallDetails: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options?: EnterpriseMccCacheNodesOperationsGetCacheNodeInstallDetailsOptionalParams,\n ) => Promise<MccCacheNodeInstallDetails>;\n}\n\nexport function getEnterpriseMccCacheNodesOperations(\n context: ConnectedCacheContext,\n subscriptionId: string,\n) {\n return {\n get: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options?: EnterpriseMccCacheNodesOperationsGetOptionalParams,\n ) =>\n enterpriseMccCacheNodesOperationsGet(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n options,\n ),\n createOrUpdate: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n resource: EnterpriseMccCacheNodeResource,\n options?: EnterpriseMccCacheNodesOperationsCreateOrUpdateOptionalParams,\n ) =>\n enterpriseMccCacheNodesOperationsCreateOrUpdate(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n resource,\n options,\n ),\n update: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n properties: ConnectedCachePatchResource,\n options?: EnterpriseMccCacheNodesOperationsUpdateOptionalParams,\n ) =>\n enterpriseMccCacheNodesOperationsUpdate(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n properties,\n options,\n ),\n delete: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options?: EnterpriseMccCacheNodesOperationsDeleteOptionalParams,\n ) =>\n enterpriseMccCacheNodesOperationsDelete(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n options,\n ),\n listByEnterpriseMccCustomerResource: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: EnterpriseMccCacheNodesOperationsListByEnterpriseMccCustomerResourceOptionalParams,\n ) =>\n enterpriseMccCacheNodesOperationsListByEnterpriseMccCustomerResource(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n options,\n ),\n getCacheNodeInstallDetails: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options?: EnterpriseMccCacheNodesOperationsGetCacheNodeInstallDetailsOptionalParams,\n ) =>\n enterpriseMccCacheNodesOperationsGetCacheNodeInstallDetails(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n options,\n ),\n };\n}\n\nexport function getEnterpriseMccCacheNodesOperationsOperations(\n context: ConnectedCacheContext,\n subscriptionId: string,\n): EnterpriseMccCacheNodesOperationsOperations {\n return {\n ...getEnterpriseMccCacheNodesOperations(context, subscriptionId),\n };\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/enterpriseMccCacheNodesOperations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,oCAAoC,EACpC,+CAA+C,EAC/C,uCAAuC,EACvC,uCAAuC,EACvC,oEAAoE,EACpE,2DAA2D,GAC5D,MAAM,sDAAsD,CAAC;AAgE9D,MAAM,UAAU,oCAAoC,CAClD,OAA8B,EAC9B,cAAsB;IAEtB,OAAO;QACL,GAAG,EAAE,CACH,iBAAyB,EACzB,oBAA4B,EAC5B,qBAA6B,EAC7B,OAA4D,EAC5D,EAAE,CACF,oCAAoC,CAClC,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,OAAO,CACR;QACH,cAAc,EAAE,CACd,iBAAyB,EACzB,oBAA4B,EAC5B,qBAA6B,EAC7B,QAAwC,EACxC,OAAuE,EACvE,EAAE,CACF,+CAA+C,CAC7C,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,QAAQ,EACR,OAAO,CACR;QACH,MAAM,EAAE,CACN,iBAAyB,EACzB,oBAA4B,EAC5B,qBAA6B,EAC7B,UAAuC,EACvC,OAA+D,EAC/D,EAAE,CACF,uCAAuC,CACrC,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,UAAU,EACV,OAAO,CACR;QACH,MAAM,EAAE,CACN,iBAAyB,EACzB,oBAA4B,EAC5B,qBAA6B,EAC7B,OAA+D,EAC/D,EAAE,CACF,uCAAuC,CACrC,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,OAAO,CACR;QACH,mCAAmC,EAAE,CACnC,iBAAyB,EACzB,oBAA4B,EAC5B,OAA4F,EAC5F,EAAE,CACF,oEAAoE,CAClE,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,OAAO,CACR;QACH,0BAA0B,EAAE,CAC1B,iBAAyB,EACzB,oBAA4B,EAC5B,qBAA6B,EAC7B,OAAmF,EACnF,EAAE,CACF,2DAA2D,CACzD,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,OAAO,CACR;KACJ,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,8CAA8C,CAC5D,OAA8B,EAC9B,cAAsB;IAEtB,OAAO;QACL,GAAG,oCAAoC,CAAC,OAAO,EAAE,cAAc,CAAC;KACjE,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ConnectedCacheContext } from \"../../api/connectedCacheContext.js\";\nimport {\n enterpriseMccCacheNodesOperationsGet,\n enterpriseMccCacheNodesOperationsCreateOrUpdate,\n enterpriseMccCacheNodesOperationsUpdate,\n enterpriseMccCacheNodesOperationsDelete,\n enterpriseMccCacheNodesOperationsListByEnterpriseMccCustomerResource,\n enterpriseMccCacheNodesOperationsGetCacheNodeInstallDetails,\n} from \"../../api/enterpriseMccCacheNodesOperations/index.js\";\nimport {\n EnterpriseMccCacheNodesOperationsGetOptionalParams,\n EnterpriseMccCacheNodesOperationsCreateOrUpdateOptionalParams,\n EnterpriseMccCacheNodesOperationsUpdateOptionalParams,\n EnterpriseMccCacheNodesOperationsDeleteOptionalParams,\n EnterpriseMccCacheNodesOperationsListByEnterpriseMccCustomerResourceOptionalParams,\n EnterpriseMccCacheNodesOperationsGetCacheNodeInstallDetailsOptionalParams,\n} from \"../../api/options.js\";\nimport {\n EnterpriseMccCacheNodeResource,\n ConnectedCachePatchResource,\n MccCacheNodeInstallDetails,\n} from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\n/** Interface representing a EnterpriseMccCacheNodesOperations operations. */\nexport interface EnterpriseMccCacheNodesOperationsOperations {\n /** This api gets ispCacheNode resource information */\n get: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options?: EnterpriseMccCacheNodesOperationsGetOptionalParams,\n ) => Promise<EnterpriseMccCacheNodeResource>;\n /** This api creates an ispCacheNode with the specified create parameters */\n createOrUpdate: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n resource: EnterpriseMccCacheNodeResource,\n options?: EnterpriseMccCacheNodesOperationsCreateOrUpdateOptionalParams,\n ) => PollerLike<OperationState<EnterpriseMccCacheNodeResource>, EnterpriseMccCacheNodeResource>;\n /** This api updates an existing ispCacheNode resource */\n update: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n properties: ConnectedCachePatchResource,\n options?: EnterpriseMccCacheNodesOperationsUpdateOptionalParams,\n ) => Promise<EnterpriseMccCacheNodeResource>;\n /** This api deletes an existing ispCacheNode resource */\n delete: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options?: EnterpriseMccCacheNodesOperationsDeleteOptionalParams,\n ) => PollerLike<OperationState<void>, void>;\n /** This api retrieves information about all ispCacheNode resources under the given subscription and resource group */\n listByEnterpriseMccCustomerResource: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: EnterpriseMccCacheNodesOperationsListByEnterpriseMccCustomerResourceOptionalParams,\n ) => PagedAsyncIterableIterator<EnterpriseMccCacheNodeResource>;\n /** This api gets secrets of the ispCacheNode resource install details */\n getCacheNodeInstallDetails: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options?: EnterpriseMccCacheNodesOperationsGetCacheNodeInstallDetailsOptionalParams,\n ) => Promise<MccCacheNodeInstallDetails>;\n}\n\nexport function getEnterpriseMccCacheNodesOperations(\n context: ConnectedCacheContext,\n subscriptionId: string,\n) {\n return {\n get: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options?: EnterpriseMccCacheNodesOperationsGetOptionalParams,\n ) =>\n enterpriseMccCacheNodesOperationsGet(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n options,\n ),\n createOrUpdate: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n resource: EnterpriseMccCacheNodeResource,\n options?: EnterpriseMccCacheNodesOperationsCreateOrUpdateOptionalParams,\n ) =>\n enterpriseMccCacheNodesOperationsCreateOrUpdate(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n resource,\n options,\n ),\n update: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n properties: ConnectedCachePatchResource,\n options?: EnterpriseMccCacheNodesOperationsUpdateOptionalParams,\n ) =>\n enterpriseMccCacheNodesOperationsUpdate(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n properties,\n options,\n ),\n delete: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options?: EnterpriseMccCacheNodesOperationsDeleteOptionalParams,\n ) =>\n enterpriseMccCacheNodesOperationsDelete(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n options,\n ),\n listByEnterpriseMccCustomerResource: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: EnterpriseMccCacheNodesOperationsListByEnterpriseMccCustomerResourceOptionalParams,\n ) =>\n enterpriseMccCacheNodesOperationsListByEnterpriseMccCustomerResource(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n options,\n ),\n getCacheNodeInstallDetails: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options?: EnterpriseMccCacheNodesOperationsGetCacheNodeInstallDetailsOptionalParams,\n ) =>\n enterpriseMccCacheNodesOperationsGetCacheNodeInstallDetails(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n options,\n ),\n };\n}\n\nexport function getEnterpriseMccCacheNodesOperationsOperations(\n context: ConnectedCacheContext,\n subscriptionId: string,\n): EnterpriseMccCacheNodesOperationsOperations {\n return {\n ...getEnterpriseMccCacheNodesOperations(context, subscriptionId),\n };\n}\n"]}
@@ -12,6 +12,8 @@ export function getEnterpriseMccCustomers(context, subscriptionId) {
12
12
  };
13
13
  }
14
14
  export function getEnterpriseMccCustomersOperations(context, subscriptionId) {
15
- return Object.assign({}, getEnterpriseMccCustomers(context, subscriptionId));
15
+ return {
16
+ ...getEnterpriseMccCustomers(context, subscriptionId),
17
+ };
16
18
  }
17
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/enterpriseMccCustomers/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,yBAAyB,EACzB,oCAAoC,EACpC,4BAA4B,EAC5B,4BAA4B,EAC5B,yCAAyC,EACzC,wCAAwC,GACzC,MAAM,2CAA2C,CAAC;AAoDnD,MAAM,UAAU,yBAAyB,CAAC,OAA8B,EAAE,cAAsB;IAC9F,OAAO;QACL,GAAG,EAAE,CACH,iBAAyB,EACzB,oBAA4B,EAC5B,OAAiD,EACjD,EAAE,CACF,yBAAyB,CACvB,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,OAAO,CACR;QACH,cAAc,EAAE,CACd,iBAAyB,EACzB,oBAA4B,EAC5B,QAAuC,EACvC,OAA4D,EAC5D,EAAE,CACF,oCAAoC,CAClC,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,QAAQ,EACR,OAAO,CACR;QACH,MAAM,EAAE,CACN,iBAAyB,EACzB,oBAA4B,EAC5B,UAAuC,EACvC,OAAoD,EACpD,EAAE,CACF,4BAA4B,CAC1B,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,UAAU,EACV,OAAO,CACR;QACH,MAAM,EAAE,CACN,iBAAyB,EACzB,oBAA4B,EAC5B,OAAoD,EACpD,EAAE,CACF,4BAA4B,CAC1B,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,OAAO,CACR;QACH,mBAAmB,EAAE,CACnB,iBAAyB,EACzB,OAAiE,EACjE,EAAE,CACF,yCAAyC,CACvC,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,OAAO,CACR;QACH,kBAAkB,EAAE,CAAC,OAAgE,EAAE,EAAE,CACvF,wCAAwC,CAAC,OAAO,EAAE,cAAc,EAAE,OAAO,CAAC;KAC7E,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,mCAAmC,CACjD,OAA8B,EAC9B,cAAsB;IAEtB,yBACK,yBAAyB,CAAC,OAAO,EAAE,cAAc,CAAC,EACrD;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ConnectedCacheContext } from \"../../api/connectedCacheContext.js\";\nimport {\n enterpriseMccCustomersGet,\n enterpriseMccCustomersCreateOrUpdate,\n enterpriseMccCustomersUpdate,\n enterpriseMccCustomersDelete,\n enterpriseMccCustomersListByResourceGroup,\n enterpriseMccCustomersListBySubscription,\n} from \"../../api/enterpriseMccCustomers/index.js\";\nimport {\n EnterpriseMccCustomersGetOptionalParams,\n EnterpriseMccCustomersCreateOrUpdateOptionalParams,\n EnterpriseMccCustomersUpdateOptionalParams,\n EnterpriseMccCustomersDeleteOptionalParams,\n EnterpriseMccCustomersListByResourceGroupOptionalParams,\n EnterpriseMccCustomersListBySubscriptionOptionalParams,\n} from \"../../api/options.js\";\nimport { ConnectedCachePatchResource, EnterpriseMccCustomerResource } from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\n/** Interface representing a EnterpriseMccCustomers operations. */\nexport interface EnterpriseMccCustomersOperations {\n /** Gets the enterprise mcc customer resource information using this get call */\n get: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: EnterpriseMccCustomersGetOptionalParams,\n ) => Promise<EnterpriseMccCustomerResource>;\n /** This api creates an enterprise mcc customer with the specified create parameters */\n createOrUpdate: (\n resourceGroupName: string,\n customerResourceName: string,\n resource: EnterpriseMccCustomerResource,\n options?: EnterpriseMccCustomersCreateOrUpdateOptionalParams,\n ) => PollerLike<OperationState<EnterpriseMccCustomerResource>, EnterpriseMccCustomerResource>;\n /** This api updates an existing enterprise mcc customer resource */\n update: (\n resourceGroupName: string,\n customerResourceName: string,\n properties: ConnectedCachePatchResource,\n options?: EnterpriseMccCustomersUpdateOptionalParams,\n ) => Promise<EnterpriseMccCustomerResource>;\n /** This api deletes an existing enterprise mcc customer resource */\n delete: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: EnterpriseMccCustomersDeleteOptionalParams,\n ) => PollerLike<OperationState<void>, void>;\n /** This api gets the information about all enterprise mcc customer resources under the given subscription and resource group */\n listByResourceGroup: (\n resourceGroupName: string,\n options?: EnterpriseMccCustomersListByResourceGroupOptionalParams,\n ) => PagedAsyncIterableIterator<EnterpriseMccCustomerResource>;\n /** This api gets information about all enterpriseMccCustomer resources under the given subscription */\n listBySubscription: (\n options?: EnterpriseMccCustomersListBySubscriptionOptionalParams,\n ) => PagedAsyncIterableIterator<EnterpriseMccCustomerResource>;\n}\n\nexport function getEnterpriseMccCustomers(context: ConnectedCacheContext, subscriptionId: string) {\n return {\n get: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: EnterpriseMccCustomersGetOptionalParams,\n ) =>\n enterpriseMccCustomersGet(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n options,\n ),\n createOrUpdate: (\n resourceGroupName: string,\n customerResourceName: string,\n resource: EnterpriseMccCustomerResource,\n options?: EnterpriseMccCustomersCreateOrUpdateOptionalParams,\n ) =>\n enterpriseMccCustomersCreateOrUpdate(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n resource,\n options,\n ),\n update: (\n resourceGroupName: string,\n customerResourceName: string,\n properties: ConnectedCachePatchResource,\n options?: EnterpriseMccCustomersUpdateOptionalParams,\n ) =>\n enterpriseMccCustomersUpdate(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n properties,\n options,\n ),\n delete: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: EnterpriseMccCustomersDeleteOptionalParams,\n ) =>\n enterpriseMccCustomersDelete(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n options,\n ),\n listByResourceGroup: (\n resourceGroupName: string,\n options?: EnterpriseMccCustomersListByResourceGroupOptionalParams,\n ) =>\n enterpriseMccCustomersListByResourceGroup(\n context,\n subscriptionId,\n resourceGroupName,\n options,\n ),\n listBySubscription: (options?: EnterpriseMccCustomersListBySubscriptionOptionalParams) =>\n enterpriseMccCustomersListBySubscription(context, subscriptionId, options),\n };\n}\n\nexport function getEnterpriseMccCustomersOperations(\n context: ConnectedCacheContext,\n subscriptionId: string,\n): EnterpriseMccCustomersOperations {\n return {\n ...getEnterpriseMccCustomers(context, subscriptionId),\n };\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/enterpriseMccCustomers/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,yBAAyB,EACzB,oCAAoC,EACpC,4BAA4B,EAC5B,4BAA4B,EAC5B,yCAAyC,EACzC,wCAAwC,GACzC,MAAM,2CAA2C,CAAC;AAoDnD,MAAM,UAAU,yBAAyB,CAAC,OAA8B,EAAE,cAAsB;IAC9F,OAAO;QACL,GAAG,EAAE,CACH,iBAAyB,EACzB,oBAA4B,EAC5B,OAAiD,EACjD,EAAE,CACF,yBAAyB,CACvB,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,OAAO,CACR;QACH,cAAc,EAAE,CACd,iBAAyB,EACzB,oBAA4B,EAC5B,QAAuC,EACvC,OAA4D,EAC5D,EAAE,CACF,oCAAoC,CAClC,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,QAAQ,EACR,OAAO,CACR;QACH,MAAM,EAAE,CACN,iBAAyB,EACzB,oBAA4B,EAC5B,UAAuC,EACvC,OAAoD,EACpD,EAAE,CACF,4BAA4B,CAC1B,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,UAAU,EACV,OAAO,CACR;QACH,MAAM,EAAE,CACN,iBAAyB,EACzB,oBAA4B,EAC5B,OAAoD,EACpD,EAAE,CACF,4BAA4B,CAC1B,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,OAAO,CACR;QACH,mBAAmB,EAAE,CACnB,iBAAyB,EACzB,OAAiE,EACjE,EAAE,CACF,yCAAyC,CACvC,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,OAAO,CACR;QACH,kBAAkB,EAAE,CAAC,OAAgE,EAAE,EAAE,CACvF,wCAAwC,CAAC,OAAO,EAAE,cAAc,EAAE,OAAO,CAAC;KAC7E,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,mCAAmC,CACjD,OAA8B,EAC9B,cAAsB;IAEtB,OAAO;QACL,GAAG,yBAAyB,CAAC,OAAO,EAAE,cAAc,CAAC;KACtD,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ConnectedCacheContext } from \"../../api/connectedCacheContext.js\";\nimport {\n enterpriseMccCustomersGet,\n enterpriseMccCustomersCreateOrUpdate,\n enterpriseMccCustomersUpdate,\n enterpriseMccCustomersDelete,\n enterpriseMccCustomersListByResourceGroup,\n enterpriseMccCustomersListBySubscription,\n} from \"../../api/enterpriseMccCustomers/index.js\";\nimport {\n EnterpriseMccCustomersGetOptionalParams,\n EnterpriseMccCustomersCreateOrUpdateOptionalParams,\n EnterpriseMccCustomersUpdateOptionalParams,\n EnterpriseMccCustomersDeleteOptionalParams,\n EnterpriseMccCustomersListByResourceGroupOptionalParams,\n EnterpriseMccCustomersListBySubscriptionOptionalParams,\n} from \"../../api/options.js\";\nimport { ConnectedCachePatchResource, EnterpriseMccCustomerResource } from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\n/** Interface representing a EnterpriseMccCustomers operations. */\nexport interface EnterpriseMccCustomersOperations {\n /** Gets the enterprise mcc customer resource information using this get call */\n get: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: EnterpriseMccCustomersGetOptionalParams,\n ) => Promise<EnterpriseMccCustomerResource>;\n /** This api creates an enterprise mcc customer with the specified create parameters */\n createOrUpdate: (\n resourceGroupName: string,\n customerResourceName: string,\n resource: EnterpriseMccCustomerResource,\n options?: EnterpriseMccCustomersCreateOrUpdateOptionalParams,\n ) => PollerLike<OperationState<EnterpriseMccCustomerResource>, EnterpriseMccCustomerResource>;\n /** This api updates an existing enterprise mcc customer resource */\n update: (\n resourceGroupName: string,\n customerResourceName: string,\n properties: ConnectedCachePatchResource,\n options?: EnterpriseMccCustomersUpdateOptionalParams,\n ) => Promise<EnterpriseMccCustomerResource>;\n /** This api deletes an existing enterprise mcc customer resource */\n delete: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: EnterpriseMccCustomersDeleteOptionalParams,\n ) => PollerLike<OperationState<void>, void>;\n /** This api gets the information about all enterprise mcc customer resources under the given subscription and resource group */\n listByResourceGroup: (\n resourceGroupName: string,\n options?: EnterpriseMccCustomersListByResourceGroupOptionalParams,\n ) => PagedAsyncIterableIterator<EnterpriseMccCustomerResource>;\n /** This api gets information about all enterpriseMccCustomer resources under the given subscription */\n listBySubscription: (\n options?: EnterpriseMccCustomersListBySubscriptionOptionalParams,\n ) => PagedAsyncIterableIterator<EnterpriseMccCustomerResource>;\n}\n\nexport function getEnterpriseMccCustomers(context: ConnectedCacheContext, subscriptionId: string) {\n return {\n get: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: EnterpriseMccCustomersGetOptionalParams,\n ) =>\n enterpriseMccCustomersGet(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n options,\n ),\n createOrUpdate: (\n resourceGroupName: string,\n customerResourceName: string,\n resource: EnterpriseMccCustomerResource,\n options?: EnterpriseMccCustomersCreateOrUpdateOptionalParams,\n ) =>\n enterpriseMccCustomersCreateOrUpdate(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n resource,\n options,\n ),\n update: (\n resourceGroupName: string,\n customerResourceName: string,\n properties: ConnectedCachePatchResource,\n options?: EnterpriseMccCustomersUpdateOptionalParams,\n ) =>\n enterpriseMccCustomersUpdate(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n properties,\n options,\n ),\n delete: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: EnterpriseMccCustomersDeleteOptionalParams,\n ) =>\n enterpriseMccCustomersDelete(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n options,\n ),\n listByResourceGroup: (\n resourceGroupName: string,\n options?: EnterpriseMccCustomersListByResourceGroupOptionalParams,\n ) =>\n enterpriseMccCustomersListByResourceGroup(\n context,\n subscriptionId,\n resourceGroupName,\n options,\n ),\n listBySubscription: (options?: EnterpriseMccCustomersListBySubscriptionOptionalParams) =>\n enterpriseMccCustomersListBySubscription(context, subscriptionId, options),\n };\n}\n\nexport function getEnterpriseMccCustomersOperations(\n context: ConnectedCacheContext,\n subscriptionId: string,\n): EnterpriseMccCustomersOperations {\n return {\n ...getEnterpriseMccCustomers(context, subscriptionId),\n };\n}\n"]}
@@ -13,6 +13,8 @@ export function getIspCacheNodesOperations(context, subscriptionId) {
13
13
  };
14
14
  }
15
15
  export function getIspCacheNodesOperationsOperations(context, subscriptionId) {
16
- return Object.assign({}, getIspCacheNodesOperations(context, subscriptionId));
16
+ return {
17
+ ...getIspCacheNodesOperations(context, subscriptionId),
18
+ };
17
19
  }
18
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/ispCacheNodesOperations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,0BAA0B,EAC1B,qCAAqC,EACrC,6BAA6B,EAC7B,6BAA6B,EAC7B,gDAAgD,EAChD,kCAAkC,EAClC,iDAAiD,GAClD,MAAM,4CAA4C,CAAC;AAyEpD,MAAM,UAAU,0BAA0B,CAAC,OAA8B,EAAE,cAAsB;IAC/F,OAAO;QACL,GAAG,EAAE,CACH,iBAAyB,EACzB,oBAA4B,EAC5B,qBAA6B,EAC7B,OAAkD,EAClD,EAAE,CACF,0BAA0B,CACxB,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,OAAO,CACR;QACH,cAAc,EAAE,CACd,iBAAyB,EACzB,oBAA4B,EAC5B,qBAA6B,EAC7B,QAA8B,EAC9B,OAA6D,EAC7D,EAAE,CACF,qCAAqC,CACnC,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,QAAQ,EACR,OAAO,CACR;QACH,MAAM,EAAE,CACN,iBAAyB,EACzB,oBAA4B,EAC5B,qBAA6B,EAC7B,UAAuC,EACvC,OAAqD,EACrD,EAAE,CACF,6BAA6B,CAC3B,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,UAAU,EACV,OAAO,CACR;QACH,MAAM,EAAE,CACN,iBAAyB,EACzB,oBAA4B,EAC5B,qBAA6B,EAC7B,OAAqD,EACrD,EAAE,CACF,6BAA6B,CAC3B,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,OAAO,CACR;QACH,yBAAyB,EAAE,CACzB,iBAAyB,EACzB,oBAA4B,EAC5B,OAAwE,EACxE,EAAE,CACF,gDAAgD,CAC9C,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,OAAO,CACR;QACH,WAAW,EAAE,CACX,iBAAyB,EACzB,oBAA4B,EAC5B,qBAA6B,EAC7B,OAA0D,EAC1D,EAAE,CACF,kCAAkC,CAChC,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,OAAO,CACR;QACH,0BAA0B,EAAE,CAC1B,iBAAyB,EACzB,oBAA4B,EAC5B,qBAA6B,EAC7B,OAAyE,EACzE,EAAE,CACF,iDAAiD,CAC/C,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,OAAO,CACR;KACJ,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,oCAAoC,CAClD,OAA8B,EAC9B,cAAsB;IAEtB,yBACK,0BAA0B,CAAC,OAAO,EAAE,cAAc,CAAC,EACtD;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ConnectedCacheContext } from \"../../api/connectedCacheContext.js\";\nimport {\n ispCacheNodesOperationsGet,\n ispCacheNodesOperationsCreateOrUpdate,\n ispCacheNodesOperationsUpdate,\n ispCacheNodesOperationsDelete,\n ispCacheNodesOperationsListByIspCustomerResource,\n ispCacheNodesOperationsGetBgpCidrs,\n ispCacheNodesOperationsGetCacheNodeInstallDetails,\n} from \"../../api/ispCacheNodesOperations/index.js\";\nimport {\n IspCacheNodesOperationsGetOptionalParams,\n IspCacheNodesOperationsCreateOrUpdateOptionalParams,\n IspCacheNodesOperationsUpdateOptionalParams,\n IspCacheNodesOperationsDeleteOptionalParams,\n IspCacheNodesOperationsListByIspCustomerResourceOptionalParams,\n IspCacheNodesOperationsGetBgpCidrsOptionalParams,\n IspCacheNodesOperationsGetCacheNodeInstallDetailsOptionalParams,\n} from \"../../api/options.js\";\nimport {\n ConnectedCachePatchResource,\n MccCacheNodeInstallDetails,\n IspCacheNodeResource,\n MccCacheNodeBgpCidrDetails,\n} from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\n/** Interface representing a IspCacheNodesOperations operations. */\nexport interface IspCacheNodesOperationsOperations {\n /** This api gets ispCacheNode resource information */\n get: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options?: IspCacheNodesOperationsGetOptionalParams,\n ) => Promise<IspCacheNodeResource>;\n /** This api creates an ispCacheNode with the specified create parameters */\n createOrUpdate: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n resource: IspCacheNodeResource,\n options?: IspCacheNodesOperationsCreateOrUpdateOptionalParams,\n ) => PollerLike<OperationState<IspCacheNodeResource>, IspCacheNodeResource>;\n /** This api updates an existing ispCacheNode resource */\n update: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n properties: ConnectedCachePatchResource,\n options?: IspCacheNodesOperationsUpdateOptionalParams,\n ) => Promise<IspCacheNodeResource>;\n /** This api deletes an existing ispCacheNode resource */\n delete: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options?: IspCacheNodesOperationsDeleteOptionalParams,\n ) => PollerLike<OperationState<void>, void>;\n /** This api retrieves information about all ispCacheNode resources under the given subscription and resource group */\n listByIspCustomerResource: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: IspCacheNodesOperationsListByIspCustomerResourceOptionalParams,\n ) => PagedAsyncIterableIterator<IspCacheNodeResource>;\n /** This api gets ispCacheNode resource information */\n getBgpCidrs: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options?: IspCacheNodesOperationsGetBgpCidrsOptionalParams,\n ) => Promise<MccCacheNodeBgpCidrDetails>;\n /** This api gets secrets of the ispCacheNode resource install details */\n getCacheNodeInstallDetails: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options?: IspCacheNodesOperationsGetCacheNodeInstallDetailsOptionalParams,\n ) => Promise<MccCacheNodeInstallDetails>;\n}\n\nexport function getIspCacheNodesOperations(context: ConnectedCacheContext, subscriptionId: string) {\n return {\n get: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options?: IspCacheNodesOperationsGetOptionalParams,\n ) =>\n ispCacheNodesOperationsGet(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n options,\n ),\n createOrUpdate: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n resource: IspCacheNodeResource,\n options?: IspCacheNodesOperationsCreateOrUpdateOptionalParams,\n ) =>\n ispCacheNodesOperationsCreateOrUpdate(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n resource,\n options,\n ),\n update: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n properties: ConnectedCachePatchResource,\n options?: IspCacheNodesOperationsUpdateOptionalParams,\n ) =>\n ispCacheNodesOperationsUpdate(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n properties,\n options,\n ),\n delete: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options?: IspCacheNodesOperationsDeleteOptionalParams,\n ) =>\n ispCacheNodesOperationsDelete(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n options,\n ),\n listByIspCustomerResource: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: IspCacheNodesOperationsListByIspCustomerResourceOptionalParams,\n ) =>\n ispCacheNodesOperationsListByIspCustomerResource(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n options,\n ),\n getBgpCidrs: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options?: IspCacheNodesOperationsGetBgpCidrsOptionalParams,\n ) =>\n ispCacheNodesOperationsGetBgpCidrs(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n options,\n ),\n getCacheNodeInstallDetails: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options?: IspCacheNodesOperationsGetCacheNodeInstallDetailsOptionalParams,\n ) =>\n ispCacheNodesOperationsGetCacheNodeInstallDetails(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n options,\n ),\n };\n}\n\nexport function getIspCacheNodesOperationsOperations(\n context: ConnectedCacheContext,\n subscriptionId: string,\n): IspCacheNodesOperationsOperations {\n return {\n ...getIspCacheNodesOperations(context, subscriptionId),\n };\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/ispCacheNodesOperations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,0BAA0B,EAC1B,qCAAqC,EACrC,6BAA6B,EAC7B,6BAA6B,EAC7B,gDAAgD,EAChD,kCAAkC,EAClC,iDAAiD,GAClD,MAAM,4CAA4C,CAAC;AAyEpD,MAAM,UAAU,0BAA0B,CAAC,OAA8B,EAAE,cAAsB;IAC/F,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AC/C,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,OAAO,CACR;KACJ,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,oCAAoC,CAClD,OAA8B,EAC9B,cAAsB;IAEtB,OAAO;QACL,GAAG,0BAA0B,CAAC,OAAO,EAAE,cAAc,CAAC;KACvD,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ConnectedCacheContext } from \"../../api/connectedCacheContext.js\";\nimport {\n ispCacheNodesOperationsGet,\n ispCacheNodesOperationsCreateOrUpdate,\n ispCacheNodesOperationsUpdate,\n ispCacheNodesOperationsDelete,\n ispCacheNodesOperationsListByIspCustomerResource,\n ispCacheNodesOperationsGetBgpCidrs,\n ispCacheNodesOperationsGetCacheNodeInstallDetails,\n} from \"../../api/ispCacheNodesOperations/index.js\";\nimport {\n IspCacheNodesOperationsGetOptionalParams,\n IspCacheNodesOperationsCreateOrUpdateOptionalParams,\n IspCacheNodesOperationsUpdateOptionalParams,\n IspCacheNodesOperationsDeleteOptionalParams,\n IspCacheNodesOperationsListByIspCustomerResourceOptionalParams,\n IspCacheNodesOperationsGetBgpCidrsOptionalParams,\n IspCacheNodesOperationsGetCacheNodeInstallDetailsOptionalParams,\n} from \"../../api/options.js\";\nimport {\n ConnectedCachePatchResource,\n MccCacheNodeInstallDetails,\n IspCacheNodeResource,\n MccCacheNodeBgpCidrDetails,\n} from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\n/** Interface representing a IspCacheNodesOperations operations. */\nexport interface IspCacheNodesOperationsOperations {\n /** This api gets ispCacheNode resource information */\n get: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options?: IspCacheNodesOperationsGetOptionalParams,\n ) => Promise<IspCacheNodeResource>;\n /** This api creates an ispCacheNode with the specified create parameters */\n createOrUpdate: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n resource: IspCacheNodeResource,\n options?: IspCacheNodesOperationsCreateOrUpdateOptionalParams,\n ) => PollerLike<OperationState<IspCacheNodeResource>, IspCacheNodeResource>;\n /** This api updates an existing ispCacheNode resource */\n update: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n properties: ConnectedCachePatchResource,\n options?: IspCacheNodesOperationsUpdateOptionalParams,\n ) => Promise<IspCacheNodeResource>;\n /** This api deletes an existing ispCacheNode resource */\n delete: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options?: IspCacheNodesOperationsDeleteOptionalParams,\n ) => PollerLike<OperationState<void>, void>;\n /** This api retrieves information about all ispCacheNode resources under the given subscription and resource group */\n listByIspCustomerResource: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: IspCacheNodesOperationsListByIspCustomerResourceOptionalParams,\n ) => PagedAsyncIterableIterator<IspCacheNodeResource>;\n /** This api gets ispCacheNode resource information */\n getBgpCidrs: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options?: IspCacheNodesOperationsGetBgpCidrsOptionalParams,\n ) => Promise<MccCacheNodeBgpCidrDetails>;\n /** This api gets secrets of the ispCacheNode resource install details */\n getCacheNodeInstallDetails: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options?: IspCacheNodesOperationsGetCacheNodeInstallDetailsOptionalParams,\n ) => Promise<MccCacheNodeInstallDetails>;\n}\n\nexport function getIspCacheNodesOperations(context: ConnectedCacheContext, subscriptionId: string) {\n return {\n get: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options?: IspCacheNodesOperationsGetOptionalParams,\n ) =>\n ispCacheNodesOperationsGet(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n options,\n ),\n createOrUpdate: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n resource: IspCacheNodeResource,\n options?: IspCacheNodesOperationsCreateOrUpdateOptionalParams,\n ) =>\n ispCacheNodesOperationsCreateOrUpdate(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n resource,\n options,\n ),\n update: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n properties: ConnectedCachePatchResource,\n options?: IspCacheNodesOperationsUpdateOptionalParams,\n ) =>\n ispCacheNodesOperationsUpdate(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n properties,\n options,\n ),\n delete: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options?: IspCacheNodesOperationsDeleteOptionalParams,\n ) =>\n ispCacheNodesOperationsDelete(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n options,\n ),\n listByIspCustomerResource: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: IspCacheNodesOperationsListByIspCustomerResourceOptionalParams,\n ) =>\n ispCacheNodesOperationsListByIspCustomerResource(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n options,\n ),\n getBgpCidrs: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options?: IspCacheNodesOperationsGetBgpCidrsOptionalParams,\n ) =>\n ispCacheNodesOperationsGetBgpCidrs(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n options,\n ),\n getCacheNodeInstallDetails: (\n resourceGroupName: string,\n customerResourceName: string,\n cacheNodeResourceName: string,\n options?: IspCacheNodesOperationsGetCacheNodeInstallDetailsOptionalParams,\n ) =>\n ispCacheNodesOperationsGetCacheNodeInstallDetails(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n cacheNodeResourceName,\n options,\n ),\n };\n}\n\nexport function getIspCacheNodesOperationsOperations(\n context: ConnectedCacheContext,\n subscriptionId: string,\n): IspCacheNodesOperationsOperations {\n return {\n ...getIspCacheNodesOperations(context, subscriptionId),\n };\n}\n"]}
@@ -12,6 +12,8 @@ export function getIspCustomers(context, subscriptionId) {
12
12
  };
13
13
  }
14
14
  export function getIspCustomersOperations(context, subscriptionId) {
15
- return Object.assign({}, getIspCustomers(context, subscriptionId));
15
+ return {
16
+ ...getIspCustomers(context, subscriptionId),
17
+ };
16
18
  }
17
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/ispCustomers/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,eAAe,EACf,0BAA0B,EAC1B,kBAAkB,EAClB,kBAAkB,EAClB,+BAA+B,EAC/B,8BAA8B,GAC/B,MAAM,iCAAiC,CAAC;AAoDzC,MAAM,UAAU,eAAe,CAAC,OAA8B,EAAE,cAAsB;IACpF,OAAO;QACL,GAAG,EAAE,CACH,iBAAyB,EACzB,oBAA4B,EAC5B,OAAuC,EACvC,EAAE,CAAC,eAAe,CAAC,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,OAAO,CAAC;QAC/F,cAAc,EAAE,CACd,iBAAyB,EACzB,oBAA4B,EAC5B,QAA6B,EAC7B,OAAkD,EAClD,EAAE,CACF,0BAA0B,CACxB,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,QAAQ,EACR,OAAO,CACR;QACH,MAAM,EAAE,CACN,iBAAyB,EACzB,oBAA4B,EAC5B,UAAuC,EACvC,OAA0C,EAC1C,EAAE,CACF,kBAAkB,CAChB,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,UAAU,EACV,OAAO,CACR;QACH,MAAM,EAAE,CACN,iBAAyB,EACzB,oBAA4B,EAC5B,OAA0C,EAC1C,EAAE,CACF,kBAAkB,CAAC,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,OAAO,CAAC;QAC/F,mBAAmB,EAAE,CACnB,iBAAyB,EACzB,OAAuD,EACvD,EAAE,CAAC,+BAA+B,CAAC,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,OAAO,CAAC;QACzF,kBAAkB,EAAE,CAAC,OAAsD,EAAE,EAAE,CAC7E,8BAA8B,CAAC,OAAO,EAAE,cAAc,EAAE,OAAO,CAAC;KACnE,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,yBAAyB,CACvC,OAA8B,EAC9B,cAAsB;IAEtB,yBACK,eAAe,CAAC,OAAO,EAAE,cAAc,CAAC,EAC3C;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ConnectedCacheContext } from \"../../api/connectedCacheContext.js\";\nimport {\n ispCustomersGet,\n ispCustomersCreateOrUpdate,\n ispCustomersUpdate,\n ispCustomersDelete,\n ispCustomersListByResourceGroup,\n ispCustomersListBySubscription,\n} from \"../../api/ispCustomers/index.js\";\nimport {\n IspCustomersGetOptionalParams,\n IspCustomersCreateOrUpdateOptionalParams,\n IspCustomersUpdateOptionalParams,\n IspCustomersDeleteOptionalParams,\n IspCustomersListByResourceGroupOptionalParams,\n IspCustomersListBySubscriptionOptionalParams,\n} from \"../../api/options.js\";\nimport { ConnectedCachePatchResource, IspCustomerResource } from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\n/** Interface representing a IspCustomers operations. */\nexport interface IspCustomersOperations {\n /** Gets the ispCustomer resource information using this get call */\n get: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: IspCustomersGetOptionalParams,\n ) => Promise<IspCustomerResource>;\n /** This api creates an ispCustomer with the specified create parameters */\n createOrUpdate: (\n resourceGroupName: string,\n customerResourceName: string,\n resource: IspCustomerResource,\n options?: IspCustomersCreateOrUpdateOptionalParams,\n ) => PollerLike<OperationState<IspCustomerResource>, IspCustomerResource>;\n /** This api updates an existing ispCustomer resource */\n update: (\n resourceGroupName: string,\n customerResourceName: string,\n properties: ConnectedCachePatchResource,\n options?: IspCustomersUpdateOptionalParams,\n ) => Promise<IspCustomerResource>;\n /** This api deletes an existing ispCustomer resource */\n delete: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: IspCustomersDeleteOptionalParams,\n ) => PollerLike<OperationState<void>, void>;\n /** This api gets the information about all ispCustomer resources under the given subscription and resource group */\n listByResourceGroup: (\n resourceGroupName: string,\n options?: IspCustomersListByResourceGroupOptionalParams,\n ) => PagedAsyncIterableIterator<IspCustomerResource>;\n /** This api gets information about all ispCustomer resources under the given subscription */\n listBySubscription: (\n options?: IspCustomersListBySubscriptionOptionalParams,\n ) => PagedAsyncIterableIterator<IspCustomerResource>;\n}\n\nexport function getIspCustomers(context: ConnectedCacheContext, subscriptionId: string) {\n return {\n get: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: IspCustomersGetOptionalParams,\n ) => ispCustomersGet(context, subscriptionId, resourceGroupName, customerResourceName, options),\n createOrUpdate: (\n resourceGroupName: string,\n customerResourceName: string,\n resource: IspCustomerResource,\n options?: IspCustomersCreateOrUpdateOptionalParams,\n ) =>\n ispCustomersCreateOrUpdate(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n resource,\n options,\n ),\n update: (\n resourceGroupName: string,\n customerResourceName: string,\n properties: ConnectedCachePatchResource,\n options?: IspCustomersUpdateOptionalParams,\n ) =>\n ispCustomersUpdate(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n properties,\n options,\n ),\n delete: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: IspCustomersDeleteOptionalParams,\n ) =>\n ispCustomersDelete(context, subscriptionId, resourceGroupName, customerResourceName, options),\n listByResourceGroup: (\n resourceGroupName: string,\n options?: IspCustomersListByResourceGroupOptionalParams,\n ) => ispCustomersListByResourceGroup(context, subscriptionId, resourceGroupName, options),\n listBySubscription: (options?: IspCustomersListBySubscriptionOptionalParams) =>\n ispCustomersListBySubscription(context, subscriptionId, options),\n };\n}\n\nexport function getIspCustomersOperations(\n context: ConnectedCacheContext,\n subscriptionId: string,\n): IspCustomersOperations {\n return {\n ...getIspCustomers(context, subscriptionId),\n };\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/ispCustomers/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,eAAe,EACf,0BAA0B,EAC1B,kBAAkB,EAClB,kBAAkB,EAClB,+BAA+B,EAC/B,8BAA8B,GAC/B,MAAM,iCAAiC,CAAC;AAoDzC,MAAM,UAAU,eAAe,CAAC,OAA8B,EAAE,cAAsB;IACpF,OAAO;QACL,GAAG,EAAE,CACH,iBAAyB,EACzB,oBAA4B,EAC5B,OAAuC,EACvC,EAAE,CAAC,eAAe,CAAC,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,OAAO,CAAC;QAC/F,cAAc,EAAE,CACd,iBAAyB,EACzB,oBAA4B,EAC5B,QAA6B,EAC7B,OAAkD,EAClD,EAAE,CACF,0BAA0B,CACxB,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,QAAQ,EACR,OAAO,CACR;QACH,MAAM,EAAE,CACN,iBAAyB,EACzB,oBAA4B,EAC5B,UAAuC,EACvC,OAA0C,EAC1C,EAAE,CACF,kBAAkB,CAChB,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,UAAU,EACV,OAAO,CACR;QACH,MAAM,EAAE,CACN,iBAAyB,EACzB,oBAA4B,EAC5B,OAA0C,EAC1C,EAAE,CACF,kBAAkB,CAAC,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,OAAO,CAAC;QAC/F,mBAAmB,EAAE,CACnB,iBAAyB,EACzB,OAAuD,EACvD,EAAE,CAAC,+BAA+B,CAAC,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,OAAO,CAAC;QACzF,kBAAkB,EAAE,CAAC,OAAsD,EAAE,EAAE,CAC7E,8BAA8B,CAAC,OAAO,EAAE,cAAc,EAAE,OAAO,CAAC;KACnE,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,yBAAyB,CACvC,OAA8B,EAC9B,cAAsB;IAEtB,OAAO;QACL,GAAG,eAAe,CAAC,OAAO,EAAE,cAAc,CAAC;KAC5C,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ConnectedCacheContext } from \"../../api/connectedCacheContext.js\";\nimport {\n ispCustomersGet,\n ispCustomersCreateOrUpdate,\n ispCustomersUpdate,\n ispCustomersDelete,\n ispCustomersListByResourceGroup,\n ispCustomersListBySubscription,\n} from \"../../api/ispCustomers/index.js\";\nimport {\n IspCustomersGetOptionalParams,\n IspCustomersCreateOrUpdateOptionalParams,\n IspCustomersUpdateOptionalParams,\n IspCustomersDeleteOptionalParams,\n IspCustomersListByResourceGroupOptionalParams,\n IspCustomersListBySubscriptionOptionalParams,\n} from \"../../api/options.js\";\nimport { ConnectedCachePatchResource, IspCustomerResource } from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\n/** Interface representing a IspCustomers operations. */\nexport interface IspCustomersOperations {\n /** Gets the ispCustomer resource information using this get call */\n get: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: IspCustomersGetOptionalParams,\n ) => Promise<IspCustomerResource>;\n /** This api creates an ispCustomer with the specified create parameters */\n createOrUpdate: (\n resourceGroupName: string,\n customerResourceName: string,\n resource: IspCustomerResource,\n options?: IspCustomersCreateOrUpdateOptionalParams,\n ) => PollerLike<OperationState<IspCustomerResource>, IspCustomerResource>;\n /** This api updates an existing ispCustomer resource */\n update: (\n resourceGroupName: string,\n customerResourceName: string,\n properties: ConnectedCachePatchResource,\n options?: IspCustomersUpdateOptionalParams,\n ) => Promise<IspCustomerResource>;\n /** This api deletes an existing ispCustomer resource */\n delete: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: IspCustomersDeleteOptionalParams,\n ) => PollerLike<OperationState<void>, void>;\n /** This api gets the information about all ispCustomer resources under the given subscription and resource group */\n listByResourceGroup: (\n resourceGroupName: string,\n options?: IspCustomersListByResourceGroupOptionalParams,\n ) => PagedAsyncIterableIterator<IspCustomerResource>;\n /** This api gets information about all ispCustomer resources under the given subscription */\n listBySubscription: (\n options?: IspCustomersListBySubscriptionOptionalParams,\n ) => PagedAsyncIterableIterator<IspCustomerResource>;\n}\n\nexport function getIspCustomers(context: ConnectedCacheContext, subscriptionId: string) {\n return {\n get: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: IspCustomersGetOptionalParams,\n ) => ispCustomersGet(context, subscriptionId, resourceGroupName, customerResourceName, options),\n createOrUpdate: (\n resourceGroupName: string,\n customerResourceName: string,\n resource: IspCustomerResource,\n options?: IspCustomersCreateOrUpdateOptionalParams,\n ) =>\n ispCustomersCreateOrUpdate(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n resource,\n options,\n ),\n update: (\n resourceGroupName: string,\n customerResourceName: string,\n properties: ConnectedCachePatchResource,\n options?: IspCustomersUpdateOptionalParams,\n ) =>\n ispCustomersUpdate(\n context,\n subscriptionId,\n resourceGroupName,\n customerResourceName,\n properties,\n options,\n ),\n delete: (\n resourceGroupName: string,\n customerResourceName: string,\n options?: IspCustomersDeleteOptionalParams,\n ) =>\n ispCustomersDelete(context, subscriptionId, resourceGroupName, customerResourceName, options),\n listByResourceGroup: (\n resourceGroupName: string,\n options?: IspCustomersListByResourceGroupOptionalParams,\n ) => ispCustomersListByResourceGroup(context, subscriptionId, resourceGroupName, options),\n listBySubscription: (options?: IspCustomersListBySubscriptionOptionalParams) =>\n ispCustomersListBySubscription(context, subscriptionId, options),\n };\n}\n\nexport function getIspCustomersOperations(\n context: ConnectedCacheContext,\n subscriptionId: string,\n): IspCustomersOperations {\n return {\n ...getIspCustomers(context, subscriptionId),\n };\n}\n"]}