@azure/arm-kubernetesconfiguration-privatelinkscopes 1.0.0-beta.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 (250) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/LICENSE +21 -0
  3. package/README.md +115 -0
  4. package/dist/browser/index.d.ts +5 -0
  5. package/dist/browser/index.d.ts.map +1 -0
  6. package/dist/browser/index.js +13 -0
  7. package/dist/browser/index.js.map +1 -0
  8. package/dist/browser/lroImpl.d.ts +11 -0
  9. package/dist/browser/lroImpl.d.ts.map +1 -0
  10. package/dist/browser/lroImpl.js +21 -0
  11. package/dist/browser/lroImpl.js.map +1 -0
  12. package/dist/browser/models/index.d.ts +376 -0
  13. package/dist/browser/models/index.d.ts.map +1 -0
  14. package/dist/browser/models/index.js +66 -0
  15. package/dist/browser/models/index.js.map +1 -0
  16. package/dist/browser/models/mappers.d.ts +18 -0
  17. package/dist/browser/models/mappers.d.ts.map +1 -0
  18. package/dist/browser/models/mappers.js +444 -0
  19. package/dist/browser/models/mappers.js.map +1 -0
  20. package/dist/browser/models/parameters.d.ts +15 -0
  21. package/dist/browser/models/parameters.d.ts.map +1 -0
  22. package/dist/browser/models/parameters.js +133 -0
  23. package/dist/browser/models/parameters.js.map +1 -0
  24. package/dist/browser/operations/index.d.ts +4 -0
  25. package/dist/browser/operations/index.d.ts.map +1 -0
  26. package/dist/browser/operations/index.js +11 -0
  27. package/dist/browser/operations/index.js.map +1 -0
  28. package/dist/browser/operations/privateEndpointConnections.d.ts +59 -0
  29. package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -0
  30. package/dist/browser/operations/privateEndpointConnections.js +216 -0
  31. package/dist/browser/operations/privateEndpointConnections.js.map +1 -0
  32. package/dist/browser/operations/privateLinkResources.d.ts +28 -0
  33. package/dist/browser/operations/privateLinkResources.d.ts.map +1 -0
  34. package/dist/browser/operations/privateLinkResources.js +85 -0
  35. package/dist/browser/operations/privateLinkResources.js.map +1 -0
  36. package/dist/browser/operations/privateLinkScopes.d.ts +85 -0
  37. package/dist/browser/operations/privateLinkScopes.d.ts.map +1 -0
  38. package/dist/browser/operations/privateLinkScopes.js +386 -0
  39. package/dist/browser/operations/privateLinkScopes.js.map +1 -0
  40. package/dist/browser/operationsInterfaces/index.d.ts +4 -0
  41. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  42. package/dist/browser/operationsInterfaces/index.js +11 -0
  43. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  44. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts +51 -0
  45. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  46. package/dist/browser/operationsInterfaces/privateEndpointConnections.js +9 -0
  47. package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  48. package/dist/browser/operationsInterfaces/privateLinkResources.d.ts +20 -0
  49. package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  50. package/dist/browser/operationsInterfaces/privateLinkResources.js +9 -0
  51. package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -0
  52. package/dist/browser/operationsInterfaces/privateLinkScopes.d.ts +49 -0
  53. package/dist/browser/operationsInterfaces/privateLinkScopes.d.ts.map +1 -0
  54. package/dist/browser/operationsInterfaces/privateLinkScopes.js +9 -0
  55. package/dist/browser/operationsInterfaces/privateLinkScopes.js.map +1 -0
  56. package/dist/browser/package.json +3 -0
  57. package/dist/browser/pagingHelper.d.ts +13 -0
  58. package/dist/browser/pagingHelper.d.ts.map +1 -0
  59. package/dist/browser/pagingHelper.js +32 -0
  60. package/dist/browser/pagingHelper.js.map +1 -0
  61. package/dist/browser/privateLinkScopesClient.d.ts +22 -0
  62. package/dist/browser/privateLinkScopesClient.d.ts.map +1 -0
  63. package/dist/browser/privateLinkScopesClient.js +99 -0
  64. package/dist/browser/privateLinkScopesClient.js.map +1 -0
  65. package/dist/commonjs/index.d.ts +5 -0
  66. package/dist/commonjs/index.d.ts.map +1 -0
  67. package/dist/commonjs/index.js +19 -0
  68. package/dist/commonjs/index.js.map +1 -0
  69. package/dist/commonjs/lroImpl.d.ts +11 -0
  70. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  71. package/dist/commonjs/lroImpl.js +24 -0
  72. package/dist/commonjs/lroImpl.js.map +1 -0
  73. package/dist/commonjs/models/index.d.ts +376 -0
  74. package/dist/commonjs/models/index.d.ts.map +1 -0
  75. package/dist/commonjs/models/index.js +69 -0
  76. package/dist/commonjs/models/index.js.map +1 -0
  77. package/dist/commonjs/models/mappers.d.ts +18 -0
  78. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  79. package/dist/commonjs/models/mappers.js +447 -0
  80. package/dist/commonjs/models/mappers.js.map +1 -0
  81. package/dist/commonjs/models/parameters.d.ts +15 -0
  82. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  83. package/dist/commonjs/models/parameters.js +136 -0
  84. package/dist/commonjs/models/parameters.js.map +1 -0
  85. package/dist/commonjs/operations/index.d.ts +4 -0
  86. package/dist/commonjs/operations/index.d.ts.map +1 -0
  87. package/dist/commonjs/operations/index.js +14 -0
  88. package/dist/commonjs/operations/index.js.map +1 -0
  89. package/dist/commonjs/operations/privateEndpointConnections.d.ts +59 -0
  90. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -0
  91. package/dist/commonjs/operations/privateEndpointConnections.js +221 -0
  92. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -0
  93. package/dist/commonjs/operations/privateLinkResources.d.ts +28 -0
  94. package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -0
  95. package/dist/commonjs/operations/privateLinkResources.js +90 -0
  96. package/dist/commonjs/operations/privateLinkResources.js.map +1 -0
  97. package/dist/commonjs/operations/privateLinkScopes.d.ts +85 -0
  98. package/dist/commonjs/operations/privateLinkScopes.d.ts.map +1 -0
  99. package/dist/commonjs/operations/privateLinkScopes.js +390 -0
  100. package/dist/commonjs/operations/privateLinkScopes.js.map +1 -0
  101. package/dist/commonjs/operationsInterfaces/index.d.ts +4 -0
  102. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  103. package/dist/commonjs/operationsInterfaces/index.js +14 -0
  104. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  105. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +51 -0
  106. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  107. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +10 -0
  108. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  109. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +20 -0
  110. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  111. package/dist/commonjs/operationsInterfaces/privateLinkResources.js +10 -0
  112. package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -0
  113. package/dist/commonjs/operationsInterfaces/privateLinkScopes.d.ts +49 -0
  114. package/dist/commonjs/operationsInterfaces/privateLinkScopes.d.ts.map +1 -0
  115. package/dist/commonjs/operationsInterfaces/privateLinkScopes.js +10 -0
  116. package/dist/commonjs/operationsInterfaces/privateLinkScopes.js.map +1 -0
  117. package/dist/commonjs/package.json +3 -0
  118. package/dist/commonjs/pagingHelper.d.ts +13 -0
  119. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  120. package/dist/commonjs/pagingHelper.js +36 -0
  121. package/dist/commonjs/pagingHelper.js.map +1 -0
  122. package/dist/commonjs/privateLinkScopesClient.d.ts +22 -0
  123. package/dist/commonjs/privateLinkScopesClient.d.ts.map +1 -0
  124. package/dist/commonjs/privateLinkScopesClient.js +104 -0
  125. package/dist/commonjs/privateLinkScopesClient.js.map +1 -0
  126. package/dist/commonjs/tsdoc-metadata.json +11 -0
  127. package/dist/esm/index.d.ts +5 -0
  128. package/dist/esm/index.d.ts.map +1 -0
  129. package/dist/esm/index.js +13 -0
  130. package/dist/esm/index.js.map +1 -0
  131. package/dist/esm/lroImpl.d.ts +11 -0
  132. package/dist/esm/lroImpl.d.ts.map +1 -0
  133. package/dist/esm/lroImpl.js +21 -0
  134. package/dist/esm/lroImpl.js.map +1 -0
  135. package/dist/esm/models/index.d.ts +376 -0
  136. package/dist/esm/models/index.d.ts.map +1 -0
  137. package/dist/esm/models/index.js +66 -0
  138. package/dist/esm/models/index.js.map +1 -0
  139. package/dist/esm/models/mappers.d.ts +18 -0
  140. package/dist/esm/models/mappers.d.ts.map +1 -0
  141. package/dist/esm/models/mappers.js +444 -0
  142. package/dist/esm/models/mappers.js.map +1 -0
  143. package/dist/esm/models/parameters.d.ts +15 -0
  144. package/dist/esm/models/parameters.d.ts.map +1 -0
  145. package/dist/esm/models/parameters.js +133 -0
  146. package/dist/esm/models/parameters.js.map +1 -0
  147. package/dist/esm/operations/index.d.ts +4 -0
  148. package/dist/esm/operations/index.d.ts.map +1 -0
  149. package/dist/esm/operations/index.js +11 -0
  150. package/dist/esm/operations/index.js.map +1 -0
  151. package/dist/esm/operations/privateEndpointConnections.d.ts +59 -0
  152. package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -0
  153. package/dist/esm/operations/privateEndpointConnections.js +216 -0
  154. package/dist/esm/operations/privateEndpointConnections.js.map +1 -0
  155. package/dist/esm/operations/privateLinkResources.d.ts +28 -0
  156. package/dist/esm/operations/privateLinkResources.d.ts.map +1 -0
  157. package/dist/esm/operations/privateLinkResources.js +85 -0
  158. package/dist/esm/operations/privateLinkResources.js.map +1 -0
  159. package/dist/esm/operations/privateLinkScopes.d.ts +85 -0
  160. package/dist/esm/operations/privateLinkScopes.d.ts.map +1 -0
  161. package/dist/esm/operations/privateLinkScopes.js +386 -0
  162. package/dist/esm/operations/privateLinkScopes.js.map +1 -0
  163. package/dist/esm/operationsInterfaces/index.d.ts +4 -0
  164. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  165. package/dist/esm/operationsInterfaces/index.js +11 -0
  166. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  167. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +51 -0
  168. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  169. package/dist/esm/operationsInterfaces/privateEndpointConnections.js +9 -0
  170. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  171. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +20 -0
  172. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  173. package/dist/esm/operationsInterfaces/privateLinkResources.js +9 -0
  174. package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -0
  175. package/dist/esm/operationsInterfaces/privateLinkScopes.d.ts +49 -0
  176. package/dist/esm/operationsInterfaces/privateLinkScopes.d.ts.map +1 -0
  177. package/dist/esm/operationsInterfaces/privateLinkScopes.js +9 -0
  178. package/dist/esm/operationsInterfaces/privateLinkScopes.js.map +1 -0
  179. package/dist/esm/package.json +3 -0
  180. package/dist/esm/pagingHelper.d.ts +13 -0
  181. package/dist/esm/pagingHelper.d.ts.map +1 -0
  182. package/dist/esm/pagingHelper.js +32 -0
  183. package/dist/esm/pagingHelper.js.map +1 -0
  184. package/dist/esm/privateLinkScopesClient.d.ts +22 -0
  185. package/dist/esm/privateLinkScopesClient.d.ts.map +1 -0
  186. package/dist/esm/privateLinkScopesClient.js +99 -0
  187. package/dist/esm/privateLinkScopesClient.js.map +1 -0
  188. package/dist/react-native/index.d.ts +5 -0
  189. package/dist/react-native/index.d.ts.map +1 -0
  190. package/dist/react-native/index.js +13 -0
  191. package/dist/react-native/index.js.map +1 -0
  192. package/dist/react-native/lroImpl.d.ts +11 -0
  193. package/dist/react-native/lroImpl.d.ts.map +1 -0
  194. package/dist/react-native/lroImpl.js +21 -0
  195. package/dist/react-native/lroImpl.js.map +1 -0
  196. package/dist/react-native/models/index.d.ts +376 -0
  197. package/dist/react-native/models/index.d.ts.map +1 -0
  198. package/dist/react-native/models/index.js +66 -0
  199. package/dist/react-native/models/index.js.map +1 -0
  200. package/dist/react-native/models/mappers.d.ts +18 -0
  201. package/dist/react-native/models/mappers.d.ts.map +1 -0
  202. package/dist/react-native/models/mappers.js +444 -0
  203. package/dist/react-native/models/mappers.js.map +1 -0
  204. package/dist/react-native/models/parameters.d.ts +15 -0
  205. package/dist/react-native/models/parameters.d.ts.map +1 -0
  206. package/dist/react-native/models/parameters.js +133 -0
  207. package/dist/react-native/models/parameters.js.map +1 -0
  208. package/dist/react-native/operations/index.d.ts +4 -0
  209. package/dist/react-native/operations/index.d.ts.map +1 -0
  210. package/dist/react-native/operations/index.js +11 -0
  211. package/dist/react-native/operations/index.js.map +1 -0
  212. package/dist/react-native/operations/privateEndpointConnections.d.ts +59 -0
  213. package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -0
  214. package/dist/react-native/operations/privateEndpointConnections.js +216 -0
  215. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -0
  216. package/dist/react-native/operations/privateLinkResources.d.ts +28 -0
  217. package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -0
  218. package/dist/react-native/operations/privateLinkResources.js +85 -0
  219. package/dist/react-native/operations/privateLinkResources.js.map +1 -0
  220. package/dist/react-native/operations/privateLinkScopes.d.ts +85 -0
  221. package/dist/react-native/operations/privateLinkScopes.d.ts.map +1 -0
  222. package/dist/react-native/operations/privateLinkScopes.js +386 -0
  223. package/dist/react-native/operations/privateLinkScopes.js.map +1 -0
  224. package/dist/react-native/operationsInterfaces/index.d.ts +4 -0
  225. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  226. package/dist/react-native/operationsInterfaces/index.js +11 -0
  227. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  228. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +51 -0
  229. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  230. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +9 -0
  231. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  232. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +20 -0
  233. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  234. package/dist/react-native/operationsInterfaces/privateLinkResources.js +9 -0
  235. package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -0
  236. package/dist/react-native/operationsInterfaces/privateLinkScopes.d.ts +49 -0
  237. package/dist/react-native/operationsInterfaces/privateLinkScopes.d.ts.map +1 -0
  238. package/dist/react-native/operationsInterfaces/privateLinkScopes.js +9 -0
  239. package/dist/react-native/operationsInterfaces/privateLinkScopes.js.map +1 -0
  240. package/dist/react-native/package.json +3 -0
  241. package/dist/react-native/pagingHelper.d.ts +13 -0
  242. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  243. package/dist/react-native/pagingHelper.js +32 -0
  244. package/dist/react-native/pagingHelper.js.map +1 -0
  245. package/dist/react-native/privateLinkScopesClient.d.ts +22 -0
  246. package/dist/react-native/privateLinkScopesClient.d.ts.map +1 -0
  247. package/dist/react-native/privateLinkScopesClient.js +99 -0
  248. package/dist/react-native/privateLinkScopesClient.js.map +1 -0
  249. package/package.json +133 -0
  250. package/review/arm-kubernetesconfiguration-privatelinkscopes.api.md +324 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,iEAAuC;AACvC,oEAA0C;AAC1C,0EAAgD","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./privateLinkScopes.js\";\nexport * from \"./privateLinkResources.js\";\nexport * from \"./privateEndpointConnections.js\";\n"]}
@@ -0,0 +1,59 @@
1
+ import { PrivateEndpointConnections } from "../operationsInterfaces/index.js";
2
+ import { PrivateLinkScopesClient } from "../privateLinkScopesClient.js";
3
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
4
+ import { PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnection, PrivateEndpointConnectionsCreateOrUpdateOptionalParams, PrivateEndpointConnectionsCreateOrUpdateResponse, PrivateEndpointConnectionsDeleteOptionalParams, PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams, PrivateEndpointConnectionsListByPrivateLinkScopeResponse } from "../models/index.js";
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: PrivateLinkScopesClient);
13
+ /**
14
+ * Gets a private endpoint connection.
15
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
16
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
17
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
18
+ * Azure resource
19
+ * @param options The options parameters.
20
+ */
21
+ get(resourceGroupName: string, scopeName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
22
+ /**
23
+ * Approve or reject a private endpoint connection with a given name.
24
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
25
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
26
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
27
+ * Azure resource
28
+ * @param properties The private endpoint connection properties.
29
+ * @param options The options parameters.
30
+ */
31
+ beginCreateOrUpdate(resourceGroupName: string, scopeName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>, PrivateEndpointConnectionsCreateOrUpdateResponse>>;
32
+ /**
33
+ * Approve or reject a private endpoint connection with a given name.
34
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
35
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
36
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
37
+ * Azure resource
38
+ * @param properties The private endpoint connection properties.
39
+ * @param options The options parameters.
40
+ */
41
+ beginCreateOrUpdateAndWait(resourceGroupName: string, scopeName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;
42
+ /**
43
+ * Deletes a private endpoint connection with a given name.
44
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
45
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
46
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
47
+ * Azure resource
48
+ * @param options The options parameters.
49
+ */
50
+ delete(resourceGroupName: string, scopeName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
51
+ /**
52
+ * Gets all private endpoint connections on a private link scope.
53
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
54
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
55
+ * @param options The options parameters.
56
+ */
57
+ listByPrivateLinkScope(resourceGroupName: string, scopeName: string, options?: PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams): Promise<PrivateEndpointConnectionsListByPrivateLinkScopeResponse>;
58
+ }
59
+ //# 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,kCAAkC,CAAC;AAI9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,E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MrE"}
@@ -0,0 +1,221 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.PrivateEndpointConnectionsImpl = void 0;
11
+ const tslib_1 = require("tslib");
12
+ const coreClient = tslib_1.__importStar(require("@azure/core-client"));
13
+ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
14
+ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
15
+ const core_lro_1 = require("@azure/core-lro");
16
+ const lroImpl_js_1 = require("../lroImpl.js");
17
+ /** Class containing PrivateEndpointConnections operations. */
18
+ class PrivateEndpointConnectionsImpl {
19
+ /**
20
+ * Initialize a new instance of the class PrivateEndpointConnections class.
21
+ * @param client Reference to the service client
22
+ */
23
+ constructor(client) {
24
+ this.client = client;
25
+ }
26
+ /**
27
+ * Gets a private endpoint connection.
28
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
29
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
30
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
31
+ * Azure resource
32
+ * @param options The options parameters.
33
+ */
34
+ get(resourceGroupName, scopeName, privateEndpointConnectionName, options) {
35
+ return this.client.sendOperationRequest({ resourceGroupName, scopeName, privateEndpointConnectionName, options }, getOperationSpec);
36
+ }
37
+ /**
38
+ * Approve or reject a private endpoint connection with a given name.
39
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
40
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
41
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
42
+ * Azure resource
43
+ * @param properties The private endpoint connection properties.
44
+ * @param options The options parameters.
45
+ */
46
+ async beginCreateOrUpdate(resourceGroupName, scopeName, privateEndpointConnectionName, properties, options) {
47
+ const directSendOperation = async (args, spec) => {
48
+ return this.client.sendOperationRequest(args, spec);
49
+ };
50
+ const sendOperationFn = async (args, spec) => {
51
+ var _a;
52
+ let currentRawResponse = undefined;
53
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
54
+ const callback = (rawResponse, flatResponse) => {
55
+ currentRawResponse = rawResponse;
56
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
57
+ };
58
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
59
+ const flatResponse = await directSendOperation(updatedArgs, spec);
60
+ return {
61
+ flatResponse,
62
+ rawResponse: {
63
+ statusCode: currentRawResponse.status,
64
+ body: currentRawResponse.parsedBody,
65
+ headers: currentRawResponse.headers.toJSON(),
66
+ },
67
+ };
68
+ };
69
+ const lro = (0, lroImpl_js_1.createLroSpec)({
70
+ sendOperationFn,
71
+ args: {
72
+ resourceGroupName,
73
+ scopeName,
74
+ privateEndpointConnectionName,
75
+ properties,
76
+ options,
77
+ },
78
+ spec: createOrUpdateOperationSpec,
79
+ });
80
+ const poller = await (0, core_lro_1.createHttpPoller)(lro, {
81
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
82
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
83
+ });
84
+ await poller.poll();
85
+ return poller;
86
+ }
87
+ /**
88
+ * Approve or reject a private endpoint connection with a given name.
89
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
90
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
91
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
92
+ * Azure resource
93
+ * @param properties The private endpoint connection properties.
94
+ * @param options The options parameters.
95
+ */
96
+ async beginCreateOrUpdateAndWait(resourceGroupName, scopeName, privateEndpointConnectionName, properties, options) {
97
+ const poller = await this.beginCreateOrUpdate(resourceGroupName, scopeName, privateEndpointConnectionName, properties, options);
98
+ return poller.pollUntilDone();
99
+ }
100
+ /**
101
+ * Deletes a private endpoint connection with a given name.
102
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
103
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
104
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
105
+ * Azure resource
106
+ * @param options The options parameters.
107
+ */
108
+ delete(resourceGroupName, scopeName, privateEndpointConnectionName, options) {
109
+ return this.client.sendOperationRequest({ resourceGroupName, scopeName, privateEndpointConnectionName, options }, deleteOperationSpec);
110
+ }
111
+ /**
112
+ * Gets all private endpoint connections on a private link scope.
113
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
114
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
115
+ * @param options The options parameters.
116
+ */
117
+ listByPrivateLinkScope(resourceGroupName, scopeName, options) {
118
+ return this.client.sendOperationRequest({ resourceGroupName, scopeName, options }, listByPrivateLinkScopeOperationSpec);
119
+ }
120
+ }
121
+ exports.PrivateEndpointConnectionsImpl = PrivateEndpointConnectionsImpl;
122
+ // Operation Specifications
123
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
124
+ const getOperationSpec = {
125
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KubernetesConfiguration/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}",
126
+ httpMethod: "GET",
127
+ responses: {
128
+ 200: {
129
+ bodyMapper: Mappers.PrivateEndpointConnection,
130
+ },
131
+ default: {
132
+ bodyMapper: Mappers.ErrorResponse,
133
+ },
134
+ },
135
+ queryParameters: [Parameters.apiVersion],
136
+ urlParameters: [
137
+ Parameters.$host,
138
+ Parameters.subscriptionId,
139
+ Parameters.resourceGroupName,
140
+ Parameters.scopeName,
141
+ Parameters.privateEndpointConnectionName,
142
+ ],
143
+ headerParameters: [Parameters.accept],
144
+ serializer,
145
+ };
146
+ const createOrUpdateOperationSpec = {
147
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KubernetesConfiguration/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}",
148
+ httpMethod: "PUT",
149
+ responses: {
150
+ 200: {
151
+ bodyMapper: Mappers.PrivateEndpointConnection,
152
+ },
153
+ 201: {
154
+ bodyMapper: Mappers.PrivateEndpointConnection,
155
+ },
156
+ 202: {
157
+ bodyMapper: Mappers.PrivateEndpointConnection,
158
+ },
159
+ 204: {
160
+ bodyMapper: Mappers.PrivateEndpointConnection,
161
+ },
162
+ default: {
163
+ bodyMapper: Mappers.ErrorResponse,
164
+ },
165
+ },
166
+ requestBody: Parameters.properties,
167
+ queryParameters: [Parameters.apiVersion],
168
+ urlParameters: [
169
+ Parameters.$host,
170
+ Parameters.subscriptionId,
171
+ Parameters.resourceGroupName,
172
+ Parameters.scopeName,
173
+ Parameters.privateEndpointConnectionName,
174
+ ],
175
+ headerParameters: [Parameters.accept, Parameters.contentType],
176
+ mediaType: "json",
177
+ serializer,
178
+ };
179
+ const deleteOperationSpec = {
180
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KubernetesConfiguration/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}",
181
+ httpMethod: "DELETE",
182
+ responses: {
183
+ 200: {},
184
+ 204: {},
185
+ default: {
186
+ bodyMapper: Mappers.ErrorResponse,
187
+ },
188
+ },
189
+ queryParameters: [Parameters.apiVersion],
190
+ urlParameters: [
191
+ Parameters.$host,
192
+ Parameters.subscriptionId,
193
+ Parameters.resourceGroupName,
194
+ Parameters.scopeName,
195
+ Parameters.privateEndpointConnectionName,
196
+ ],
197
+ headerParameters: [Parameters.accept],
198
+ serializer,
199
+ };
200
+ const listByPrivateLinkScopeOperationSpec = {
201
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KubernetesConfiguration/privateLinkScopes/{scopeName}/privateEndpointConnections",
202
+ httpMethod: "GET",
203
+ responses: {
204
+ 200: {
205
+ bodyMapper: Mappers.PrivateEndpointConnectionListResult,
206
+ },
207
+ default: {
208
+ bodyMapper: Mappers.ErrorResponse,
209
+ },
210
+ },
211
+ queryParameters: [Parameters.apiVersion],
212
+ urlParameters: [
213
+ Parameters.$host,
214
+ Parameters.subscriptionId,
215
+ Parameters.resourceGroupName,
216
+ Parameters.scopeName,
217
+ ],
218
+ headerParameters: [Parameters.accept],
219
+ serializer,
220
+ };
221
+ //# sourceMappingURL=privateEndpointConnections.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAY9C,8DAA8D;AAC9D,MAAa,8BAA8B;IAKzC;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACH,GAAG,CACD,iBAAyB,EACzB,SAAiB,EACjB,6BAAqC,EACrC,OAAqD;QAErD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,SAAS,EAAE,6BAA6B,EAAE,OAAO,EAAE,EACxE,gBAAgB,CACjB,CAAC;IACJ,CAAC;IAED;;;;;;;;OAQG;IACH,KAAK,CAAC,mBAAmB,CACvB,iBAAyB,EACzB,SAAiB,EACjB,6BAAqC,EACrC,UAAqC,EACrC,OAAgE;QAOhE,MAAM,mBAAmB,GAAG,KAAK,EAC/B,IAAmC,EACnC,IAA8B,EAC6B,EAAE;YAC7D,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QACtD,CAAC,CAAC;QACF,MAAM,eAAe,GAAG,KAAK,EAC3B,IAAmC,EACnC,IAA8B,EAC9B,EAAE;;YAC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AAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,yKAAyK;IAC/K,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mCAAmC;SACxD;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,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,SAAS;KACrB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PrivateEndpointConnections } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { PrivateLinkScopesClient } from \"../privateLinkScopesClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsGetResponse,\n PrivateEndpointConnection,\n PrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n PrivateEndpointConnectionsCreateOrUpdateResponse,\n PrivateEndpointConnectionsDeleteOptionalParams,\n PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams,\n PrivateEndpointConnectionsListByPrivateLinkScopeResponse,\n} from \"../models/index.js\";\n\n/** Class containing PrivateEndpointConnections operations. */\nexport class PrivateEndpointConnectionsImpl\n implements PrivateEndpointConnections\n{\n private readonly client: PrivateLinkScopesClient;\n\n /**\n * Initialize a new instance of the class PrivateEndpointConnections class.\n * @param client Reference to the service client\n */\n constructor(client: PrivateLinkScopesClient) {\n this.client = client;\n }\n\n /**\n * Gets a private endpoint connection.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param scopeName The name of the Azure Arc PrivateLinkScope resource.\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n scopeName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsGetOptionalParams,\n ): Promise<PrivateEndpointConnectionsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, scopeName, privateEndpointConnectionName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Approve or reject a private endpoint connection with a given name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param scopeName The name of the Azure Arc PrivateLinkScope resource.\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param properties The private endpoint connection properties.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n scopeName: string,\n privateEndpointConnectionName: string,\n properties: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>,\n PrivateEndpointConnectionsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n scopeName,\n privateEndpointConnectionName,\n properties,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n PrivateEndpointConnectionsCreateOrUpdateResponse,\n OperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Approve or reject a private endpoint connection with a given name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param scopeName The name of the Azure Arc PrivateLinkScope resource.\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param properties The private endpoint connection properties.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n scopeName: string,\n privateEndpointConnectionName: string,\n properties: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n ): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n scopeName,\n privateEndpointConnectionName,\n properties,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes a private endpoint connection with a given name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param scopeName The name of the Azure Arc PrivateLinkScope resource.\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n scopeName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, scopeName, privateEndpointConnectionName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * Gets all private endpoint connections on a private link scope.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param scopeName The name of the Azure Arc PrivateLinkScope resource.\n * @param options The options parameters.\n */\n listByPrivateLinkScope(\n resourceGroupName: string,\n scopeName: string,\n options?: PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams,\n ): Promise<PrivateEndpointConnectionsListByPrivateLinkScopeResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, scopeName, options },\n listByPrivateLinkScopeOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KubernetesConfiguration/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.scopeName,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KubernetesConfiguration/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 201: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 202: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 204: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.properties,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.scopeName,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KubernetesConfiguration/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.scopeName,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByPrivateLinkScopeOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KubernetesConfiguration/privateLinkScopes/{scopeName}/privateEndpointConnections\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.scopeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -0,0 +1,28 @@
1
+ import { PrivateLinkResources } from "../operationsInterfaces/index.js";
2
+ import { PrivateLinkScopesClient } from "../privateLinkScopesClient.js";
3
+ import { PrivateLinkResourcesListByPrivateLinkScopeOptionalParams, PrivateLinkResourcesListByPrivateLinkScopeResponse, PrivateLinkResourcesGetOptionalParams, PrivateLinkResourcesGetResponse } from "../models/index.js";
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: PrivateLinkScopesClient);
12
+ /**
13
+ * Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.
14
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
15
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
16
+ * @param options The options parameters.
17
+ */
18
+ listByPrivateLinkScope(resourceGroupName: string, scopeName: string, options?: PrivateLinkResourcesListByPrivateLinkScopeOptionalParams): Promise<PrivateLinkResourcesListByPrivateLinkScopeResponse>;
19
+ /**
20
+ * Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.
21
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
22
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
23
+ * @param groupName The name of the private link resource.
24
+ * @param options The options parameters.
25
+ */
26
+ get(resourceGroupName: string, scopeName: string, groupName: string, options?: PrivateLinkResourcesGetOptionalParams): Promise<PrivateLinkResourcesGetResponse>;
27
+ }
28
+ //# 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,kCAAkC,CAAC;AAIxE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EACL,wDAAwD,EACxD,kDAAkD,EAClD,qCAAqC,EACrC,+BAA+B,EAChC,MAAM,oBAAoB,CAAC;AAE5B,wDAAwD;AACxD,qBAAa,wBAAyB,YAAW,oBAAoB;IACnE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;;;OAKG;IACH,sBAAsB,CACpB,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,wDAAwD,GACjE,OAAO,CAAC,kDAAkD,CAAC;IAO9D;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC;CAM5C"}
@@ -0,0 +1,90 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.PrivateLinkResourcesImpl = void 0;
11
+ const tslib_1 = require("tslib");
12
+ const coreClient = tslib_1.__importStar(require("@azure/core-client"));
13
+ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
14
+ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
15
+ /** Class containing PrivateLinkResources operations. */
16
+ class PrivateLinkResourcesImpl {
17
+ /**
18
+ * Initialize a new instance of the class PrivateLinkResources class.
19
+ * @param client Reference to the service client
20
+ */
21
+ constructor(client) {
22
+ this.client = client;
23
+ }
24
+ /**
25
+ * Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.
26
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
27
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
28
+ * @param options The options parameters.
29
+ */
30
+ listByPrivateLinkScope(resourceGroupName, scopeName, options) {
31
+ return this.client.sendOperationRequest({ resourceGroupName, scopeName, options }, listByPrivateLinkScopeOperationSpec);
32
+ }
33
+ /**
34
+ * Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.
35
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
36
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
37
+ * @param groupName The name of the private link resource.
38
+ * @param options The options parameters.
39
+ */
40
+ get(resourceGroupName, scopeName, groupName, options) {
41
+ return this.client.sendOperationRequest({ resourceGroupName, scopeName, groupName, options }, getOperationSpec);
42
+ }
43
+ }
44
+ exports.PrivateLinkResourcesImpl = PrivateLinkResourcesImpl;
45
+ // Operation Specifications
46
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
47
+ const listByPrivateLinkScopeOperationSpec = {
48
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KubernetesConfiguration/privateLinkScopes/{scopeName}/privateLinkResources",
49
+ httpMethod: "GET",
50
+ responses: {
51
+ 200: {
52
+ bodyMapper: Mappers.PrivateLinkResourceListResult,
53
+ },
54
+ default: {
55
+ bodyMapper: Mappers.ErrorResponse,
56
+ },
57
+ },
58
+ queryParameters: [Parameters.apiVersion],
59
+ urlParameters: [
60
+ Parameters.$host,
61
+ Parameters.subscriptionId,
62
+ Parameters.resourceGroupName,
63
+ Parameters.scopeName,
64
+ ],
65
+ headerParameters: [Parameters.accept],
66
+ serializer,
67
+ };
68
+ const getOperationSpec = {
69
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KubernetesConfiguration/privateLinkScopes/{scopeName}/privateLinkResources/{groupName}",
70
+ httpMethod: "GET",
71
+ responses: {
72
+ 200: {
73
+ bodyMapper: Mappers.PrivateLinkResource,
74
+ },
75
+ default: {
76
+ bodyMapper: Mappers.ErrorResponse,
77
+ },
78
+ },
79
+ queryParameters: [Parameters.apiVersion],
80
+ urlParameters: [
81
+ Parameters.$host,
82
+ Parameters.subscriptionId,
83
+ Parameters.resourceGroupName,
84
+ Parameters.scopeName,
85
+ Parameters.groupName,
86
+ ],
87
+ headerParameters: [Parameters.accept],
88
+ serializer,
89
+ };
90
+ //# sourceMappingURL=privateLinkResources.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateLinkResources.js","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAStD,wDAAwD;AACxD,MAAa,wBAAwB;IAGnC;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,sBAAsB,CACpB,iBAAyB,EACzB,SAAiB,EACjB,OAAkE;QAElE,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,SAAS,EAAE,OAAO,EAAE,EACzC,mCAAmC,CACpC,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,GAAG,CACD,iBAAyB,EACzB,SAAiB,EACjB,SAAiB,EACjB,OAA+C;QAE/C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,EACpD,gBAAgB,CACjB,CAAC;IACJ,CAAC;CACF;AA9CD,4DA8CC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,mKAAmK;IACzK,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;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,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,SAAS;KACrB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EAAE,+KAA+K;IACrL,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;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,SAAS;KACrB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PrivateLinkResources } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { PrivateLinkScopesClient } from \"../privateLinkScopesClient.js\";\nimport {\n PrivateLinkResourcesListByPrivateLinkScopeOptionalParams,\n PrivateLinkResourcesListByPrivateLinkScopeResponse,\n PrivateLinkResourcesGetOptionalParams,\n PrivateLinkResourcesGetResponse,\n} from \"../models/index.js\";\n\n/** Class containing PrivateLinkResources operations. */\nexport class PrivateLinkResourcesImpl implements PrivateLinkResources {\n private readonly client: PrivateLinkScopesClient;\n\n /**\n * Initialize a new instance of the class PrivateLinkResources class.\n * @param client Reference to the service client\n */\n constructor(client: PrivateLinkScopesClient) {\n this.client = client;\n }\n\n /**\n * Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param scopeName The name of the Azure Arc PrivateLinkScope resource.\n * @param options The options parameters.\n */\n listByPrivateLinkScope(\n resourceGroupName: string,\n scopeName: string,\n options?: PrivateLinkResourcesListByPrivateLinkScopeOptionalParams,\n ): Promise<PrivateLinkResourcesListByPrivateLinkScopeResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, scopeName, options },\n listByPrivateLinkScopeOperationSpec,\n );\n }\n\n /**\n * Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param scopeName The name of the Azure Arc PrivateLinkScope resource.\n * @param groupName The name of the private link resource.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n scopeName: string,\n groupName: string,\n options?: PrivateLinkResourcesGetOptionalParams,\n ): Promise<PrivateLinkResourcesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, scopeName, groupName, options },\n getOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByPrivateLinkScopeOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KubernetesConfiguration/privateLinkScopes/{scopeName}/privateLinkResources\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateLinkResourceListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.scopeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KubernetesConfiguration/privateLinkScopes/{scopeName}/privateLinkResources/{groupName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateLinkResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.scopeName,\n Parameters.groupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -0,0 +1,85 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { PrivateLinkScopes } from "../operationsInterfaces/index.js";
3
+ import { PrivateLinkScopesClient } from "../privateLinkScopesClient.js";
4
+ import { KubernetesConfigurationPrivateLinkScope, PrivateLinkScopesListOptionalParams, PrivateLinkScopesListByResourceGroupOptionalParams, PrivateLinkScopesDeleteOptionalParams, PrivateLinkScopesGetOptionalParams, PrivateLinkScopesGetResponse, PrivateLinkScopesCreateOrUpdateOptionalParams, PrivateLinkScopesCreateOrUpdateResponse, TagsResource, PrivateLinkScopesUpdateTagsOptionalParams, PrivateLinkScopesUpdateTagsResponse } from "../models/index.js";
5
+ /** Class containing PrivateLinkScopes operations. */
6
+ export declare class PrivateLinkScopesImpl implements PrivateLinkScopes {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class PrivateLinkScopes class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: PrivateLinkScopesClient);
13
+ /**
14
+ * Gets a list of all Azure Arc PrivateLinkScopes within a subscription.
15
+ * @param options The options parameters.
16
+ */
17
+ list(options?: PrivateLinkScopesListOptionalParams): PagedAsyncIterableIterator<KubernetesConfigurationPrivateLinkScope>;
18
+ private listPagingPage;
19
+ private listPagingAll;
20
+ /**
21
+ * Gets a list of Azure Arc PrivateLinkScopes within a resource group.
22
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
23
+ * @param options The options parameters.
24
+ */
25
+ listByResourceGroup(resourceGroupName: string, options?: PrivateLinkScopesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<KubernetesConfigurationPrivateLinkScope>;
26
+ private listByResourceGroupPagingPage;
27
+ private listByResourceGroupPagingAll;
28
+ /**
29
+ * Gets a list of all Azure Arc PrivateLinkScopes within a subscription.
30
+ * @param options The options parameters.
31
+ */
32
+ private _list;
33
+ /**
34
+ * Gets a list of Azure Arc PrivateLinkScopes within a resource group.
35
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
36
+ * @param options The options parameters.
37
+ */
38
+ private _listByResourceGroup;
39
+ /**
40
+ * Deletes a Azure Arc PrivateLinkScope.
41
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
42
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
43
+ * @param options The options parameters.
44
+ */
45
+ delete(resourceGroupName: string, scopeName: string, options?: PrivateLinkScopesDeleteOptionalParams): Promise<void>;
46
+ /**
47
+ * Returns a Azure Arc PrivateLinkScope.
48
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
49
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
50
+ * @param options The options parameters.
51
+ */
52
+ get(resourceGroupName: string, scopeName: string, options?: PrivateLinkScopesGetOptionalParams): Promise<PrivateLinkScopesGetResponse>;
53
+ /**
54
+ * Creates (or updates) a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for
55
+ * InstrumentationKey nor AppId in the Put operation.
56
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
57
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
58
+ * @param parameters Properties that need to be specified to create or update a Azure Arc for Servers
59
+ * and Clusters PrivateLinkScope.
60
+ * @param options The options parameters.
61
+ */
62
+ createOrUpdate(resourceGroupName: string, scopeName: string, parameters: KubernetesConfigurationPrivateLinkScope, options?: PrivateLinkScopesCreateOrUpdateOptionalParams): Promise<PrivateLinkScopesCreateOrUpdateResponse>;
63
+ /**
64
+ * Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.
65
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
66
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
67
+ * @param privateLinkScopeTags Updated tag information to set into the PrivateLinkScope instance.
68
+ * @param options The options parameters.
69
+ */
70
+ updateTags(resourceGroupName: string, scopeName: string, privateLinkScopeTags: TagsResource, options?: PrivateLinkScopesUpdateTagsOptionalParams): Promise<PrivateLinkScopesUpdateTagsResponse>;
71
+ /**
72
+ * ListNext
73
+ * @param nextLink The nextLink from the previous successful call to the List method.
74
+ * @param options The options parameters.
75
+ */
76
+ private _listNext;
77
+ /**
78
+ * ListByResourceGroupNext
79
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
80
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
81
+ * @param options The options parameters.
82
+ */
83
+ private _listByResourceGroupNext;
84
+ }
85
+ //# sourceMappingURL=privateLinkScopes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateLinkScopes.d.ts","sourceRoot":"","sources":["../../../src/operations/privateLinkScopes.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAIrE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EACL,uCAAuC,EAEvC,mCAAmC,EAGnC,kDAAkD,EAElD,qCAAqC,EACrC,kCAAkC,EAClC,4BAA4B,EAC5B,6CAA6C,EAC7C,uCAAuC,EACvC,YAAY,EACZ,yCAAyC,EACzC,mCAAmC,EAGpC,MAAM,oBAAoB,CAAC;AAG5B,qDAAqD;AACrD,qBAAa,qBAAsB,YAAW,iBAAiB;IAC7D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,mCAAmC,GAC5C,0BAA0B,C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