@azure/arm-search 1.3.0 → 3.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 (199) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/{LICENSE.txt → LICENSE} +21 -21
  3. package/README.md +98 -96
  4. package/dist/index.js +2926 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/index.d.ts +5 -0
  9. package/dist-esm/src/index.d.ts.map +1 -0
  10. package/dist-esm/src/index.js +12 -0
  11. package/dist-esm/src/index.js.map +1 -0
  12. package/dist-esm/src/lroImpl.d.ts +16 -0
  13. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  14. package/dist-esm/src/lroImpl.js +29 -0
  15. package/dist-esm/src/lroImpl.js.map +1 -0
  16. package/dist-esm/src/models/index.d.ts +692 -0
  17. package/dist-esm/src/models/index.d.ts.map +1 -0
  18. package/dist-esm/src/models/index.js +21 -0
  19. package/dist-esm/src/models/index.js.map +1 -0
  20. package/dist-esm/src/models/mappers.d.ts +35 -0
  21. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  22. package/dist-esm/src/models/mappers.js +1013 -0
  23. package/dist-esm/src/models/mappers.js.map +1 -0
  24. package/dist-esm/src/models/parameters.d.ts +22 -0
  25. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  26. package/dist-esm/src/models/parameters.js +182 -0
  27. package/dist-esm/src/models/parameters.js.map +1 -0
  28. package/dist-esm/src/operations/adminKeys.d.ts +33 -0
  29. package/dist-esm/src/operations/adminKeys.d.ts.map +1 -0
  30. package/dist-esm/src/operations/adminKeys.js +90 -0
  31. package/dist-esm/src/operations/adminKeys.js.map +1 -0
  32. package/dist-esm/src/operations/index.d.ts +8 -0
  33. package/dist-esm/src/operations/index.d.ts.map +1 -0
  34. package/dist-esm/src/operations/index.js +15 -0
  35. package/dist-esm/src/operations/index.js.map +1 -0
  36. package/dist-esm/src/operations/operations.d.ts +26 -0
  37. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  38. package/dist-esm/src/operations/operations.js +90 -0
  39. package/dist-esm/src/operations/operations.js.map +1 -0
  40. package/dist-esm/src/operations/privateEndpointConnections.d.ts +79 -0
  41. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  42. package/dist-esm/src/operations/privateEndpointConnections.js +273 -0
  43. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  44. package/dist-esm/src/operations/privateLinkResources.d.ts +34 -0
  45. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  46. package/dist-esm/src/operations/privateLinkResources.js +103 -0
  47. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  48. package/dist-esm/src/operations/queryKeys.d.ts +66 -0
  49. package/dist-esm/src/operations/queryKeys.d.ts.map +1 -0
  50. package/dist-esm/src/operations/queryKeys.js +213 -0
  51. package/dist-esm/src/operations/queryKeys.js.map +1 -0
  52. package/dist-esm/src/operations/services.d.ts +123 -0
  53. package/dist-esm/src/operations/services.d.ts.map +1 -0
  54. package/dist-esm/src/operations/services.js +475 -0
  55. package/dist-esm/src/operations/services.js.map +1 -0
  56. package/dist-esm/src/operations/sharedPrivateLinkResources.d.ts +107 -0
  57. package/dist-esm/src/operations/sharedPrivateLinkResources.d.ts.map +1 -0
  58. package/dist-esm/src/operations/sharedPrivateLinkResources.js +379 -0
  59. package/dist-esm/src/operations/sharedPrivateLinkResources.js.map +1 -0
  60. package/dist-esm/src/operationsInterfaces/adminKeys.d.ts +25 -0
  61. package/dist-esm/src/operationsInterfaces/adminKeys.d.ts.map +1 -0
  62. package/dist-esm/src/operationsInterfaces/adminKeys.js +9 -0
  63. package/dist-esm/src/operationsInterfaces/adminKeys.js.map +1 -0
  64. package/dist-esm/src/operationsInterfaces/index.d.ts +8 -0
  65. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  66. package/dist-esm/src/operationsInterfaces/index.js +15 -0
  67. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  69. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  70. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  71. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +50 -0
  73. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  74. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  75. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +15 -0
  77. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  79. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/queryKeys.d.ts +37 -0
  81. package/dist-esm/src/operationsInterfaces/queryKeys.d.ts.map +1 -0
  82. package/dist-esm/src/operationsInterfaces/queryKeys.js +9 -0
  83. package/dist-esm/src/operationsInterfaces/queryKeys.js.map +1 -0
  84. package/dist-esm/src/operationsInterfaces/services.d.ts +85 -0
  85. package/dist-esm/src/operationsInterfaces/services.d.ts.map +1 -0
  86. package/dist-esm/src/operationsInterfaces/services.js +9 -0
  87. package/dist-esm/src/operationsInterfaces/services.js.map +1 -0
  88. package/dist-esm/src/operationsInterfaces/sharedPrivateLinkResources.d.ts +78 -0
  89. package/dist-esm/src/operationsInterfaces/sharedPrivateLinkResources.d.ts.map +1 -0
  90. package/dist-esm/src/operationsInterfaces/sharedPrivateLinkResources.js +9 -0
  91. package/dist-esm/src/operationsInterfaces/sharedPrivateLinkResources.js.map +1 -0
  92. package/dist-esm/src/searchManagementClient.d.ts +25 -0
  93. package/dist-esm/src/searchManagementClient.d.ts.map +1 -0
  94. package/dist-esm/src/searchManagementClient.js +58 -0
  95. package/dist-esm/src/searchManagementClient.js.map +1 -0
  96. package/dist-esm/test/search_examples.d.ts +4 -0
  97. package/dist-esm/test/search_examples.d.ts.map +1 -0
  98. package/dist-esm/test/search_examples.js +163 -0
  99. package/dist-esm/test/search_examples.js.map +1 -0
  100. package/package.json +70 -34
  101. package/review/arm-search.api.md +600 -0
  102. package/rollup.config.js +184 -27
  103. package/src/index.ts +12 -0
  104. package/src/lroImpl.ts +34 -0
  105. package/src/models/index.ts +837 -0
  106. package/src/models/mappers.ts +1092 -0
  107. package/src/models/parameters.ts +213 -0
  108. package/src/operations/adminKeys.ts +122 -0
  109. package/{lib → src}/operations/index.ts +6 -5
  110. package/src/operations/operations.ts +98 -0
  111. package/src/operations/privateEndpointConnections.ts +363 -0
  112. package/src/operations/privateLinkResources.ts +139 -0
  113. package/src/operations/queryKeys.ts +288 -0
  114. package/src/operations/services.ts +606 -0
  115. package/src/operations/sharedPrivateLinkResources.ts +525 -0
  116. package/src/operationsInterfaces/adminKeys.ts +48 -0
  117. package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +7 -6
  118. package/src/operationsInterfaces/operations.ts +22 -0
  119. package/src/operationsInterfaces/privateEndpointConnections.ts +88 -0
  120. package/src/operationsInterfaces/privateLinkResources.ts +31 -0
  121. package/src/operationsInterfaces/queryKeys.ts +66 -0
  122. package/src/operationsInterfaces/services.ts +144 -0
  123. package/src/operationsInterfaces/sharedPrivateLinkResources.ts +131 -0
  124. package/src/searchManagementClient.ts +104 -0
  125. package/tsconfig.json +4 -4
  126. package/types/arm-search.d.ts +1104 -0
  127. package/types/tsdoc-metadata.json +11 -0
  128. package/dist/arm-search.js +0 -1329
  129. package/dist/arm-search.js.map +0 -1
  130. package/dist/arm-search.min.js +0 -1
  131. package/dist/arm-search.min.js.map +0 -1
  132. package/esm/models/adminKeysMappers.d.ts +0 -2
  133. package/esm/models/adminKeysMappers.d.ts.map +0 -1
  134. package/esm/models/adminKeysMappers.js +0 -11
  135. package/esm/models/adminKeysMappers.js.map +0 -1
  136. package/esm/models/index.d.ts +0 -788
  137. package/esm/models/index.d.ts.map +0 -1
  138. package/esm/models/index.js +0 -10
  139. package/esm/models/index.js.map +0 -1
  140. package/esm/models/mappers.d.ts +0 -18
  141. package/esm/models/mappers.d.ts.map +0 -1
  142. package/esm/models/mappers.js +0 -438
  143. package/esm/models/mappers.js.map +0 -1
  144. package/esm/models/operationsMappers.d.ts +0 -2
  145. package/esm/models/operationsMappers.d.ts.map +0 -1
  146. package/esm/models/operationsMappers.js +0 -11
  147. package/esm/models/operationsMappers.js.map +0 -1
  148. package/esm/models/parameters.d.ts +0 -11
  149. package/esm/models/parameters.d.ts.map +0 -1
  150. package/esm/models/parameters.js +0 -107
  151. package/esm/models/parameters.js.map +0 -1
  152. package/esm/models/queryKeysMappers.d.ts +0 -2
  153. package/esm/models/queryKeysMappers.d.ts.map +0 -1
  154. package/esm/models/queryKeysMappers.js +0 -11
  155. package/esm/models/queryKeysMappers.js.map +0 -1
  156. package/esm/models/servicesMappers.d.ts +0 -2
  157. package/esm/models/servicesMappers.d.ts.map +0 -1
  158. package/esm/models/servicesMappers.js +0 -11
  159. package/esm/models/servicesMappers.js.map +0 -1
  160. package/esm/operations/adminKeys.d.ts +0 -74
  161. package/esm/operations/adminKeys.d.ts.map +0 -1
  162. package/esm/operations/adminKeys.js +0 -93
  163. package/esm/operations/adminKeys.js.map +0 -1
  164. package/esm/operations/index.d.ts +0 -5
  165. package/esm/operations/index.d.ts.map +0 -1
  166. package/esm/operations/index.js.map +0 -1
  167. package/esm/operations/operations.d.ts +0 -28
  168. package/esm/operations/operations.d.ts.map +0 -1
  169. package/esm/operations/operations.js +0 -51
  170. package/esm/operations/operations.js.map +0 -1
  171. package/esm/operations/queryKeys.d.ts +0 -102
  172. package/esm/operations/queryKeys.d.ts.map +0 -1
  173. package/esm/operations/queryKeys.js +0 -127
  174. package/esm/operations/queryKeys.js.map +0 -1
  175. package/esm/operations/services.d.ts +0 -174
  176. package/esm/operations/services.d.ts.map +0 -1
  177. package/esm/operations/services.js +0 -268
  178. package/esm/operations/services.js.map +0 -1
  179. package/esm/searchManagementClient.d.ts +0 -22
  180. package/esm/searchManagementClient.d.ts.map +0 -1
  181. package/esm/searchManagementClient.js +0 -37
  182. package/esm/searchManagementClient.js.map +0 -1
  183. package/esm/searchManagementClientContext.d.ts +0 -17
  184. package/esm/searchManagementClientContext.d.ts.map +0 -1
  185. package/esm/searchManagementClientContext.js +0 -57
  186. package/esm/searchManagementClientContext.js.map +0 -1
  187. package/lib/models/adminKeysMappers.ts +0 -15
  188. package/lib/models/index.ts +0 -842
  189. package/lib/models/mappers.ts +0 -462
  190. package/lib/models/operationsMappers.ts +0 -17
  191. package/lib/models/parameters.ts +0 -109
  192. package/lib/models/queryKeysMappers.ts +0 -16
  193. package/lib/models/servicesMappers.ts +0 -22
  194. package/lib/operations/adminKeys.ts +0 -167
  195. package/lib/operations/operations.ts +0 -74
  196. package/lib/operations/queryKeys.ts +0 -234
  197. package/lib/operations/services.ts +0 -439
  198. package/lib/searchManagementClient.ts +0 -49
  199. package/lib/searchManagementClientContext.ts +0 -63
@@ -0,0 +1,379 @@
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, __awaiter } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ import { LroEngine } from "@azure/core-lro";
13
+ import { LroImpl } from "../lroImpl";
14
+ /// <reference lib="esnext.asynciterable" />
15
+ /** Class containing SharedPrivateLinkResources operations. */
16
+ export class SharedPrivateLinkResourcesImpl {
17
+ /**
18
+ * Initialize a new instance of the class SharedPrivateLinkResources class.
19
+ * @param client Reference to the service client
20
+ */
21
+ constructor(client) {
22
+ this.client = client;
23
+ }
24
+ /**
25
+ * Gets a list of all shared private link resources managed by the given service.
26
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
27
+ * obtain this value from the Azure Resource Manager API or the portal.
28
+ * @param searchServiceName The name of the Azure Cognitive Search service associated with the
29
+ * specified resource group.
30
+ * @param options The options parameters.
31
+ */
32
+ listByService(resourceGroupName, searchServiceName, options) {
33
+ const iter = this.listByServicePagingAll(resourceGroupName, searchServiceName, options);
34
+ return {
35
+ next() {
36
+ return iter.next();
37
+ },
38
+ [Symbol.asyncIterator]() {
39
+ return this;
40
+ },
41
+ byPage: () => {
42
+ return this.listByServicePagingPage(resourceGroupName, searchServiceName, options);
43
+ }
44
+ };
45
+ }
46
+ listByServicePagingPage(resourceGroupName, searchServiceName, options) {
47
+ return __asyncGenerator(this, arguments, function* listByServicePagingPage_1() {
48
+ let result = yield __await(this._listByService(resourceGroupName, searchServiceName, options));
49
+ yield yield __await(result.value || []);
50
+ let continuationToken = result.nextLink;
51
+ while (continuationToken) {
52
+ result = yield __await(this._listByServiceNext(resourceGroupName, searchServiceName, continuationToken, options));
53
+ continuationToken = result.nextLink;
54
+ yield yield __await(result.value || []);
55
+ }
56
+ });
57
+ }
58
+ listByServicePagingAll(resourceGroupName, searchServiceName, options) {
59
+ return __asyncGenerator(this, arguments, function* listByServicePagingAll_1() {
60
+ var e_1, _a;
61
+ try {
62
+ for (var _b = __asyncValues(this.listByServicePagingPage(resourceGroupName, searchServiceName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
63
+ const page = _c.value;
64
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
65
+ }
66
+ }
67
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
68
+ finally {
69
+ try {
70
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
71
+ }
72
+ finally { if (e_1) throw e_1.error; }
73
+ }
74
+ });
75
+ }
76
+ /**
77
+ * Initiates the creation or update of a shared private link resource managed by the search service in
78
+ * the given resource group.
79
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
80
+ * obtain this value from the Azure Resource Manager API or the portal.
81
+ * @param searchServiceName The name of the Azure Cognitive Search service associated with the
82
+ * specified resource group.
83
+ * @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
84
+ * Azure Cognitive Search service within the specified resource group.
85
+ * @param sharedPrivateLinkResource The definition of the shared private link resource to create or
86
+ * update.
87
+ * @param options The options parameters.
88
+ */
89
+ beginCreateOrUpdate(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, sharedPrivateLinkResource, options) {
90
+ return __awaiter(this, void 0, void 0, function* () {
91
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
92
+ return this.client.sendOperationRequest(args, spec);
93
+ });
94
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
95
+ var _a;
96
+ let currentRawResponse = undefined;
97
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
98
+ const callback = (rawResponse, flatResponse) => {
99
+ currentRawResponse = rawResponse;
100
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
101
+ };
102
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
103
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
104
+ return {
105
+ flatResponse,
106
+ rawResponse: {
107
+ statusCode: currentRawResponse.status,
108
+ body: currentRawResponse.parsedBody,
109
+ headers: currentRawResponse.headers.toJSON()
110
+ }
111
+ };
112
+ });
113
+ const lro = new LroImpl(sendOperation, {
114
+ resourceGroupName,
115
+ searchServiceName,
116
+ sharedPrivateLinkResourceName,
117
+ sharedPrivateLinkResource,
118
+ options
119
+ }, createOrUpdateOperationSpec);
120
+ return new LroEngine(lro, {
121
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
122
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
123
+ lroResourceLocationConfig: "azure-async-operation"
124
+ });
125
+ });
126
+ }
127
+ /**
128
+ * Initiates the creation or update of a shared private link resource managed by the search service in
129
+ * the given resource group.
130
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
131
+ * obtain this value from the Azure Resource Manager API or the portal.
132
+ * @param searchServiceName The name of the Azure Cognitive Search service associated with the
133
+ * specified resource group.
134
+ * @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
135
+ * Azure Cognitive Search service within the specified resource group.
136
+ * @param sharedPrivateLinkResource The definition of the shared private link resource to create or
137
+ * update.
138
+ * @param options The options parameters.
139
+ */
140
+ beginCreateOrUpdateAndWait(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, sharedPrivateLinkResource, options) {
141
+ return __awaiter(this, void 0, void 0, function* () {
142
+ const poller = yield this.beginCreateOrUpdate(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, sharedPrivateLinkResource, options);
143
+ return poller.pollUntilDone();
144
+ });
145
+ }
146
+ /**
147
+ * Gets the details of the shared private link resource managed by the search service in the given
148
+ * resource group.
149
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
150
+ * obtain this value from the Azure Resource Manager API or the portal.
151
+ * @param searchServiceName The name of the Azure Cognitive Search service associated with the
152
+ * specified resource group.
153
+ * @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
154
+ * Azure Cognitive Search service within the specified resource group.
155
+ * @param options The options parameters.
156
+ */
157
+ get(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, options) {
158
+ return this.client.sendOperationRequest({
159
+ resourceGroupName,
160
+ searchServiceName,
161
+ sharedPrivateLinkResourceName,
162
+ options
163
+ }, getOperationSpec);
164
+ }
165
+ /**
166
+ * Initiates the deletion of the shared private link resource from the search service.
167
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
168
+ * obtain this value from the Azure Resource Manager API or the portal.
169
+ * @param searchServiceName The name of the Azure Cognitive Search service associated with the
170
+ * specified resource group.
171
+ * @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
172
+ * Azure Cognitive Search service within the specified resource group.
173
+ * @param options The options parameters.
174
+ */
175
+ beginDelete(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, options) {
176
+ return __awaiter(this, void 0, void 0, function* () {
177
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
178
+ return this.client.sendOperationRequest(args, spec);
179
+ });
180
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
181
+ var _a;
182
+ let currentRawResponse = undefined;
183
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
184
+ const callback = (rawResponse, flatResponse) => {
185
+ currentRawResponse = rawResponse;
186
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
187
+ };
188
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
189
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
190
+ return {
191
+ flatResponse,
192
+ rawResponse: {
193
+ statusCode: currentRawResponse.status,
194
+ body: currentRawResponse.parsedBody,
195
+ headers: currentRawResponse.headers.toJSON()
196
+ }
197
+ };
198
+ });
199
+ const lro = new LroImpl(sendOperation, {
200
+ resourceGroupName,
201
+ searchServiceName,
202
+ sharedPrivateLinkResourceName,
203
+ options
204
+ }, deleteOperationSpec);
205
+ return new LroEngine(lro, {
206
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
207
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
208
+ lroResourceLocationConfig: "azure-async-operation"
209
+ });
210
+ });
211
+ }
212
+ /**
213
+ * Initiates the deletion of the shared private link resource from the search service.
214
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
215
+ * obtain this value from the Azure Resource Manager API or the portal.
216
+ * @param searchServiceName The name of the Azure Cognitive Search service associated with the
217
+ * specified resource group.
218
+ * @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
219
+ * Azure Cognitive Search service within the specified resource group.
220
+ * @param options The options parameters.
221
+ */
222
+ beginDeleteAndWait(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, options) {
223
+ return __awaiter(this, void 0, void 0, function* () {
224
+ const poller = yield this.beginDelete(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, options);
225
+ return poller.pollUntilDone();
226
+ });
227
+ }
228
+ /**
229
+ * Gets a list of all shared private link resources managed by the given service.
230
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
231
+ * obtain this value from the Azure Resource Manager API or the portal.
232
+ * @param searchServiceName The name of the Azure Cognitive Search service associated with the
233
+ * specified resource group.
234
+ * @param options The options parameters.
235
+ */
236
+ _listByService(resourceGroupName, searchServiceName, options) {
237
+ return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, options }, listByServiceOperationSpec);
238
+ }
239
+ /**
240
+ * ListByServiceNext
241
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
242
+ * obtain this value from the Azure Resource Manager API or the portal.
243
+ * @param searchServiceName The name of the Azure Cognitive Search service associated with the
244
+ * specified resource group.
245
+ * @param nextLink The nextLink from the previous successful call to the ListByService method.
246
+ * @param options The options parameters.
247
+ */
248
+ _listByServiceNext(resourceGroupName, searchServiceName, nextLink, options) {
249
+ return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, nextLink, options }, listByServiceNextOperationSpec);
250
+ }
251
+ }
252
+ // Operation Specifications
253
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
254
+ const createOrUpdateOperationSpec = {
255
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}",
256
+ httpMethod: "PUT",
257
+ responses: {
258
+ 200: {
259
+ bodyMapper: Mappers.SharedPrivateLinkResource
260
+ },
261
+ 201: {
262
+ bodyMapper: Mappers.SharedPrivateLinkResource
263
+ },
264
+ 202: {
265
+ bodyMapper: Mappers.SharedPrivateLinkResource
266
+ },
267
+ 204: {
268
+ bodyMapper: Mappers.SharedPrivateLinkResource
269
+ },
270
+ default: {
271
+ bodyMapper: Mappers.CloudError
272
+ }
273
+ },
274
+ requestBody: Parameters.sharedPrivateLinkResource,
275
+ queryParameters: [Parameters.apiVersion],
276
+ urlParameters: [
277
+ Parameters.$host,
278
+ Parameters.resourceGroupName,
279
+ Parameters.searchServiceName,
280
+ Parameters.subscriptionId,
281
+ Parameters.sharedPrivateLinkResourceName
282
+ ],
283
+ headerParameters: [
284
+ Parameters.accept,
285
+ Parameters.clientRequestId,
286
+ Parameters.contentType
287
+ ],
288
+ mediaType: "json",
289
+ serializer
290
+ };
291
+ const getOperationSpec = {
292
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}",
293
+ httpMethod: "GET",
294
+ responses: {
295
+ 200: {
296
+ bodyMapper: Mappers.SharedPrivateLinkResource
297
+ },
298
+ default: {
299
+ bodyMapper: Mappers.CloudError
300
+ }
301
+ },
302
+ queryParameters: [Parameters.apiVersion],
303
+ urlParameters: [
304
+ Parameters.$host,
305
+ Parameters.resourceGroupName,
306
+ Parameters.searchServiceName,
307
+ Parameters.subscriptionId,
308
+ Parameters.sharedPrivateLinkResourceName
309
+ ],
310
+ headerParameters: [Parameters.accept, Parameters.clientRequestId],
311
+ serializer
312
+ };
313
+ const deleteOperationSpec = {
314
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}",
315
+ httpMethod: "DELETE",
316
+ responses: {
317
+ 200: {},
318
+ 201: {},
319
+ 202: {},
320
+ 204: {},
321
+ default: {
322
+ bodyMapper: Mappers.CloudError
323
+ }
324
+ },
325
+ queryParameters: [Parameters.apiVersion],
326
+ urlParameters: [
327
+ Parameters.$host,
328
+ Parameters.resourceGroupName,
329
+ Parameters.searchServiceName,
330
+ Parameters.subscriptionId,
331
+ Parameters.sharedPrivateLinkResourceName
332
+ ],
333
+ headerParameters: [Parameters.accept, Parameters.clientRequestId],
334
+ serializer
335
+ };
336
+ const listByServiceOperationSpec = {
337
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/sharedPrivateLinkResources",
338
+ httpMethod: "GET",
339
+ responses: {
340
+ 200: {
341
+ bodyMapper: Mappers.SharedPrivateLinkResourceListResult
342
+ },
343
+ default: {
344
+ bodyMapper: Mappers.CloudError
345
+ }
346
+ },
347
+ queryParameters: [Parameters.apiVersion],
348
+ urlParameters: [
349
+ Parameters.$host,
350
+ Parameters.resourceGroupName,
351
+ Parameters.searchServiceName,
352
+ Parameters.subscriptionId
353
+ ],
354
+ headerParameters: [Parameters.accept, Parameters.clientRequestId],
355
+ serializer
356
+ };
357
+ const listByServiceNextOperationSpec = {
358
+ path: "{nextLink}",
359
+ httpMethod: "GET",
360
+ responses: {
361
+ 200: {
362
+ bodyMapper: Mappers.SharedPrivateLinkResourceListResult
363
+ },
364
+ default: {
365
+ bodyMapper: Mappers.CloudError
366
+ }
367
+ },
368
+ queryParameters: [Parameters.apiVersion],
369
+ urlParameters: [
370
+ Parameters.$host,
371
+ Parameters.resourceGroupName,
372
+ Parameters.searchServiceName,
373
+ Parameters.subscriptionId,
374
+ Parameters.nextLink
375
+ ],
376
+ headerParameters: [Parameters.accept, Parameters.clientRequestId],
377
+ serializer
378
+ };
379
+ //# sourceMappingURL=sharedPrivateLinkResources.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sharedPrivateLinkResources.js","sourceRoot":"","sources":["../../../src/operations/sharedPrivateLinkResources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO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B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,eAAe,CAAC;IACjE,UAAU;CACX,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { AdminKeysGetOptionalParams, AdminKeysGetResponse, AdminKeyKind, AdminKeysRegenerateOptionalParams, AdminKeysRegenerateResponse } from "../models";
2
+ /** Interface representing a AdminKeys. */
3
+ export interface AdminKeys {
4
+ /**
5
+ * Gets the primary and secondary admin API keys for the specified Azure Cognitive Search service.
6
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
7
+ * obtain this value from the Azure Resource Manager API or the portal.
8
+ * @param searchServiceName The name of the Azure Cognitive Search service associated with the
9
+ * specified resource group.
10
+ * @param options The options parameters.
11
+ */
12
+ get(resourceGroupName: string, searchServiceName: string, options?: AdminKeysGetOptionalParams): Promise<AdminKeysGetResponse>;
13
+ /**
14
+ * Regenerates either the primary or secondary admin API key. You can only regenerate one key at a
15
+ * time.
16
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
17
+ * obtain this value from the Azure Resource Manager API or the portal.
18
+ * @param searchServiceName The name of the Azure Cognitive Search service associated with the
19
+ * specified resource group.
20
+ * @param keyKind Specifies which key to regenerate. Valid values include 'primary' and 'secondary'.
21
+ * @param options The options parameters.
22
+ */
23
+ regenerate(resourceGroupName: string, searchServiceName: string, keyKind: AdminKeyKind, options?: AdminKeysRegenerateOptionalParams): Promise<AdminKeysRegenerateResponse>;
24
+ }
25
+ //# sourceMappingURL=adminKeys.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"adminKeys.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/adminKeys.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,0BAA0B,EAC1B,oBAAoB,EACpB,YAAY,EACZ,iCAAiC,EACjC,2BAA2B,EAC5B,MAAM,WAAW,CAAC;AAEnB,0CAA0C;AAC1C,MAAM,WAAW,SAAS;IACxB;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACjC;;;;;;;;;OASG;IACH,UAAU,CACR,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,YAAY,EACrB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC,CAAC;CACzC"}
@@ -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=adminKeys.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"adminKeys.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/adminKeys.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,8 @@
1
+ export * from "./operations";
2
+ export * from "./adminKeys";
3
+ export * from "./queryKeys";
4
+ export * from "./services";
5
+ export * from "./privateLinkResources";
6
+ export * from "./privateEndpointConnections";
7
+ export * from "./sharedPrivateLinkResources";
8
+ //# 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,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC"}
@@ -0,0 +1,15 @@
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 "./operations";
9
+ export * from "./adminKeys";
10
+ export * from "./queryKeys";
11
+ export * from "./services";
12
+ export * from "./privateLinkResources";
13
+ export * from "./privateEndpointConnections";
14
+ export * from "./sharedPrivateLinkResources";
15
+ //# 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,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Operation, OperationsListOptionalParams } from "../models";
3
+ /** Interface representing a Operations. */
4
+ export interface Operations {
5
+ /**
6
+ * Lists all of the available REST API operations of the Microsoft.Search provider.
7
+ * @param options The options parameters.
8
+ */
9
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
10
+ }
11
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,4BAA4B,EAAE,MAAM,WAAW,CAAC;AAGpE,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC,CAAC;CAC1C"}
@@ -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=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,50 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { PrivateEndpointConnection, PrivateEndpointConnectionsListByServiceOptionalParams, PrivateEndpointConnectionsUpdateOptionalParams, PrivateEndpointConnectionsUpdateResponse, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsDeleteOptionalParams, PrivateEndpointConnectionsDeleteResponse } from "../models";
3
+ /** Interface representing a PrivateEndpointConnections. */
4
+ export interface PrivateEndpointConnections {
5
+ /**
6
+ * Gets a list of all private endpoint connections in the given service.
7
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
8
+ * obtain this value from the Azure Resource Manager API or the portal.
9
+ * @param searchServiceName The name of the Azure Cognitive Search service associated with the
10
+ * specified resource group.
11
+ * @param options The options parameters.
12
+ */
13
+ listByService(resourceGroupName: string, searchServiceName: string, options?: PrivateEndpointConnectionsListByServiceOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
14
+ /**
15
+ * Updates a Private Endpoint connection to the search service in the given resource group.
16
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
17
+ * obtain this value from the Azure Resource Manager API or the portal.
18
+ * @param searchServiceName The name of the Azure Cognitive Search service associated with the
19
+ * specified resource group.
20
+ * @param privateEndpointConnectionName The name of the private endpoint connection to the Azure
21
+ * Cognitive Search service with the specified resource group.
22
+ * @param privateEndpointConnection The definition of the private endpoint connection to update.
23
+ * @param options The options parameters.
24
+ */
25
+ update(resourceGroupName: string, searchServiceName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: PrivateEndpointConnectionsUpdateOptionalParams): Promise<PrivateEndpointConnectionsUpdateResponse>;
26
+ /**
27
+ * Gets the details of the private endpoint connection to the search service in the given resource
28
+ * group.
29
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
30
+ * obtain this value from the Azure Resource Manager API or the portal.
31
+ * @param searchServiceName The name of the Azure Cognitive Search service associated with the
32
+ * specified resource group.
33
+ * @param privateEndpointConnectionName The name of the private endpoint connection to the Azure
34
+ * Cognitive Search service with the specified resource group.
35
+ * @param options The options parameters.
36
+ */
37
+ get(resourceGroupName: string, searchServiceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
38
+ /**
39
+ * Disconnects the private endpoint connection and deletes it from the search service.
40
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
41
+ * obtain this value from the Azure Resource Manager API or the portal.
42
+ * @param searchServiceName The name of the Azure Cognitive Search service associated with the
43
+ * specified resource group.
44
+ * @param privateEndpointConnectionName The name of the private endpoint connection to the Azure
45
+ * Cognitive Search service with the specified resource group.
46
+ * @param options The options parameters.
47
+ */
48
+ delete(resourceGroupName: string, searchServiceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PrivateEndpointConnectionsDeleteResponse>;
49
+ }
50
+ //# 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,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,yBAAyB,EACzB,qDAAqD,EACrD,8CAA8C,EAC9C,wCAAwC,EACxC,2CAA2C,EAC3C,qCAAqC,EACrC,8CAA8C,EAC9C,wCAAwC,EACzC,MAAM,WAAW,CAAC;AAGnB,2DAA2D;AAC3D,MAAM,WAAW,0BAA0B;IACzC;;;;;;;OAOG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,qDAAqD,GAC9D,0BAA0B,CAAC,yBAAyB,CAAC,CAAC;IACzD;;;;;;;;;;OAUG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,yBAAyB,EAAE,yBAAyB,EACpD,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,wCAAwC,CAAC,CAAC;IACrD;;;;;;;;;;OAUG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC,CAAC;IAClD;;;;;;;;;OASG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,wCAAwC,CAAC,CAAC;CACtD"}
@@ -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"}
@@ -0,0 +1,15 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { PrivateLinkResource, PrivateLinkResourcesListSupportedOptionalParams } from "../models";
3
+ /** Interface representing a PrivateLinkResources. */
4
+ export interface PrivateLinkResources {
5
+ /**
6
+ * Gets a list of all supported private link resource types for the given service.
7
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
8
+ * obtain this value from the Azure Resource Manager API or the portal.
9
+ * @param searchServiceName The name of the Azure Cognitive Search service associated with the
10
+ * specified resource group.
11
+ * @param options The options parameters.
12
+ */
13
+ listSupported(resourceGroupName: string, searchServiceName: string, options?: PrivateLinkResourcesListSupportedOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
14
+ }
15
+ //# 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,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,mBAAmB,EACnB,+CAA+C,EAChD,MAAM,WAAW,CAAC;AAGnB,qDAAqD;AACrD,MAAM,WAAW,oBAAoB;IACnC;;;;;;;OAOG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,+CAA+C,GACxD,0BAA0B,CAAC,mBAAmB,CAAC,CAAC;CACpD"}
@@ -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=privateLinkResources.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateLinkResources.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateLinkResources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}