@azure/arm-cognitiveservices 6.0.0 → 7.0.0-alpha.20211220.3

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 (223) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/{LICENSE.txt → LICENSE} +1 -1
  3. package/README.md +70 -95
  4. package/dist/index.js +4800 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/cognitiveServicesManagementClient.d.ts +42 -0
  9. package/dist-esm/src/cognitiveServicesManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/cognitiveServicesManagementClient.js +133 -0
  11. package/dist-esm/src/cognitiveServicesManagementClient.js.map +1 -0
  12. package/dist-esm/src/index.d.ts +5 -0
  13. package/dist-esm/src/index.d.ts.map +1 -0
  14. package/dist-esm/src/index.js +12 -0
  15. package/dist-esm/src/index.js.map +1 -0
  16. package/dist-esm/src/lroImpl.d.ts +16 -0
  17. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  18. package/dist-esm/src/lroImpl.js +29 -0
  19. package/dist-esm/src/lroImpl.js.map +1 -0
  20. package/dist-esm/src/models/index.d.ts +1310 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +128 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +68 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/mappers.js +1017 -713
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +26 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/dist-esm/src/models/parameters.js +199 -0
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/dist-esm/src/operations/accounts.d.ts +138 -0
  33. package/dist-esm/src/operations/accounts.d.ts.map +1 -0
  34. package/dist-esm/src/operations/accounts.js +628 -0
  35. package/dist-esm/src/operations/accounts.js.map +1 -0
  36. package/dist-esm/src/operations/commitmentPlans.d.ts +76 -0
  37. package/dist-esm/src/operations/commitmentPlans.d.ts.map +1 -0
  38. package/dist-esm/src/operations/commitmentPlans.js +293 -0
  39. package/dist-esm/src/operations/commitmentPlans.js.map +1 -0
  40. package/dist-esm/src/operations/commitmentTiers.d.ts +35 -0
  41. package/dist-esm/src/operations/commitmentTiers.d.ts.map +1 -0
  42. package/dist-esm/src/operations/commitmentTiers.js +132 -0
  43. package/dist-esm/src/operations/commitmentTiers.js.map +1 -0
  44. package/dist-esm/src/operations/deletedAccounts.d.ts +57 -0
  45. package/dist-esm/src/operations/deletedAccounts.d.ts.map +1 -0
  46. package/dist-esm/src/operations/deletedAccounts.js +232 -0
  47. package/dist-esm/src/operations/deletedAccounts.js.map +1 -0
  48. package/dist-esm/src/operations/deployments.d.ts +81 -0
  49. package/dist-esm/src/operations/deployments.d.ts.map +1 -0
  50. package/dist-esm/src/operations/deployments.js +331 -0
  51. package/dist-esm/src/operations/deployments.js.map +1 -0
  52. package/{esm → dist-esm/src}/operations/index.d.ts +3 -0
  53. package/dist-esm/src/operations/index.d.ts.map +1 -0
  54. package/dist-esm/src/operations/index.js +17 -0
  55. package/dist-esm/src/operations/index.js.map +1 -0
  56. package/dist-esm/src/operations/operations.d.ts +32 -0
  57. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  58. package/dist-esm/src/operations/operations.js +120 -0
  59. package/dist-esm/src/operations/operations.js.map +1 -0
  60. package/dist-esm/src/operations/privateEndpointConnections.d.ts +70 -0
  61. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  62. package/dist-esm/src/operations/privateEndpointConnections.js +271 -0
  63. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  64. package/dist-esm/src/operations/privateLinkResources.d.ts +20 -0
  65. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  66. package/dist-esm/src/operations/privateLinkResources.js +53 -0
  67. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  68. package/dist-esm/src/operations/resourceSkus.d.ts +32 -0
  69. package/dist-esm/src/operations/resourceSkus.d.ts.map +1 -0
  70. package/dist-esm/src/operations/resourceSkus.js +124 -0
  71. package/dist-esm/src/operations/resourceSkus.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/accounts.d.ts +102 -0
  73. package/dist-esm/src/operationsInterfaces/accounts.d.ts.map +1 -0
  74. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/accounts.js} +2 -1
  75. package/dist-esm/src/operationsInterfaces/accounts.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/commitmentPlans.d.ts +51 -0
  77. package/dist-esm/src/operationsInterfaces/commitmentPlans.d.ts.map +1 -0
  78. package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/commitmentPlans.js} +2 -9
  79. package/dist-esm/src/operationsInterfaces/commitmentPlans.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/commitmentTiers.d.ts +12 -0
  81. package/dist-esm/src/operationsInterfaces/commitmentTiers.d.ts.map +1 -0
  82. package/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/commitmentTiers.js} +2 -2
  83. package/dist-esm/src/operationsInterfaces/commitmentTiers.js.map +1 -0
  84. package/dist-esm/src/operationsInterfaces/deletedAccounts.d.ts +36 -0
  85. package/dist-esm/src/operationsInterfaces/deletedAccounts.d.ts.map +1 -0
  86. package/{src/models/resourceSkusMappers.ts → dist-esm/src/operationsInterfaces/deletedAccounts.js} +2 -10
  87. package/dist-esm/src/operationsInterfaces/deletedAccounts.js.map +1 -0
  88. package/dist-esm/src/operationsInterfaces/deployments.d.ts +56 -0
  89. package/dist-esm/src/operationsInterfaces/deployments.d.ts.map +1 -0
  90. package/dist-esm/src/operationsInterfaces/deployments.js +9 -0
  91. package/dist-esm/src/operationsInterfaces/deployments.js.map +1 -0
  92. package/dist-esm/src/operationsInterfaces/index.d.ts +10 -0
  93. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  94. package/dist-esm/src/operationsInterfaces/index.js +17 -0
  95. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  96. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  97. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  98. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  99. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  100. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +62 -0
  101. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  103. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +12 -0
  105. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  106. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  107. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/resourceSkus.d.ts +11 -0
  109. package/dist-esm/src/operationsInterfaces/resourceSkus.d.ts.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/resourceSkus.js +9 -0
  111. package/dist-esm/src/operationsInterfaces/resourceSkus.js.map +1 -0
  112. package/dist-esm/test/cognitiveservices_examples.d.ts +4 -0
  113. package/dist-esm/test/cognitiveservices_examples.d.ts.map +1 -0
  114. package/dist-esm/test/cognitiveservices_examples.js +127 -0
  115. package/dist-esm/test/cognitiveservices_examples.js.map +1 -0
  116. package/package.json +65 -22
  117. package/review/arm-cognitiveservices.api.md +1150 -0
  118. package/rollup.config.js +181 -24
  119. package/src/cognitiveServicesManagementClient.ts +148 -172
  120. package/src/index.ts +12 -0
  121. package/src/lroImpl.ts +34 -0
  122. package/src/models/index.ts +1122 -1415
  123. package/src/models/mappers.ts +1161 -835
  124. package/src/models/parameters.ts +159 -40
  125. package/src/operations/accounts.ts +587 -574
  126. package/src/operations/commitmentPlans.ts +394 -0
  127. package/src/operations/commitmentTiers.ts +158 -0
  128. package/src/operations/deletedAccounts.ts +197 -185
  129. package/src/operations/deployments.ts +464 -0
  130. package/src/operations/index.ts +4 -2
  131. package/src/operations/operations.ts +85 -85
  132. package/src/operations/privateEndpointConnections.ts +232 -202
  133. package/src/operations/privateLinkResources.ts +34 -62
  134. package/src/operations/resourceSkus.ts +90 -86
  135. package/src/operationsInterfaces/accounts.ts +195 -0
  136. package/src/operationsInterfaces/commitmentPlans.ts +93 -0
  137. package/src/operationsInterfaces/commitmentTiers.ts +24 -0
  138. package/src/operationsInterfaces/deletedAccounts.ts +68 -0
  139. package/src/operationsInterfaces/deployments.ts +109 -0
  140. package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +5 -3
  141. package/src/operationsInterfaces/operations.ts +22 -0
  142. package/src/operationsInterfaces/privateEndpointConnections.ts +115 -0
  143. package/src/operationsInterfaces/privateLinkResources.ts +27 -0
  144. package/src/operationsInterfaces/resourceSkus.ts +22 -0
  145. package/tsconfig.json +3 -3
  146. package/types/arm-cognitiveservices.d.ts +1860 -0
  147. package/types/tsdoc-metadata.json +11 -0
  148. package/dist/arm-cognitiveservices.js +0 -3385
  149. package/dist/arm-cognitiveservices.js.map +0 -1
  150. package/dist/arm-cognitiveservices.min.js +0 -1
  151. package/dist/arm-cognitiveservices.min.js.map +0 -1
  152. package/esm/cognitiveServicesManagementClient.d.ts +0 -77
  153. package/esm/cognitiveServicesManagementClient.d.ts.map +0 -1
  154. package/esm/cognitiveServicesManagementClient.js +0 -108
  155. package/esm/cognitiveServicesManagementClient.js.map +0 -1
  156. package/esm/cognitiveServicesManagementClientContext.d.ts +0 -22
  157. package/esm/cognitiveServicesManagementClientContext.d.ts.map +0 -1
  158. package/esm/cognitiveServicesManagementClientContext.js +0 -61
  159. package/esm/cognitiveServicesManagementClientContext.js.map +0 -1
  160. package/esm/models/accountsMappers.d.ts +0 -2
  161. package/esm/models/accountsMappers.d.ts.map +0 -1
  162. package/esm/models/accountsMappers.js +0 -9
  163. package/esm/models/accountsMappers.js.map +0 -1
  164. package/esm/models/deletedAccountsMappers.d.ts +0 -2
  165. package/esm/models/deletedAccountsMappers.d.ts.map +0 -1
  166. package/esm/models/deletedAccountsMappers.js +0 -9
  167. package/esm/models/deletedAccountsMappers.js.map +0 -1
  168. package/esm/models/index.d.ts +0 -1645
  169. package/esm/models/index.d.ts.map +0 -1
  170. package/esm/models/index.js.map +0 -1
  171. package/esm/models/mappers.d.ts +0 -58
  172. package/esm/models/mappers.d.ts.map +0 -1
  173. package/esm/models/mappers.js.map +0 -1
  174. package/esm/models/operationsMappers.d.ts +0 -2
  175. package/esm/models/operationsMappers.d.ts.map +0 -1
  176. package/esm/models/operationsMappers.js.map +0 -1
  177. package/esm/models/parameters.d.ts +0 -11
  178. package/esm/models/parameters.d.ts.map +0 -1
  179. package/esm/models/parameters.js +0 -115
  180. package/esm/models/parameters.js.map +0 -1
  181. package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
  182. package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
  183. package/esm/models/privateEndpointConnectionsMappers.js +0 -9
  184. package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
  185. package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
  186. package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
  187. package/esm/models/privateLinkResourcesMappers.js +0 -9
  188. package/esm/models/privateLinkResourcesMappers.js.map +0 -1
  189. package/esm/models/resourceSkusMappers.d.ts +0 -2
  190. package/esm/models/resourceSkusMappers.d.ts.map +0 -1
  191. package/esm/models/resourceSkusMappers.js +0 -9
  192. package/esm/models/resourceSkusMappers.js.map +0 -1
  193. package/esm/operations/accounts.d.ts +0 -245
  194. package/esm/operations/accounts.d.ts.map +0 -1
  195. package/esm/operations/accounts.js +0 -389
  196. package/esm/operations/accounts.js.map +0 -1
  197. package/esm/operations/deletedAccounts.d.ts +0 -89
  198. package/esm/operations/deletedAccounts.d.ts.map +0 -1
  199. package/esm/operations/deletedAccounts.js +0 -149
  200. package/esm/operations/deletedAccounts.js.map +0 -1
  201. package/esm/operations/index.d.ts.map +0 -1
  202. package/esm/operations/index.js.map +0 -1
  203. package/esm/operations/operations.d.ts +0 -46
  204. package/esm/operations/operations.d.ts.map +0 -1
  205. package/esm/operations/operations.js +0 -69
  206. package/esm/operations/operations.js.map +0 -1
  207. package/esm/operations/privateEndpointConnections.d.ts +0 -108
  208. package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
  209. package/esm/operations/privateEndpointConnections.js +0 -193
  210. package/esm/operations/privateEndpointConnections.js.map +0 -1
  211. package/esm/operations/privateLinkResources.d.ts +0 -34
  212. package/esm/operations/privateLinkResources.d.ts.map +0 -1
  213. package/esm/operations/privateLinkResources.js +0 -49
  214. package/esm/operations/privateLinkResources.js.map +0 -1
  215. package/esm/operations/resourceSkus.d.ts +0 -46
  216. package/esm/operations/resourceSkus.d.ts.map +0 -1
  217. package/esm/operations/resourceSkus.js +0 -70
  218. package/esm/operations/resourceSkus.js.map +0 -1
  219. package/src/cognitiveServicesManagementClientContext.ts +0 -74
  220. package/src/models/accountsMappers.ts +0 -51
  221. package/src/models/deletedAccountsMappers.ts +0 -44
  222. package/src/models/privateEndpointConnectionsMappers.ts +0 -44
  223. package/src/models/privateLinkResourcesMappers.ts +0 -44
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deployments.js","sourceRoot":"","sources":["../../../src/operations/deployments.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EA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AG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -2,6 +2,9 @@ export * from "./accounts";
2
2
  export * from "./deletedAccounts";
3
3
  export * from "./resourceSkus";
4
4
  export * from "./operations";
5
+ export * from "./commitmentTiers";
5
6
  export * from "./privateEndpointConnections";
6
7
  export * from "./privateLinkResources";
8
+ export * from "./deployments";
9
+ export * from "./commitmentPlans";
7
10
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC"}
@@ -0,0 +1,17 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export * from "./accounts";
9
+ export * from "./deletedAccounts";
10
+ export * from "./resourceSkus";
11
+ export * from "./operations";
12
+ export * from "./commitmentTiers";
13
+ export * from "./privateEndpointConnections";
14
+ export * from "./privateLinkResources";
15
+ export * from "./deployments";
16
+ export * from "./commitmentPlans";
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC"}
@@ -0,0 +1,32 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Operations } from "../operationsInterfaces";
3
+ import { CognitiveServicesManagementClient } from "../cognitiveServicesManagementClient";
4
+ import { Operation, OperationsListOptionalParams } from "../models";
5
+ /** Class containing Operations operations. */
6
+ export declare class OperationsImpl implements Operations {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class Operations class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: CognitiveServicesManagementClient);
13
+ /**
14
+ * Lists all the available Cognitive Services account operations.
15
+ * @param options The options parameters.
16
+ */
17
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
18
+ private listPagingPage;
19
+ private listPagingAll;
20
+ /**
21
+ * Lists all the available Cognitive Services account operations.
22
+ * @param options The options parameters.
23
+ */
24
+ private _list;
25
+ /**
26
+ * ListNext
27
+ * @param nextLink The nextLink from the previous successful call to the List method.
28
+ * @param options The options parameters.
29
+ */
30
+ private _listNext;
31
+ }
32
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAIrD,OAAO,EAAE,iCAAiC,EAAE,MAAM,sCAAsC,CAAC;AACzF,OAAO,EACL,SAAS,EAET,4BAA4B,EAG7B,MAAM,WAAW,CAAC;AAGnB,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAE3D;;;OAGG;gBACS,MAAM,EAAE,iCAAiC;IAIrD;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC;YAezB,cAAc;YAad,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
@@ -0,0 +1,120 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Class containing Operations operations. */
14
+ export class OperationsImpl {
15
+ /**
16
+ * Initialize a new instance of the class Operations class.
17
+ * @param client Reference to the service client
18
+ */
19
+ constructor(client) {
20
+ this.client = client;
21
+ }
22
+ /**
23
+ * Lists all the available Cognitive Services account operations.
24
+ * @param options The options parameters.
25
+ */
26
+ list(options) {
27
+ const iter = this.listPagingAll(options);
28
+ return {
29
+ next() {
30
+ return iter.next();
31
+ },
32
+ [Symbol.asyncIterator]() {
33
+ return this;
34
+ },
35
+ byPage: () => {
36
+ return this.listPagingPage(options);
37
+ }
38
+ };
39
+ }
40
+ listPagingPage(options) {
41
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
42
+ let result = yield __await(this._list(options));
43
+ yield yield __await(result.value || []);
44
+ let continuationToken = result.nextLink;
45
+ while (continuationToken) {
46
+ result = yield __await(this._listNext(continuationToken, options));
47
+ continuationToken = result.nextLink;
48
+ yield yield __await(result.value || []);
49
+ }
50
+ });
51
+ }
52
+ listPagingAll(options) {
53
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
54
+ var e_1, _a;
55
+ try {
56
+ for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
57
+ const page = _c.value;
58
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
59
+ }
60
+ }
61
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
62
+ finally {
63
+ try {
64
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
65
+ }
66
+ finally { if (e_1) throw e_1.error; }
67
+ }
68
+ });
69
+ }
70
+ /**
71
+ * Lists all the available Cognitive Services account operations.
72
+ * @param options The options parameters.
73
+ */
74
+ _list(options) {
75
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
76
+ }
77
+ /**
78
+ * ListNext
79
+ * @param nextLink The nextLink from the previous successful call to the List method.
80
+ * @param options The options parameters.
81
+ */
82
+ _listNext(nextLink, options) {
83
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
84
+ }
85
+ }
86
+ // Operation Specifications
87
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
88
+ const listOperationSpec = {
89
+ path: "/providers/Microsoft.CognitiveServices/operations",
90
+ httpMethod: "GET",
91
+ responses: {
92
+ 200: {
93
+ bodyMapper: Mappers.OperationListResult
94
+ },
95
+ default: {
96
+ bodyMapper: Mappers.ErrorResponse
97
+ }
98
+ },
99
+ queryParameters: [Parameters.apiVersion],
100
+ urlParameters: [Parameters.$host],
101
+ headerParameters: [Parameters.accept],
102
+ serializer
103
+ };
104
+ const listNextOperationSpec = {
105
+ path: "{nextLink}",
106
+ httpMethod: "GET",
107
+ responses: {
108
+ 200: {
109
+ bodyMapper: Mappers.OperationListResult
110
+ },
111
+ default: {
112
+ bodyMapper: Mappers.ErrorResponse
113
+ }
114
+ },
115
+ queryParameters: [Parameters.apiVersion],
116
+ urlParameters: [Parameters.$host, Parameters.nextLink],
117
+ headerParameters: [Parameters.accept],
118
+ serializer
119
+ };
120
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAUnD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAsC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;g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rB,qBAAqB,CACtB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,mDAAmD;IACzD,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,70 @@
1
+ import { PrivateEndpointConnections } from "../operationsInterfaces";
2
+ import { CognitiveServicesManagementClient } from "../cognitiveServicesManagementClient";
3
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
4
+ import { PrivateEndpointConnectionsListOptionalParams, PrivateEndpointConnectionsListResponse, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnection, PrivateEndpointConnectionsCreateOrUpdateOptionalParams, PrivateEndpointConnectionsCreateOrUpdateResponse, PrivateEndpointConnectionsDeleteOptionalParams } from "../models";
5
+ /** Class containing PrivateEndpointConnections operations. */
6
+ export declare class PrivateEndpointConnectionsImpl implements PrivateEndpointConnections {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class PrivateEndpointConnections class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: CognitiveServicesManagementClient);
13
+ /**
14
+ * Gets the private endpoint connections associated with the Cognitive Services account.
15
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
16
+ * @param accountName The name of Cognitive Services account.
17
+ * @param options The options parameters.
18
+ */
19
+ list(resourceGroupName: string, accountName: string, options?: PrivateEndpointConnectionsListOptionalParams): Promise<PrivateEndpointConnectionsListResponse>;
20
+ /**
21
+ * Gets the specified private endpoint connection associated with the Cognitive Services account.
22
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
23
+ * @param accountName The name of Cognitive Services account.
24
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
25
+ * Cognitive Services Account
26
+ * @param options The options parameters.
27
+ */
28
+ get(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
29
+ /**
30
+ * Update the state of specified private endpoint connection associated with the Cognitive Services
31
+ * account.
32
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
33
+ * @param accountName The name of Cognitive Services account.
34
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
35
+ * Cognitive Services Account
36
+ * @param properties The private endpoint connection properties.
37
+ * @param options The options parameters.
38
+ */
39
+ beginCreateOrUpdate(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>, PrivateEndpointConnectionsCreateOrUpdateResponse>>;
40
+ /**
41
+ * Update the state of specified private endpoint connection associated with the Cognitive Services
42
+ * account.
43
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
44
+ * @param accountName The name of Cognitive Services account.
45
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
46
+ * Cognitive Services Account
47
+ * @param properties The private endpoint connection properties.
48
+ * @param options The options parameters.
49
+ */
50
+ beginCreateOrUpdateAndWait(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;
51
+ /**
52
+ * Deletes the specified private endpoint connection associated with the Cognitive Services account.
53
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
54
+ * @param accountName The name of Cognitive Services account.
55
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
56
+ * Cognitive Services Account
57
+ * @param options The options parameters.
58
+ */
59
+ beginDelete(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
60
+ /**
61
+ * Deletes the specified private endpoint connection associated with the Cognitive Services account.
62
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
63
+ * @param accountName The name of Cognitive Services account.
64
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
65
+ * Cognitive Services Account
66
+ * @param options The options parameters.
67
+ */
68
+ beginDeleteAndWait(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
69
+ }
70
+ //# sourceMappingURL=privateEndpointConnections.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAIrE,OAAO,EAAE,iCAAiC,EAAE,MAAM,sCAAsC,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,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IAwDtD;;;;;;;OAOG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,IAAI,CAAC;CASjB"}
@@ -0,0 +1,271 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ import { LroEngine } from "@azure/core-lro";
13
+ import { LroImpl } from "../lroImpl";
14
+ /** Class containing PrivateEndpointConnections operations. */
15
+ export class PrivateEndpointConnectionsImpl {
16
+ /**
17
+ * Initialize a new instance of the class PrivateEndpointConnections class.
18
+ * @param client Reference to the service client
19
+ */
20
+ constructor(client) {
21
+ this.client = client;
22
+ }
23
+ /**
24
+ * Gets the private endpoint connections associated with the Cognitive Services account.
25
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
26
+ * @param accountName The name of Cognitive Services account.
27
+ * @param options The options parameters.
28
+ */
29
+ list(resourceGroupName, accountName, options) {
30
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec);
31
+ }
32
+ /**
33
+ * Gets the specified private endpoint connection associated with the Cognitive Services account.
34
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
35
+ * @param accountName The name of Cognitive Services account.
36
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
37
+ * Cognitive Services Account
38
+ * @param options The options parameters.
39
+ */
40
+ get(resourceGroupName, accountName, privateEndpointConnectionName, options) {
41
+ return this.client.sendOperationRequest({
42
+ resourceGroupName,
43
+ accountName,
44
+ privateEndpointConnectionName,
45
+ options
46
+ }, getOperationSpec);
47
+ }
48
+ /**
49
+ * Update the state of specified private endpoint connection associated with the Cognitive Services
50
+ * account.
51
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
52
+ * @param accountName The name of Cognitive Services account.
53
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
54
+ * Cognitive Services Account
55
+ * @param properties The private endpoint connection properties.
56
+ * @param options The options parameters.
57
+ */
58
+ beginCreateOrUpdate(resourceGroupName, accountName, privateEndpointConnectionName, properties, options) {
59
+ return __awaiter(this, void 0, void 0, function* () {
60
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
61
+ return this.client.sendOperationRequest(args, spec);
62
+ });
63
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
64
+ var _a;
65
+ let currentRawResponse = undefined;
66
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
67
+ const callback = (rawResponse, flatResponse) => {
68
+ currentRawResponse = rawResponse;
69
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
70
+ };
71
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
72
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
73
+ return {
74
+ flatResponse,
75
+ rawResponse: {
76
+ statusCode: currentRawResponse.status,
77
+ body: currentRawResponse.parsedBody,
78
+ headers: currentRawResponse.headers.toJSON()
79
+ }
80
+ };
81
+ });
82
+ const lro = new LroImpl(sendOperation, {
83
+ resourceGroupName,
84
+ accountName,
85
+ privateEndpointConnectionName,
86
+ properties,
87
+ options
88
+ }, createOrUpdateOperationSpec);
89
+ return new LroEngine(lro, {
90
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
91
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
92
+ });
93
+ });
94
+ }
95
+ /**
96
+ * Update the state of specified private endpoint connection associated with the Cognitive Services
97
+ * account.
98
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
99
+ * @param accountName The name of Cognitive Services account.
100
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
101
+ * Cognitive Services Account
102
+ * @param properties The private endpoint connection properties.
103
+ * @param options The options parameters.
104
+ */
105
+ beginCreateOrUpdateAndWait(resourceGroupName, accountName, privateEndpointConnectionName, properties, options) {
106
+ return __awaiter(this, void 0, void 0, function* () {
107
+ const poller = yield this.beginCreateOrUpdate(resourceGroupName, accountName, privateEndpointConnectionName, properties, options);
108
+ return poller.pollUntilDone();
109
+ });
110
+ }
111
+ /**
112
+ * Deletes the specified private endpoint connection associated with the Cognitive Services account.
113
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
114
+ * @param accountName The name of Cognitive Services account.
115
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
116
+ * Cognitive Services Account
117
+ * @param options The options parameters.
118
+ */
119
+ beginDelete(resourceGroupName, accountName, privateEndpointConnectionName, options) {
120
+ return __awaiter(this, void 0, void 0, function* () {
121
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
122
+ return this.client.sendOperationRequest(args, spec);
123
+ });
124
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
125
+ var _a;
126
+ let currentRawResponse = undefined;
127
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
128
+ const callback = (rawResponse, flatResponse) => {
129
+ currentRawResponse = rawResponse;
130
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
131
+ };
132
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
133
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
134
+ return {
135
+ flatResponse,
136
+ rawResponse: {
137
+ statusCode: currentRawResponse.status,
138
+ body: currentRawResponse.parsedBody,
139
+ headers: currentRawResponse.headers.toJSON()
140
+ }
141
+ };
142
+ });
143
+ const lro = new LroImpl(sendOperation, {
144
+ resourceGroupName,
145
+ accountName,
146
+ privateEndpointConnectionName,
147
+ options
148
+ }, deleteOperationSpec);
149
+ return new LroEngine(lro, {
150
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
151
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
152
+ });
153
+ });
154
+ }
155
+ /**
156
+ * Deletes the specified private endpoint connection associated with the Cognitive Services account.
157
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
158
+ * @param accountName The name of Cognitive Services account.
159
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
160
+ * Cognitive Services Account
161
+ * @param options The options parameters.
162
+ */
163
+ beginDeleteAndWait(resourceGroupName, accountName, privateEndpointConnectionName, options) {
164
+ return __awaiter(this, void 0, void 0, function* () {
165
+ const poller = yield this.beginDelete(resourceGroupName, accountName, privateEndpointConnectionName, options);
166
+ return poller.pollUntilDone();
167
+ });
168
+ }
169
+ }
170
+ // Operation Specifications
171
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
172
+ const listOperationSpec = {
173
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/privateEndpointConnections",
174
+ httpMethod: "GET",
175
+ responses: {
176
+ 200: {
177
+ bodyMapper: Mappers.PrivateEndpointConnectionListResult
178
+ },
179
+ default: {
180
+ bodyMapper: Mappers.ErrorResponse
181
+ }
182
+ },
183
+ queryParameters: [Parameters.apiVersion],
184
+ urlParameters: [
185
+ Parameters.$host,
186
+ Parameters.resourceGroupName,
187
+ Parameters.accountName,
188
+ Parameters.subscriptionId
189
+ ],
190
+ headerParameters: [Parameters.accept],
191
+ serializer
192
+ };
193
+ const getOperationSpec = {
194
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
195
+ httpMethod: "GET",
196
+ responses: {
197
+ 200: {
198
+ bodyMapper: Mappers.PrivateEndpointConnection
199
+ },
200
+ default: {
201
+ bodyMapper: Mappers.ErrorResponse
202
+ }
203
+ },
204
+ queryParameters: [Parameters.apiVersion],
205
+ urlParameters: [
206
+ Parameters.$host,
207
+ Parameters.resourceGroupName,
208
+ Parameters.accountName,
209
+ Parameters.subscriptionId,
210
+ Parameters.privateEndpointConnectionName
211
+ ],
212
+ headerParameters: [Parameters.accept],
213
+ serializer
214
+ };
215
+ const createOrUpdateOperationSpec = {
216
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
217
+ httpMethod: "PUT",
218
+ responses: {
219
+ 200: {
220
+ bodyMapper: Mappers.PrivateEndpointConnection
221
+ },
222
+ 201: {
223
+ bodyMapper: Mappers.PrivateEndpointConnection
224
+ },
225
+ 202: {
226
+ bodyMapper: Mappers.PrivateEndpointConnection
227
+ },
228
+ 204: {
229
+ bodyMapper: Mappers.PrivateEndpointConnection
230
+ },
231
+ default: {
232
+ bodyMapper: Mappers.ErrorResponse
233
+ }
234
+ },
235
+ requestBody: Parameters.properties,
236
+ queryParameters: [Parameters.apiVersion],
237
+ urlParameters: [
238
+ Parameters.$host,
239
+ Parameters.resourceGroupName,
240
+ Parameters.accountName,
241
+ Parameters.subscriptionId,
242
+ Parameters.privateEndpointConnectionName
243
+ ],
244
+ headerParameters: [Parameters.contentType, Parameters.accept],
245
+ mediaType: "json",
246
+ serializer
247
+ };
248
+ const deleteOperationSpec = {
249
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
250
+ httpMethod: "DELETE",
251
+ responses: {
252
+ 200: {},
253
+ 201: {},
254
+ 202: {},
255
+ 204: {},
256
+ default: {
257
+ bodyMapper: Mappers.ErrorResponse
258
+ }
259
+ },
260
+ queryParameters: [Parameters.apiVersion],
261
+ urlParameters: [
262
+ Parameters.$host,
263
+ Parameters.resourceGroupName,
264
+ Parameters.accountName,
265
+ Parameters.subscriptionId,
266
+ Parameters.privateEndpointConnectionName
267
+ ],
268
+ headerParameters: [Parameters.accept],
269
+ serializer
270
+ };
271
+ //# sourceMappingURL=privateEndpointConnections.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAYrC,8DAA8D;AAC9D,MAAM,OAAO,8BAA8B;IAIzC;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,IAAI,CACF,iBAAyB,EACzB,WAAmB,EACnB,OAAsD;QAEtD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,WAAW,EAAE,OAAO,EAAE,EAC3C,iBAAiB,CAClB,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,GAAG,CACD,iBAAyB,EACzB,WAAmB,EACnB,6BAAqC,EACrC,OAAqD;QAErD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB;YACjB,WAAW;YACX,6BAA6B;YAC7B,OAAO;SACR,EACD,gBAAgB,CACjB,C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EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,6BAA6B;KACzC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EACF,4LAA4L;IAC9L,UAAU,EAAE,QAAQ;IACpB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,6BAA6B;KACzC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { PrivateLinkResources } from "../operationsInterfaces";
2
+ import { CognitiveServicesManagementClient } from "../cognitiveServicesManagementClient";
3
+ import { PrivateLinkResourcesListOptionalParams, PrivateLinkResourcesListResponse } from "../models";
4
+ /** Class containing PrivateLinkResources operations. */
5
+ export declare class PrivateLinkResourcesImpl implements PrivateLinkResources {
6
+ private readonly client;
7
+ /**
8
+ * Initialize a new instance of the class PrivateLinkResources class.
9
+ * @param client Reference to the service client
10
+ */
11
+ constructor(client: CognitiveServicesManagementClient);
12
+ /**
13
+ * Gets the private link resources that need to be created for a Cognitive Services account.
14
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
15
+ * @param accountName The name of Cognitive Services account.
16
+ * @param options The options parameters.
17
+ */
18
+ list(resourceGroupName: string, accountName: string, options?: PrivateLinkResourcesListOptionalParams): Promise<PrivateLinkResourcesListResponse>;
19
+ }
20
+ //# sourceMappingURL=privateLinkResources.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAI/D,OAAO,EAAE,iCAAiC,EAAE,MAAM,sCAAsC,CAAC;AACzF,OAAO,EACL,sCAAsC,EACtC,gCAAgC,EACjC,MAAM,WAAW,CAAC;AAEnB,wDAAwD;AACxD,qBAAa,wBAAyB,YAAW,oBAAoB;IACnE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAE3D;;;OAGG;gBACS,MAAM,EAAE,iCAAiC;IAIrD;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC;CAM7C"}