@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,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,EACL,2CAA2C,EAC3C,qCAAqC,EACrC,yBAAyB,EACzB,sDAAsD,EACtD,gDAAgD,EAChD,8CAA8C,EAC9C,8DAA8D,EAC9D,wDAAwD,EACzD,MAAM,oBAAoB,CAAC;AAE5B,8DAA8D;AAC9D,qBAAa,8BACX,YAAW,0BAA0B;IAErC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC;IAOjD;;;;;;;;OAQG;IACG,mBAAmB,CACvB,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,6BAA6B,EAAE,MAAM,EACrC,UAAU,EAAE,yBAAyB,EACrC,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,gDAAgD,CAAC,EAChE,gDAAgD,CACjD,CACF;IA6DD;;;;;;;;OAQG;IACG,0BAA0B,CAC9B,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,6BAA6B,EAAE,MAAM,EACrC,UAAU,EAAE,yBAAyB,EACrC,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CAAC,gDAAgD,CAAC;IAW5D;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;OAKG;IACH,sBAAsB,CACpB,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,8DAA8D,GACvE,OAAO,CAAC,wDAAwD,CAAC;CAMrE"}
@@ -0,0 +1,216 @@
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 * as coreClient from "@azure/core-client";
9
+ import * as Mappers from "../models/mappers.js";
10
+ import * as Parameters from "../models/parameters.js";
11
+ import { createHttpPoller, } from "@azure/core-lro";
12
+ import { createLroSpec } from "../lroImpl.js";
13
+ /** Class containing PrivateEndpointConnections operations. */
14
+ export class PrivateEndpointConnectionsImpl {
15
+ /**
16
+ * Initialize a new instance of the class PrivateEndpointConnections class.
17
+ * @param client Reference to the service client
18
+ */
19
+ constructor(client) {
20
+ this.client = client;
21
+ }
22
+ /**
23
+ * Gets a private endpoint connection.
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 options The options parameters.
29
+ */
30
+ get(resourceGroupName, scopeName, privateEndpointConnectionName, options) {
31
+ return this.client.sendOperationRequest({ resourceGroupName, scopeName, privateEndpointConnectionName, options }, getOperationSpec);
32
+ }
33
+ /**
34
+ * Approve or reject a private endpoint connection with a given name.
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 privateEndpointConnectionName The name of the private endpoint connection associated with the
38
+ * Azure resource
39
+ * @param properties The private endpoint connection properties.
40
+ * @param options The options parameters.
41
+ */
42
+ async beginCreateOrUpdate(resourceGroupName, scopeName, privateEndpointConnectionName, properties, options) {
43
+ const directSendOperation = async (args, spec) => {
44
+ return this.client.sendOperationRequest(args, spec);
45
+ };
46
+ const sendOperationFn = async (args, spec) => {
47
+ var _a;
48
+ let currentRawResponse = undefined;
49
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
50
+ const callback = (rawResponse, flatResponse) => {
51
+ currentRawResponse = rawResponse;
52
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
53
+ };
54
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
55
+ const flatResponse = await directSendOperation(updatedArgs, spec);
56
+ return {
57
+ flatResponse,
58
+ rawResponse: {
59
+ statusCode: currentRawResponse.status,
60
+ body: currentRawResponse.parsedBody,
61
+ headers: currentRawResponse.headers.toJSON(),
62
+ },
63
+ };
64
+ };
65
+ const lro = createLroSpec({
66
+ sendOperationFn,
67
+ args: {
68
+ resourceGroupName,
69
+ scopeName,
70
+ privateEndpointConnectionName,
71
+ properties,
72
+ options,
73
+ },
74
+ spec: createOrUpdateOperationSpec,
75
+ });
76
+ const poller = await createHttpPoller(lro, {
77
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
78
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
79
+ });
80
+ await poller.poll();
81
+ return poller;
82
+ }
83
+ /**
84
+ * Approve or reject a private endpoint connection with a given name.
85
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
86
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
87
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
88
+ * Azure resource
89
+ * @param properties The private endpoint connection properties.
90
+ * @param options The options parameters.
91
+ */
92
+ async beginCreateOrUpdateAndWait(resourceGroupName, scopeName, privateEndpointConnectionName, properties, options) {
93
+ const poller = await this.beginCreateOrUpdate(resourceGroupName, scopeName, privateEndpointConnectionName, properties, options);
94
+ return poller.pollUntilDone();
95
+ }
96
+ /**
97
+ * Deletes a private endpoint connection with a given name.
98
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
99
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
100
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
101
+ * Azure resource
102
+ * @param options The options parameters.
103
+ */
104
+ delete(resourceGroupName, scopeName, privateEndpointConnectionName, options) {
105
+ return this.client.sendOperationRequest({ resourceGroupName, scopeName, privateEndpointConnectionName, options }, deleteOperationSpec);
106
+ }
107
+ /**
108
+ * Gets all private endpoint connections on a private link scope.
109
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
110
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
111
+ * @param options The options parameters.
112
+ */
113
+ listByPrivateLinkScope(resourceGroupName, scopeName, options) {
114
+ return this.client.sendOperationRequest({ resourceGroupName, scopeName, options }, listByPrivateLinkScopeOperationSpec);
115
+ }
116
+ }
117
+ // Operation Specifications
118
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
119
+ const getOperationSpec = {
120
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KubernetesConfiguration/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}",
121
+ httpMethod: "GET",
122
+ responses: {
123
+ 200: {
124
+ bodyMapper: Mappers.PrivateEndpointConnection,
125
+ },
126
+ default: {
127
+ bodyMapper: Mappers.ErrorResponse,
128
+ },
129
+ },
130
+ queryParameters: [Parameters.apiVersion],
131
+ urlParameters: [
132
+ Parameters.$host,
133
+ Parameters.subscriptionId,
134
+ Parameters.resourceGroupName,
135
+ Parameters.scopeName,
136
+ Parameters.privateEndpointConnectionName,
137
+ ],
138
+ headerParameters: [Parameters.accept],
139
+ serializer,
140
+ };
141
+ const createOrUpdateOperationSpec = {
142
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KubernetesConfiguration/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}",
143
+ httpMethod: "PUT",
144
+ responses: {
145
+ 200: {
146
+ bodyMapper: Mappers.PrivateEndpointConnection,
147
+ },
148
+ 201: {
149
+ bodyMapper: Mappers.PrivateEndpointConnection,
150
+ },
151
+ 202: {
152
+ bodyMapper: Mappers.PrivateEndpointConnection,
153
+ },
154
+ 204: {
155
+ bodyMapper: Mappers.PrivateEndpointConnection,
156
+ },
157
+ default: {
158
+ bodyMapper: Mappers.ErrorResponse,
159
+ },
160
+ },
161
+ requestBody: Parameters.properties,
162
+ queryParameters: [Parameters.apiVersion],
163
+ urlParameters: [
164
+ Parameters.$host,
165
+ Parameters.subscriptionId,
166
+ Parameters.resourceGroupName,
167
+ Parameters.scopeName,
168
+ Parameters.privateEndpointConnectionName,
169
+ ],
170
+ headerParameters: [Parameters.accept, Parameters.contentType],
171
+ mediaType: "json",
172
+ serializer,
173
+ };
174
+ const deleteOperationSpec = {
175
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KubernetesConfiguration/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}",
176
+ httpMethod: "DELETE",
177
+ responses: {
178
+ 200: {},
179
+ 204: {},
180
+ default: {
181
+ bodyMapper: Mappers.ErrorResponse,
182
+ },
183
+ },
184
+ queryParameters: [Parameters.apiVersion],
185
+ urlParameters: [
186
+ Parameters.$host,
187
+ Parameters.subscriptionId,
188
+ Parameters.resourceGroupName,
189
+ Parameters.scopeName,
190
+ Parameters.privateEndpointConnectionName,
191
+ ],
192
+ headerParameters: [Parameters.accept],
193
+ serializer,
194
+ };
195
+ const listByPrivateLinkScopeOperationSpec = {
196
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KubernetesConfiguration/privateLinkScopes/{scopeName}/privateEndpointConnections",
197
+ httpMethod: "GET",
198
+ responses: {
199
+ 200: {
200
+ bodyMapper: Mappers.PrivateEndpointConnectionListResult,
201
+ },
202
+ default: {
203
+ bodyMapper: Mappers.ErrorResponse,
204
+ },
205
+ },
206
+ queryParameters: [Parameters.apiVersion],
207
+ urlParameters: [
208
+ Parameters.$host,
209
+ Parameters.subscriptionId,
210
+ Parameters.resourceGroupName,
211
+ Parameters.scopeName,
212
+ ],
213
+ headerParameters: [Parameters.accept],
214
+ serializer,
215
+ };
216
+ //# 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,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EA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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,85 @@
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 * as coreClient from "@azure/core-client";
9
+ import * as Mappers from "../models/mappers.js";
10
+ import * as Parameters from "../models/parameters.js";
11
+ /** Class containing PrivateLinkResources operations. */
12
+ export class PrivateLinkResourcesImpl {
13
+ /**
14
+ * Initialize a new instance of the class PrivateLinkResources class.
15
+ * @param client Reference to the service client
16
+ */
17
+ constructor(client) {
18
+ this.client = client;
19
+ }
20
+ /**
21
+ * Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.
22
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
23
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
24
+ * @param options The options parameters.
25
+ */
26
+ listByPrivateLinkScope(resourceGroupName, scopeName, options) {
27
+ return this.client.sendOperationRequest({ resourceGroupName, scopeName, options }, listByPrivateLinkScopeOperationSpec);
28
+ }
29
+ /**
30
+ * Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.
31
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
32
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
33
+ * @param groupName The name of the private link resource.
34
+ * @param options The options parameters.
35
+ */
36
+ get(resourceGroupName, scopeName, groupName, options) {
37
+ return this.client.sendOperationRequest({ resourceGroupName, scopeName, groupName, options }, getOperationSpec);
38
+ }
39
+ }
40
+ // Operation Specifications
41
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
42
+ const listByPrivateLinkScopeOperationSpec = {
43
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KubernetesConfiguration/privateLinkScopes/{scopeName}/privateLinkResources",
44
+ httpMethod: "GET",
45
+ responses: {
46
+ 200: {
47
+ bodyMapper: Mappers.PrivateLinkResourceListResult,
48
+ },
49
+ default: {
50
+ bodyMapper: Mappers.ErrorResponse,
51
+ },
52
+ },
53
+ queryParameters: [Parameters.apiVersion],
54
+ urlParameters: [
55
+ Parameters.$host,
56
+ Parameters.subscriptionId,
57
+ Parameters.resourceGroupName,
58
+ Parameters.scopeName,
59
+ ],
60
+ headerParameters: [Parameters.accept],
61
+ serializer,
62
+ };
63
+ const getOperationSpec = {
64
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KubernetesConfiguration/privateLinkScopes/{scopeName}/privateLinkResources/{groupName}",
65
+ httpMethod: "GET",
66
+ responses: {
67
+ 200: {
68
+ bodyMapper: Mappers.PrivateLinkResource,
69
+ },
70
+ default: {
71
+ bodyMapper: Mappers.ErrorResponse,
72
+ },
73
+ },
74
+ queryParameters: [Parameters.apiVersion],
75
+ urlParameters: [
76
+ Parameters.$host,
77
+ Parameters.subscriptionId,
78
+ Parameters.resourceGroupName,
79
+ Parameters.scopeName,
80
+ Parameters.groupName,
81
+ ],
82
+ headerParameters: [Parameters.accept],
83
+ serializer,
84
+ };
85
+ //# sourceMappingURL=privateLinkResources.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateLinkResources.js","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAStD,wDAAwD;AACxD,MAAM,OAAO,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;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,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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