@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,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,M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AC;IAOnD;;;;;;OAMG;IACH,UAAU,CACR,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,oBAAoB,EAAE,YAAY,EAClC,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC;IAO/C;;;;OAIG;IACH,OAAO,CAAC,SAAS;IAUjB;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;CAUjC"}
@@ -0,0 +1,386 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import { setContinuationToken } from "../pagingHelper.js";
10
+ import * as coreClient from "@azure/core-client";
11
+ import * as Mappers from "../models/mappers.js";
12
+ import * as Parameters from "../models/parameters.js";
13
+ /// <reference lib="esnext.asynciterable" />
14
+ /** Class containing PrivateLinkScopes operations. */
15
+ export class PrivateLinkScopesImpl {
16
+ /**
17
+ * Initialize a new instance of the class PrivateLinkScopes class.
18
+ * @param client Reference to the service client
19
+ */
20
+ constructor(client) {
21
+ this.client = client;
22
+ }
23
+ /**
24
+ * Gets a list of all Azure Arc PrivateLinkScopes within a subscription.
25
+ * @param options The options parameters.
26
+ */
27
+ list(options) {
28
+ const iter = this.listPagingAll(options);
29
+ return {
30
+ next() {
31
+ return iter.next();
32
+ },
33
+ [Symbol.asyncIterator]() {
34
+ return this;
35
+ },
36
+ byPage: (settings) => {
37
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
38
+ throw new Error("maxPageSize is not supported by this operation.");
39
+ }
40
+ return this.listPagingPage(options, settings);
41
+ },
42
+ };
43
+ }
44
+ listPagingPage(options, settings) {
45
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
46
+ let result;
47
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
48
+ if (!continuationToken) {
49
+ result = yield __await(this._list(options));
50
+ let page = result.value || [];
51
+ continuationToken = result.nextLink;
52
+ setContinuationToken(page, continuationToken);
53
+ yield yield __await(page);
54
+ }
55
+ while (continuationToken) {
56
+ result = yield __await(this._listNext(continuationToken, options));
57
+ continuationToken = result.nextLink;
58
+ let page = result.value || [];
59
+ setContinuationToken(page, continuationToken);
60
+ yield yield __await(page);
61
+ }
62
+ });
63
+ }
64
+ listPagingAll(options) {
65
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
66
+ var _a, e_1, _b, _c;
67
+ try {
68
+ for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
69
+ _c = _f.value;
70
+ _d = false;
71
+ const page = _c;
72
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
73
+ }
74
+ }
75
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
76
+ finally {
77
+ try {
78
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
79
+ }
80
+ finally { if (e_1) throw e_1.error; }
81
+ }
82
+ });
83
+ }
84
+ /**
85
+ * Gets a list of Azure Arc PrivateLinkScopes within a resource group.
86
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
87
+ * @param options The options parameters.
88
+ */
89
+ listByResourceGroup(resourceGroupName, options) {
90
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
91
+ return {
92
+ next() {
93
+ return iter.next();
94
+ },
95
+ [Symbol.asyncIterator]() {
96
+ return this;
97
+ },
98
+ byPage: (settings) => {
99
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
100
+ throw new Error("maxPageSize is not supported by this operation.");
101
+ }
102
+ return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
103
+ },
104
+ };
105
+ }
106
+ listByResourceGroupPagingPage(resourceGroupName, options, settings) {
107
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
108
+ let result;
109
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
110
+ if (!continuationToken) {
111
+ result = yield __await(this._listByResourceGroup(resourceGroupName, options));
112
+ let page = result.value || [];
113
+ continuationToken = result.nextLink;
114
+ setContinuationToken(page, continuationToken);
115
+ yield yield __await(page);
116
+ }
117
+ while (continuationToken) {
118
+ result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
119
+ continuationToken = result.nextLink;
120
+ let page = result.value || [];
121
+ setContinuationToken(page, continuationToken);
122
+ yield yield __await(page);
123
+ }
124
+ });
125
+ }
126
+ listByResourceGroupPagingAll(resourceGroupName, options) {
127
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
128
+ var _a, e_2, _b, _c;
129
+ try {
130
+ for (var _d = true, _e = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
131
+ _c = _f.value;
132
+ _d = false;
133
+ const page = _c;
134
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
135
+ }
136
+ }
137
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
138
+ finally {
139
+ try {
140
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
141
+ }
142
+ finally { if (e_2) throw e_2.error; }
143
+ }
144
+ });
145
+ }
146
+ /**
147
+ * Gets a list of all Azure Arc PrivateLinkScopes within a subscription.
148
+ * @param options The options parameters.
149
+ */
150
+ _list(options) {
151
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
152
+ }
153
+ /**
154
+ * Gets a list of Azure Arc PrivateLinkScopes within a resource group.
155
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
156
+ * @param options The options parameters.
157
+ */
158
+ _listByResourceGroup(resourceGroupName, options) {
159
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
160
+ }
161
+ /**
162
+ * Deletes a Azure Arc PrivateLinkScope.
163
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
164
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
165
+ * @param options The options parameters.
166
+ */
167
+ delete(resourceGroupName, scopeName, options) {
168
+ return this.client.sendOperationRequest({ resourceGroupName, scopeName, options }, deleteOperationSpec);
169
+ }
170
+ /**
171
+ * Returns a Azure Arc PrivateLinkScope.
172
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
173
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
174
+ * @param options The options parameters.
175
+ */
176
+ get(resourceGroupName, scopeName, options) {
177
+ return this.client.sendOperationRequest({ resourceGroupName, scopeName, options }, getOperationSpec);
178
+ }
179
+ /**
180
+ * Creates (or updates) a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for
181
+ * InstrumentationKey nor AppId in the Put operation.
182
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
183
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
184
+ * @param parameters Properties that need to be specified to create or update a Azure Arc for Servers
185
+ * and Clusters PrivateLinkScope.
186
+ * @param options The options parameters.
187
+ */
188
+ createOrUpdate(resourceGroupName, scopeName, parameters, options) {
189
+ return this.client.sendOperationRequest({ resourceGroupName, scopeName, parameters, options }, createOrUpdateOperationSpec);
190
+ }
191
+ /**
192
+ * Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.
193
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
194
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
195
+ * @param privateLinkScopeTags Updated tag information to set into the PrivateLinkScope instance.
196
+ * @param options The options parameters.
197
+ */
198
+ updateTags(resourceGroupName, scopeName, privateLinkScopeTags, options) {
199
+ return this.client.sendOperationRequest({ resourceGroupName, scopeName, privateLinkScopeTags, options }, updateTagsOperationSpec);
200
+ }
201
+ /**
202
+ * ListNext
203
+ * @param nextLink The nextLink from the previous successful call to the List method.
204
+ * @param options The options parameters.
205
+ */
206
+ _listNext(nextLink, options) {
207
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
208
+ }
209
+ /**
210
+ * ListByResourceGroupNext
211
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
212
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
213
+ * @param options The options parameters.
214
+ */
215
+ _listByResourceGroupNext(resourceGroupName, nextLink, options) {
216
+ return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
217
+ }
218
+ }
219
+ // Operation Specifications
220
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
221
+ const listOperationSpec = {
222
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.KubernetesConfiguration/privateLinkScopes",
223
+ httpMethod: "GET",
224
+ responses: {
225
+ 200: {
226
+ bodyMapper: Mappers.KubernetesConfigurationPrivateLinkScopeListResult,
227
+ },
228
+ default: {
229
+ bodyMapper: Mappers.ErrorResponse,
230
+ },
231
+ },
232
+ queryParameters: [Parameters.apiVersion],
233
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
234
+ headerParameters: [Parameters.accept],
235
+ serializer,
236
+ };
237
+ const listByResourceGroupOperationSpec = {
238
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KubernetesConfiguration/privateLinkScopes",
239
+ httpMethod: "GET",
240
+ responses: {
241
+ 200: {
242
+ bodyMapper: Mappers.KubernetesConfigurationPrivateLinkScopeListResult,
243
+ },
244
+ default: {
245
+ bodyMapper: Mappers.ErrorResponse,
246
+ },
247
+ },
248
+ queryParameters: [Parameters.apiVersion],
249
+ urlParameters: [
250
+ Parameters.$host,
251
+ Parameters.subscriptionId,
252
+ Parameters.resourceGroupName,
253
+ ],
254
+ headerParameters: [Parameters.accept],
255
+ serializer,
256
+ };
257
+ const deleteOperationSpec = {
258
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KubernetesConfiguration/privateLinkScopes/{scopeName}",
259
+ httpMethod: "DELETE",
260
+ responses: {
261
+ 200: {},
262
+ 204: {},
263
+ default: {
264
+ bodyMapper: Mappers.ErrorResponse,
265
+ },
266
+ },
267
+ queryParameters: [Parameters.apiVersion],
268
+ urlParameters: [
269
+ Parameters.$host,
270
+ Parameters.subscriptionId,
271
+ Parameters.resourceGroupName,
272
+ Parameters.scopeName,
273
+ ],
274
+ headerParameters: [Parameters.accept],
275
+ serializer,
276
+ };
277
+ const getOperationSpec = {
278
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KubernetesConfiguration/privateLinkScopes/{scopeName}",
279
+ httpMethod: "GET",
280
+ responses: {
281
+ 200: {
282
+ bodyMapper: Mappers.KubernetesConfigurationPrivateLinkScope,
283
+ },
284
+ default: {
285
+ bodyMapper: Mappers.ErrorResponse,
286
+ },
287
+ },
288
+ queryParameters: [Parameters.apiVersion],
289
+ urlParameters: [
290
+ Parameters.$host,
291
+ Parameters.subscriptionId,
292
+ Parameters.resourceGroupName,
293
+ Parameters.scopeName,
294
+ ],
295
+ headerParameters: [Parameters.accept],
296
+ serializer,
297
+ };
298
+ const createOrUpdateOperationSpec = {
299
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KubernetesConfiguration/privateLinkScopes/{scopeName}",
300
+ httpMethod: "PUT",
301
+ responses: {
302
+ 200: {
303
+ bodyMapper: Mappers.KubernetesConfigurationPrivateLinkScope,
304
+ },
305
+ 201: {
306
+ bodyMapper: Mappers.KubernetesConfigurationPrivateLinkScope,
307
+ },
308
+ default: {
309
+ bodyMapper: Mappers.ErrorResponse,
310
+ },
311
+ },
312
+ requestBody: Parameters.parameters,
313
+ queryParameters: [Parameters.apiVersion],
314
+ urlParameters: [
315
+ Parameters.$host,
316
+ Parameters.subscriptionId,
317
+ Parameters.resourceGroupName,
318
+ Parameters.scopeName,
319
+ ],
320
+ headerParameters: [Parameters.accept, Parameters.contentType],
321
+ mediaType: "json",
322
+ serializer,
323
+ };
324
+ const updateTagsOperationSpec = {
325
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KubernetesConfiguration/privateLinkScopes/{scopeName}",
326
+ httpMethod: "PATCH",
327
+ responses: {
328
+ 200: {
329
+ bodyMapper: Mappers.KubernetesConfigurationPrivateLinkScope,
330
+ },
331
+ default: {
332
+ bodyMapper: Mappers.ErrorResponse,
333
+ },
334
+ },
335
+ requestBody: Parameters.privateLinkScopeTags,
336
+ queryParameters: [Parameters.apiVersion],
337
+ urlParameters: [
338
+ Parameters.$host,
339
+ Parameters.subscriptionId,
340
+ Parameters.resourceGroupName,
341
+ Parameters.scopeName,
342
+ ],
343
+ headerParameters: [Parameters.accept, Parameters.contentType],
344
+ mediaType: "json",
345
+ serializer,
346
+ };
347
+ const listNextOperationSpec = {
348
+ path: "{nextLink}",
349
+ httpMethod: "GET",
350
+ responses: {
351
+ 200: {
352
+ bodyMapper: Mappers.KubernetesConfigurationPrivateLinkScopeListResult,
353
+ },
354
+ default: {
355
+ bodyMapper: Mappers.ErrorResponse,
356
+ },
357
+ },
358
+ urlParameters: [
359
+ Parameters.$host,
360
+ Parameters.subscriptionId,
361
+ Parameters.nextLink,
362
+ ],
363
+ headerParameters: [Parameters.accept],
364
+ serializer,
365
+ };
366
+ const listByResourceGroupNextOperationSpec = {
367
+ path: "{nextLink}",
368
+ httpMethod: "GET",
369
+ responses: {
370
+ 200: {
371
+ bodyMapper: Mappers.KubernetesConfigurationPrivateLinkScopeListResult,
372
+ },
373
+ default: {
374
+ bodyMapper: Mappers.ErrorResponse,
375
+ },
376
+ },
377
+ urlParameters: [
378
+ Parameters.$host,
379
+ Parameters.subscriptionId,
380
+ Parameters.resourceGroupName,
381
+ Parameters.nextLink,
382
+ ],
383
+ headerParameters: [Parameters.accept],
384
+ serializer,
385
+ };
386
+ //# sourceMappingURL=privateLinkScopes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateLinkScopes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,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iDAAiD;SACtE;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;KACpB;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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { PrivateLinkScopes } 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 KubernetesConfigurationPrivateLinkScope,\n PrivateLinkScopesListNextOptionalParams,\n PrivateLinkScopesListOptionalParams,\n PrivateLinkScopesListResponse,\n PrivateLinkScopesListByResourceGroupNextOptionalParams,\n PrivateLinkScopesListByResourceGroupOptionalParams,\n PrivateLinkScopesListByResourceGroupResponse,\n PrivateLinkScopesDeleteOptionalParams,\n PrivateLinkScopesGetOptionalParams,\n PrivateLinkScopesGetResponse,\n PrivateLinkScopesCreateOrUpdateOptionalParams,\n PrivateLinkScopesCreateOrUpdateResponse,\n TagsResource,\n PrivateLinkScopesUpdateTagsOptionalParams,\n PrivateLinkScopesUpdateTagsResponse,\n PrivateLinkScopesListNextResponse,\n PrivateLinkScopesListByResourceGroupNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing PrivateLinkScopes operations. */\nexport class PrivateLinkScopesImpl implements PrivateLinkScopes {\n private readonly client: PrivateLinkScopesClient;\n\n /**\n * Initialize a new instance of the class PrivateLinkScopes class.\n * @param client Reference to the service client\n */\n constructor(client: PrivateLinkScopesClient) {\n this.client = client;\n }\n\n /**\n * Gets a list of all Azure Arc PrivateLinkScopes within a subscription.\n * @param options The options parameters.\n */\n public list(\n options?: PrivateLinkScopesListOptionalParams,\n ): PagedAsyncIterableIterator<KubernetesConfigurationPrivateLinkScope> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: PrivateLinkScopesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<KubernetesConfigurationPrivateLinkScope[]> {\n let result: PrivateLinkScopesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: PrivateLinkScopesListOptionalParams,\n ): AsyncIterableIterator<KubernetesConfigurationPrivateLinkScope> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of Azure Arc PrivateLinkScopes within a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: PrivateLinkScopesListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<KubernetesConfigurationPrivateLinkScope> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: PrivateLinkScopesListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<KubernetesConfigurationPrivateLinkScope[]> {\n let result: PrivateLinkScopesListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: PrivateLinkScopesListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<KubernetesConfigurationPrivateLinkScope> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of all Azure Arc PrivateLinkScopes within a subscription.\n * @param options The options parameters.\n */\n private _list(\n options?: PrivateLinkScopesListOptionalParams,\n ): Promise<PrivateLinkScopesListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * Gets a list of Azure Arc PrivateLinkScopes within a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: PrivateLinkScopesListByResourceGroupOptionalParams,\n ): Promise<PrivateLinkScopesListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Deletes a Azure Arc 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 delete(\n resourceGroupName: string,\n scopeName: string,\n options?: PrivateLinkScopesDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, scopeName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * Returns a Azure Arc 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 get(\n resourceGroupName: string,\n scopeName: string,\n options?: PrivateLinkScopesGetOptionalParams,\n ): Promise<PrivateLinkScopesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, scopeName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates (or updates) a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for\n * InstrumentationKey nor AppId in the Put operation.\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 parameters Properties that need to be specified to create or update a Azure Arc for Servers\n * and Clusters PrivateLinkScope.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n scopeName: string,\n parameters: KubernetesConfigurationPrivateLinkScope,\n options?: PrivateLinkScopesCreateOrUpdateOptionalParams,\n ): Promise<PrivateLinkScopesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, scopeName, parameters, options },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.\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 privateLinkScopeTags Updated tag information to set into the PrivateLinkScope instance.\n * @param options The options parameters.\n */\n updateTags(\n resourceGroupName: string,\n scopeName: string,\n privateLinkScopeTags: TagsResource,\n options?: PrivateLinkScopesUpdateTagsOptionalParams,\n ): Promise<PrivateLinkScopesUpdateTagsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, scopeName, privateLinkScopeTags, options },\n updateTagsOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: PrivateLinkScopesListNextOptionalParams,\n ): Promise<PrivateLinkScopesListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec,\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: PrivateLinkScopesListByResourceGroupNextOptionalParams,\n ): Promise<PrivateLinkScopesListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.KubernetesConfiguration/privateLinkScopes\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KubernetesConfigurationPrivateLinkScopeListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KubernetesConfiguration/privateLinkScopes\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KubernetesConfigurationPrivateLinkScopeListResult,\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 ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KubernetesConfiguration/privateLinkScopes/{scopeName}\",\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 ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KubernetesConfiguration/privateLinkScopes/{scopeName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KubernetesConfigurationPrivateLinkScope,\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 createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KubernetesConfiguration/privateLinkScopes/{scopeName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.KubernetesConfigurationPrivateLinkScope,\n },\n 201: {\n bodyMapper: Mappers.KubernetesConfigurationPrivateLinkScope,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.scopeName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst updateTagsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KubernetesConfiguration/privateLinkScopes/{scopeName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.KubernetesConfigurationPrivateLinkScope,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.privateLinkScopeTags,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.scopeName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KubernetesConfigurationPrivateLinkScopeListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KubernetesConfigurationPrivateLinkScopeListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -0,0 +1,4 @@
1
+ export * from "./privateLinkScopes.js";
2
+ export * from "./privateLinkResources.js";
3
+ export * from "./privateEndpointConnections.js";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC"}
@@ -0,0 +1,11 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export * from "./privateLinkScopes.js";
9
+ export * from "./privateLinkResources.js";
10
+ export * from "./privateEndpointConnections.js";
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,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\nexport * from \"./privateLinkScopes.js\";\nexport * from \"./privateLinkResources.js\";\nexport * from \"./privateEndpointConnections.js\";\n"]}
@@ -0,0 +1,51 @@
1
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
2
+ import { PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnection, PrivateEndpointConnectionsCreateOrUpdateOptionalParams, PrivateEndpointConnectionsCreateOrUpdateResponse, PrivateEndpointConnectionsDeleteOptionalParams, PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams, PrivateEndpointConnectionsListByPrivateLinkScopeResponse } from "../models/index.js";
3
+ /** Interface representing a PrivateEndpointConnections. */
4
+ export interface PrivateEndpointConnections {
5
+ /**
6
+ * Gets a private endpoint connection.
7
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
8
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
9
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
10
+ * Azure resource
11
+ * @param options The options parameters.
12
+ */
13
+ get(resourceGroupName: string, scopeName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
14
+ /**
15
+ * Approve or reject a private endpoint connection with a given name.
16
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
17
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
18
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
19
+ * Azure resource
20
+ * @param properties The private endpoint connection properties.
21
+ * @param options The options parameters.
22
+ */
23
+ beginCreateOrUpdate(resourceGroupName: string, scopeName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>, PrivateEndpointConnectionsCreateOrUpdateResponse>>;
24
+ /**
25
+ * Approve or reject a private endpoint connection with a given name.
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 privateEndpointConnectionName The name of the private endpoint connection associated with the
29
+ * Azure resource
30
+ * @param properties The private endpoint connection properties.
31
+ * @param options The options parameters.
32
+ */
33
+ beginCreateOrUpdateAndWait(resourceGroupName: string, scopeName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;
34
+ /**
35
+ * Deletes a private endpoint connection with a given name.
36
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
37
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
38
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
39
+ * Azure resource
40
+ * @param options The options parameters.
41
+ */
42
+ delete(resourceGroupName: string, scopeName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
43
+ /**
44
+ * Gets all private endpoint connections on a private link scope.
45
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
46
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
47
+ * @param options The options parameters.
48
+ */
49
+ listByPrivateLinkScope(resourceGroupName: string, scopeName: string, options?: PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams): Promise<PrivateEndpointConnectionsListByPrivateLinkScopeResponse>;
50
+ }
51
+ //# sourceMappingURL=privateEndpointConnections.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,2CAA2C,EAC3C,qCAAqC,EACrC,yBAAyB,EACzB,sDAAsD,EACtD,gDAAgD,EAChD,8CAA8C,EAC9C,8DAA8D,EAC9D,wDAAwD,EACzD,MAAM,oBAAoB,CAAC;AAE5B,2DAA2D;AAC3D,MAAM,WAAW,0BAA0B;IACzC;;;;;;;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,CAAC;IAClD;;;;;;;;OAQG;IACH,mBAAmB,CACjB,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,CAAC;IACF;;;;;;;;OAQG;IACH,0BAA0B,CACxB,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,CAAC;IAC7D;;;;;;;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,CAAC;IACjB;;;;;OAKG;IACH,sBAAsB,CACpB,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,8DAA8D,GACvE,OAAO,CAAC,wDAAwD,CAAC,CAAC;CACtE"}
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=privateEndpointConnections.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateEndpointConnections.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsGetResponse,\n PrivateEndpointConnection,\n PrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n PrivateEndpointConnectionsCreateOrUpdateResponse,\n PrivateEndpointConnectionsDeleteOptionalParams,\n PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams,\n PrivateEndpointConnectionsListByPrivateLinkScopeResponse,\n} from \"../models/index.js\";\n\n/** Interface representing a PrivateEndpointConnections. */\nexport interface PrivateEndpointConnections {\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 /**\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 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 /**\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 beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n scopeName: string,\n privateEndpointConnectionName: string,\n properties: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n ): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;\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 /**\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}\n"]}