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