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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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
@@ -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,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,OAAO;QACL,GAAG,+BAA+B,CAAC,OAAO,EAAE,cAAc,CAAC;KAC5D,CAAC;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"]}
@@ -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,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,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"]}
@@ -7,6 +7,8 @@ export function getOperations(context) {
7
7
  };
8
8
  }
9
9
  export function getOperationsOperations(context) {
10
- return Object.assign({}, getOperations(context));
10
+ return {
11
+ ...getOperations(context),
12
+ };
11
13
  }
12
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/operations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAW/D,MAAM,UAAU,aAAa,CAAC,OAA8B;IAC1D,OAAO;QACL,IAAI,EAAE,CAAC,OAAsC,EAAE,EAAE,CAAC,cAAc,CAAC,OAAO,EAAE,OAAO,CAAC;KACnF,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,uBAAuB,CAAC,OAA8B;IACpE,yBACK,aAAa,CAAC,OAAO,CAAC,EACzB;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ConnectedCacheContext } from \"../../api/connectedCacheContext.js\";\nimport { operationsList } from \"../../api/operations/index.js\";\nimport { OperationsListOptionalParams } from \"../../api/options.js\";\nimport { Operation } from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a Operations operations. */\nexport interface OperationsOperations {\n /** List the operations for the provider */\n list: (options?: OperationsListOptionalParams) => PagedAsyncIterableIterator<Operation>;\n}\n\nexport function getOperations(context: ConnectedCacheContext) {\n return {\n list: (options?: OperationsListOptionalParams) => operationsList(context, options),\n };\n}\n\nexport function getOperationsOperations(context: ConnectedCacheContext): OperationsOperations {\n return {\n ...getOperations(context),\n };\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/operations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAW/D,MAAM,UAAU,aAAa,CAAC,OAA8B;IAC1D,OAAO;QACL,IAAI,EAAE,CAAC,OAAsC,EAAE,EAAE,CAAC,cAAc,CAAC,OAAO,EAAE,OAAO,CAAC;KACnF,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,uBAAuB,CAAC,OAA8B;IACpE,OAAO;QACL,GAAG,aAAa,CAAC,OAAO,CAAC;KAC1B,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ConnectedCacheContext } from \"../../api/connectedCacheContext.js\";\nimport { operationsList } from \"../../api/operations/index.js\";\nimport { OperationsListOptionalParams } from \"../../api/options.js\";\nimport { Operation } from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a Operations operations. */\nexport interface OperationsOperations {\n /** List the operations for the provider */\n list: (options?: OperationsListOptionalParams) => PagedAsyncIterableIterator<Operation>;\n}\n\nexport function getOperations(context: ConnectedCacheContext) {\n return {\n list: (options?: OperationsListOptionalParams) => operationsList(context, options),\n };\n}\n\nexport function getOperationsOperations(context: ConnectedCacheContext): OperationsOperations {\n return {\n ...getOperations(context),\n };\n}\n"]}
@@ -9,14 +9,19 @@ import { getEnterpriseMccCustomersOperations, } from "./classic/enterpriseMccCus
9
9
  import { getEnterpriseMccCacheNodesOperationsOperations, } from "./classic/enterpriseMccCacheNodesOperations/index.js";
10
10
  import { createConnectedCache, } from "./api/index.js";
11
11
  export class ConnectedCacheClient {
12
+ _client;
13
+ /** The pipeline used by this client to make requests */
14
+ pipeline;
12
15
  /** Microsoft Connected Cache Rest Api version 2023-05-01-preview */
13
16
  constructor(credential, subscriptionId, options = {}) {
14
- var _a;
15
- const prefixFromOptions = (_a = options === null || options === void 0 ? void 0 : options.userAgentOptions) === null || _a === void 0 ? void 0 : _a.userAgentPrefix;
17
+ const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;
16
18
  const userAgentPrefix = prefixFromOptions
17
19
  ? `${prefixFromOptions} azsdk-js-client`
18
20
  : `azsdk-js-client`;
19
- this._client = createConnectedCache(credential, Object.assign(Object.assign({}, options), { userAgentOptions: { userAgentPrefix } }));
21
+ this._client = createConnectedCache(credential, {
22
+ ...options,
23
+ userAgentOptions: { userAgentPrefix },
24
+ });
20
25
  this.pipeline = this._client.pipeline;
21
26
  this.operations = getOperationsOperations(this._client);
22
27
  this.enterpriseCustomerOperations = getEnterpriseCustomerOperationsOperations(this._client, subscriptionId);
@@ -26,5 +31,19 @@ export class ConnectedCacheClient {
26
31
  this.enterpriseMccCustomers = getEnterpriseMccCustomersOperations(this._client, subscriptionId);
27
32
  this.enterpriseMccCacheNodesOperations = getEnterpriseMccCacheNodesOperationsOperations(this._client, subscriptionId);
28
33
  }
34
+ /** The operation groups for Operations */
35
+ operations;
36
+ /** The operation groups for EnterpriseCustomerOperations */
37
+ enterpriseCustomerOperations;
38
+ /** The operation groups for CacheNodesOperations */
39
+ cacheNodesOperations;
40
+ /** The operation groups for IspCustomers */
41
+ ispCustomers;
42
+ /** The operation groups for IspCacheNodesOperations */
43
+ ispCacheNodesOperations;
44
+ /** The operation groups for EnterpriseMccCustomers */
45
+ enterpriseMccCustomers;
46
+ /** The operation groups for EnterpriseMccCacheNodesOperations */
47
+ enterpriseMccCacheNodesOperations;
29
48
  }
30
49
  //# sourceMappingURL=connectedCacheClient.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"connectedCacheClient.js","sourceRoot":"","sources":["../../src/connectedCacheClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,uBAAuB,EAAwB,MAAM,+BAA+B,CAAC;AAC9F,OAAO,EACL,yCAAyC,GAE1C,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,iCAAiC,GAElC,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,yBAAyB,EAA0B,MAAM,iCAAiC,CAAC;AACpG,OAAO,EACL,oCAAoC,GAErC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EACL,mCAAmC,GAEpC,MAAM,2CAA2C,CAAC;AACnD,OAAO,EACL,8CAA8C,GAE/C,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EACL,oBAAoB,GAGrB,MAAM,gBAAgB,CAAC;AAMxB,MAAM,OAAO,oBAAoB;IAK/B,oEAAoE;IACpE,YACE,UAA2B,EAC3B,cAAsB,EACtB,UAA8C,EAAE;;QAEhD,MAAM,iBAAiB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,gBAAgB,0CAAE,eAAe,CAAC;QACrE,MAAM,eAAe,GAAG,iBAAiB;YACvC,CAAC,CAAC,GAAG,iBAAiB,kBAAkB;YACxC,CAAC,CAAC,iBAAiB,CAAC;QACtB,IAAI,CAAC,OAAO,GAAG,oBAAoB,CAAC,UAAU,kCACzC,OAAO,KACV,gBAAgB,EAAE,EAAE,eAAe,EAAE,IACrC,CAAC;QACH,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC;QACtC,IAAI,CAAC,UAAU,GAAG,uBAAuB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxD,IAAI,CAAC,4BAA4B,GAAG,yCAAyC,CAC3E,IAAI,CAAC,OAAO,EACZ,cAAc,CACf,CAAC;QACF,IAAI,CAAC,oBAAoB,GAAG,iCAAiC,CAAC,IAAI,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC;QAC5F,IAAI,CAAC,YAAY,GAAG,yBAAyB,CAAC,IAAI,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC;QAC5E,IAAI,CAAC,uBAAuB,GAAG,oCAAoC,CACjE,IAAI,CAAC,OAAO,EACZ,cAAc,CACf,CAAC;QACF,IAAI,CAAC,sBAAsB,GAAG,mCAAmC,CAAC,IAAI,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC;QAChG,IAAI,CAAC,iCAAiC,GAAG,8CAA8C,CACrF,IAAI,CAAC,OAAO,EACZ,cAAc,CACf,CAAC;IACJ,CAAC;CAgBF","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { getOperationsOperations, OperationsOperations } from \"./classic/operations/index.js\";\nimport {\n getEnterpriseCustomerOperationsOperations,\n EnterpriseCustomerOperationsOperations,\n} from \"./classic/enterpriseCustomerOperations/index.js\";\nimport {\n getCacheNodesOperationsOperations,\n CacheNodesOperationsOperations,\n} from \"./classic/cacheNodesOperations/index.js\";\nimport { getIspCustomersOperations, IspCustomersOperations } from \"./classic/ispCustomers/index.js\";\nimport {\n getIspCacheNodesOperationsOperations,\n IspCacheNodesOperationsOperations,\n} from \"./classic/ispCacheNodesOperations/index.js\";\nimport {\n getEnterpriseMccCustomersOperations,\n EnterpriseMccCustomersOperations,\n} from \"./classic/enterpriseMccCustomers/index.js\";\nimport {\n getEnterpriseMccCacheNodesOperationsOperations,\n EnterpriseMccCacheNodesOperationsOperations,\n} from \"./classic/enterpriseMccCacheNodesOperations/index.js\";\nimport {\n createConnectedCache,\n ConnectedCacheContext,\n ConnectedCacheClientOptionalParams,\n} from \"./api/index.js\";\nimport { Pipeline } from \"@azure/core-rest-pipeline\";\nimport { TokenCredential } from \"@azure/core-auth\";\n\nexport { ConnectedCacheClientOptionalParams } from \"./api/connectedCacheContext.js\";\n\nexport class ConnectedCacheClient {\n private _client: ConnectedCacheContext;\n /** The pipeline used by this client to make requests */\n public readonly pipeline: Pipeline;\n\n /** Microsoft Connected Cache Rest Api version 2023-05-01-preview */\n constructor(\n credential: TokenCredential,\n subscriptionId: string,\n options: ConnectedCacheClientOptionalParams = {},\n ) {\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-client`\n : `azsdk-js-client`;\n this._client = createConnectedCache(credential, {\n ...options,\n userAgentOptions: { userAgentPrefix },\n });\n this.pipeline = this._client.pipeline;\n this.operations = getOperationsOperations(this._client);\n this.enterpriseCustomerOperations = getEnterpriseCustomerOperationsOperations(\n this._client,\n subscriptionId,\n );\n this.cacheNodesOperations = getCacheNodesOperationsOperations(this._client, subscriptionId);\n this.ispCustomers = getIspCustomersOperations(this._client, subscriptionId);\n this.ispCacheNodesOperations = getIspCacheNodesOperationsOperations(\n this._client,\n subscriptionId,\n );\n this.enterpriseMccCustomers = getEnterpriseMccCustomersOperations(this._client, subscriptionId);\n this.enterpriseMccCacheNodesOperations = getEnterpriseMccCacheNodesOperationsOperations(\n this._client,\n subscriptionId,\n );\n }\n\n /** The operation groups for Operations */\n public readonly operations: OperationsOperations;\n /** The operation groups for EnterpriseCustomerOperations */\n public readonly enterpriseCustomerOperations: EnterpriseCustomerOperationsOperations;\n /** The operation groups for CacheNodesOperations */\n public readonly cacheNodesOperations: CacheNodesOperationsOperations;\n /** The operation groups for IspCustomers */\n public readonly ispCustomers: IspCustomersOperations;\n /** The operation groups for IspCacheNodesOperations */\n public readonly ispCacheNodesOperations: IspCacheNodesOperationsOperations;\n /** The operation groups for EnterpriseMccCustomers */\n public readonly enterpriseMccCustomers: EnterpriseMccCustomersOperations;\n /** The operation groups for EnterpriseMccCacheNodesOperations */\n public readonly enterpriseMccCacheNodesOperations: EnterpriseMccCacheNodesOperationsOperations;\n}\n"]}
1
+ {"version":3,"file":"connectedCacheClient.js","sourceRoot":"","sources":["../../src/connectedCacheClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,uBAAuB,EAAwB,MAAM,+BAA+B,CAAC;AAC9F,OAAO,EACL,yCAAyC,GAE1C,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,iCAAiC,GAElC,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,yBAAyB,EAA0B,MAAM,iCAAiC,CAAC;AACpG,OAAO,EACL,oCAAoC,GAErC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EACL,mCAAmC,GAEpC,MAAM,2CAA2C,CAAC;AACnD,OAAO,EACL,8CAA8C,GAE/C,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EACL,oBAAoB,GAGrB,MAAM,gBAAgB,CAAC;AAMxB,MAAM,OAAO,oBAAoB;IACvB,OAAO,CAAwB;IACvC,wDAAwD;IACxC,QAAQ,CAAW;IAEnC,oEAAoE;IACpE,YACE,UAA2B,EAC3B,cAAsB,EACtB,UAA8C,EAAE;QAEhD,MAAM,iBAAiB,GAAG,OAAO,EAAE,gBAAgB,EAAE,eAAe,CAAC;QACrE,MAAM,eAAe,GAAG,iBAAiB;YACvC,CAAC,CAAC,GAAG,iBAAiB,kBAAkB;YACxC,CAAC,CAAC,iBAAiB,CAAC;QACtB,IAAI,CAAC,OAAO,GAAG,oBAAoB,CAAC,UAAU,EAAE;YAC9C,GAAG,OAAO;YACV,gBAAgB,EAAE,EAAE,eAAe,EAAE;SACtC,CAAC,CAAC;QACH,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC;QACtC,IAAI,CAAC,UAAU,GAAG,uBAAuB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxD,IAAI,CAAC,4BAA4B,GAAG,yCAAyC,CAC3E,IAAI,CAAC,OAAO,EACZ,cAAc,CACf,CAAC;QACF,IAAI,CAAC,oBAAoB,GAAG,iCAAiC,CAAC,IAAI,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC;QAC5F,IAAI,CAAC,YAAY,GAAG,yBAAyB,CAAC,IAAI,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC;QAC5E,IAAI,CAAC,uBAAuB,GAAG,oCAAoC,CACjE,IAAI,CAAC,OAAO,EACZ,cAAc,CACf,CAAC;QACF,IAAI,CAAC,sBAAsB,GAAG,mCAAmC,CAAC,IAAI,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC;QAChG,IAAI,CAAC,iCAAiC,GAAG,8CAA8C,CACrF,IAAI,CAAC,OAAO,EACZ,cAAc,CACf,CAAC;IACJ,CAAC;IAED,0CAA0C;IAC1B,UAAU,CAAuB;IACjD,4DAA4D;IAC5C,4BAA4B,CAAyC;IACrF,oDAAoD;IACpC,oBAAoB,CAAiC;IACrE,4CAA4C;IAC5B,YAAY,CAAyB;IACrD,uDAAuD;IACvC,uBAAuB,CAAoC;IAC3E,sDAAsD;IACtC,sBAAsB,CAAmC;IACzE,iEAAiE;IACjD,iCAAiC,CAA8C;CAChG","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { getOperationsOperations, OperationsOperations } from \"./classic/operations/index.js\";\nimport {\n getEnterpriseCustomerOperationsOperations,\n EnterpriseCustomerOperationsOperations,\n} from \"./classic/enterpriseCustomerOperations/index.js\";\nimport {\n getCacheNodesOperationsOperations,\n CacheNodesOperationsOperations,\n} from \"./classic/cacheNodesOperations/index.js\";\nimport { getIspCustomersOperations, IspCustomersOperations } from \"./classic/ispCustomers/index.js\";\nimport {\n getIspCacheNodesOperationsOperations,\n IspCacheNodesOperationsOperations,\n} from \"./classic/ispCacheNodesOperations/index.js\";\nimport {\n getEnterpriseMccCustomersOperations,\n EnterpriseMccCustomersOperations,\n} from \"./classic/enterpriseMccCustomers/index.js\";\nimport {\n getEnterpriseMccCacheNodesOperationsOperations,\n EnterpriseMccCacheNodesOperationsOperations,\n} from \"./classic/enterpriseMccCacheNodesOperations/index.js\";\nimport {\n createConnectedCache,\n ConnectedCacheContext,\n ConnectedCacheClientOptionalParams,\n} from \"./api/index.js\";\nimport { Pipeline } from \"@azure/core-rest-pipeline\";\nimport { TokenCredential } from \"@azure/core-auth\";\n\nexport { ConnectedCacheClientOptionalParams } from \"./api/connectedCacheContext.js\";\n\nexport class ConnectedCacheClient {\n private _client: ConnectedCacheContext;\n /** The pipeline used by this client to make requests */\n public readonly pipeline: Pipeline;\n\n /** Microsoft Connected Cache Rest Api version 2023-05-01-preview */\n constructor(\n credential: TokenCredential,\n subscriptionId: string,\n options: ConnectedCacheClientOptionalParams = {},\n ) {\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-client`\n : `azsdk-js-client`;\n this._client = createConnectedCache(credential, {\n ...options,\n userAgentOptions: { userAgentPrefix },\n });\n this.pipeline = this._client.pipeline;\n this.operations = getOperationsOperations(this._client);\n this.enterpriseCustomerOperations = getEnterpriseCustomerOperationsOperations(\n this._client,\n subscriptionId,\n );\n this.cacheNodesOperations = getCacheNodesOperationsOperations(this._client, subscriptionId);\n this.ispCustomers = getIspCustomersOperations(this._client, subscriptionId);\n this.ispCacheNodesOperations = getIspCacheNodesOperationsOperations(\n this._client,\n subscriptionId,\n );\n this.enterpriseMccCustomers = getEnterpriseMccCustomersOperations(this._client, subscriptionId);\n this.enterpriseMccCacheNodesOperations = getEnterpriseMccCacheNodesOperationsOperations(\n this._client,\n subscriptionId,\n );\n }\n\n /** The operation groups for Operations */\n public readonly operations: OperationsOperations;\n /** The operation groups for EnterpriseCustomerOperations */\n public readonly enterpriseCustomerOperations: EnterpriseCustomerOperationsOperations;\n /** The operation groups for CacheNodesOperations */\n public readonly cacheNodesOperations: CacheNodesOperationsOperations;\n /** The operation groups for IspCustomers */\n public readonly ispCustomers: IspCustomersOperations;\n /** The operation groups for IspCacheNodesOperations */\n public readonly ispCacheNodesOperations: IspCacheNodesOperationsOperations;\n /** The operation groups for EnterpriseMccCustomers */\n public readonly enterpriseMccCustomers: EnterpriseMccCustomersOperations;\n /** The operation groups for EnterpriseMccCacheNodesOperations */\n public readonly enterpriseMccCacheNodesOperations: EnterpriseMccCacheNodesOperationsOperations;\n}\n"]}
@@ -201,7 +201,6 @@ export var KnownAutoUpdateRingType;
201
201
  KnownAutoUpdateRingType["Fast"] = "Fast";
202
202
  })(KnownAutoUpdateRingType || (KnownAutoUpdateRingType = {}));
203
203
  export function additionalCacheNodePropertiesSerializer(item) {
204
- var _a;
205
204
  return {
206
205
  cacheNodePropertiesDetailsIssuesList: !item["cacheNodePropertiesDetailsIssuesList"]
207
206
  ? item["cacheNodePropertiesDetailsIssuesList"]
@@ -223,7 +222,7 @@ export function additionalCacheNodePropertiesSerializer(item) {
223
222
  updateCycleType: item["updateCycleType"],
224
223
  autoUpdateVersion: item["autoUpdateVersion"],
225
224
  updateInfoDetails: item["updateInfoDetails"],
226
- updateRequestedDateTime: (_a = item["updateRequestedDateTime"]) === null || _a === void 0 ? void 0 : _a.toISOString(),
225
+ updateRequestedDateTime: item["updateRequestedDateTime"]?.toISOString(),
227
226
  optionalProperty1: item["optionalProperty1"],
228
227
  optionalProperty2: item["optionalProperty2"],
229
228
  optionalProperty3: item["optionalProperty3"],
@@ -575,7 +574,6 @@ export function customerEntityDeserializer(item) {
575
574
  };
576
575
  }
577
576
  export function additionalCustomerPropertiesSerializer(item) {
578
- var _a;
579
577
  return {
580
578
  customerEmail: item["customerEmail"],
581
579
  customerTransitAsn: item["customerTransitAsn"],
@@ -584,7 +582,7 @@ export function additionalCustomerPropertiesSerializer(item) {
584
582
  customerEntitlementSkuId: item["customerEntitlementSkuId"],
585
583
  customerEntitlementSkuGuid: item["customerEntitlementSkuGuid"],
586
584
  customerEntitlementSkuName: item["customerEntitlementSkuName"],
587
- customerEntitlementExpiration: (_a = item["customerEntitlementExpiration"]) === null || _a === void 0 ? void 0 : _a.toISOString(),
585
+ customerEntitlementExpiration: item["customerEntitlementExpiration"]?.toISOString(),
588
586
  optionalProperty1: item["optionalProperty1"],
589
587
  optionalProperty2: item["optionalProperty2"],
590
588
  optionalProperty3: item["optionalProperty3"],