@azure/arm-search 2.0.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 (209) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/{LICENSE.txt → LICENSE} +1 -1
  3. package/README.md +70 -78
  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/{esm/models/adminKeysMappers.js → dist-esm/src/index.js} +5 -2
  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/{esm → dist-esm/src}/models/mappers.js +503 -558
  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/{esm → dist-esm/src}/models/parameters.js +92 -47
  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/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  33. package/dist-esm/src/operations/index.d.ts.map +1 -0
  34. package/{esm → dist-esm/src}/operations/index.js +1 -2
  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/{src/models/adminKeysMappers.ts → dist-esm/src/operationsInterfaces/adminKeys.js} +2 -5
  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/{src/models/queryKeysMappers.ts → dist-esm/src/operationsInterfaces/operations.js} +2 -6
  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/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/privateEndpointConnections.js} +2 -7
  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/{esm/models/index.js → dist-esm/src/operationsInterfaces/services.js} +2 -1
  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 +65 -32
  101. package/review/arm-search.api.md +600 -0
  102. package/rollup.config.js +181 -30
  103. package/{esm/models/queryKeysMappers.js → src/index.ts} +5 -2
  104. package/src/lroImpl.ts +34 -0
  105. package/src/models/index.ts +563 -1357
  106. package/src/models/mappers.ts +516 -575
  107. package/src/models/parameters.ts +122 -48
  108. package/src/operations/adminKeys.ts +65 -109
  109. package/src/operations/index.ts +1 -2
  110. package/src/operations/operations.ts +64 -39
  111. package/src/operations/privateEndpointConnections.ts +223 -235
  112. package/src/operations/privateLinkResources.ts +100 -54
  113. package/src/operations/queryKeys.ts +192 -190
  114. package/src/operations/services.ts +423 -409
  115. package/src/operations/sharedPrivateLinkResources.ts +390 -232
  116. package/src/operationsInterfaces/adminKeys.ts +48 -0
  117. package/src/operationsInterfaces/index.ts +15 -0
  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 +90 -46
  125. package/tsconfig.json +3 -3
  126. package/types/arm-search.d.ts +1104 -0
  127. package/types/tsdoc-metadata.json +11 -0
  128. package/dist/arm-search.js +0 -2737
  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.map +0 -1
  135. package/esm/models/index.d.ts +0 -1499
  136. package/esm/models/index.d.ts.map +0 -1
  137. package/esm/models/index.js.map +0 -1
  138. package/esm/models/mappers.d.ts +0 -38
  139. package/esm/models/mappers.d.ts.map +0 -1
  140. package/esm/models/mappers.js.map +0 -1
  141. package/esm/models/operationsMappers.d.ts +0 -2
  142. package/esm/models/operationsMappers.d.ts.map +0 -1
  143. package/esm/models/operationsMappers.js +0 -9
  144. package/esm/models/operationsMappers.js.map +0 -1
  145. package/esm/models/parameters.d.ts +0 -14
  146. package/esm/models/parameters.d.ts.map +0 -1
  147. package/esm/models/parameters.js.map +0 -1
  148. package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
  149. package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
  150. package/esm/models/privateEndpointConnectionsMappers.js +0 -9
  151. package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
  152. package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
  153. package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
  154. package/esm/models/privateLinkResourcesMappers.js +0 -9
  155. package/esm/models/privateLinkResourcesMappers.js.map +0 -1
  156. package/esm/models/queryKeysMappers.d.ts +0 -2
  157. package/esm/models/queryKeysMappers.d.ts.map +0 -1
  158. package/esm/models/queryKeysMappers.js.map +0 -1
  159. package/esm/models/servicesMappers.d.ts +0 -2
  160. package/esm/models/servicesMappers.d.ts.map +0 -1
  161. package/esm/models/servicesMappers.js +0 -9
  162. package/esm/models/servicesMappers.js.map +0 -1
  163. package/esm/models/sharedPrivateLinkResourcesMappers.d.ts +0 -2
  164. package/esm/models/sharedPrivateLinkResourcesMappers.d.ts.map +0 -1
  165. package/esm/models/sharedPrivateLinkResourcesMappers.js +0 -9
  166. package/esm/models/sharedPrivateLinkResourcesMappers.js.map +0 -1
  167. package/esm/operations/adminKeys.d.ts +0 -74
  168. package/esm/operations/adminKeys.d.ts.map +0 -1
  169. package/esm/operations/adminKeys.js +0 -92
  170. package/esm/operations/adminKeys.js.map +0 -1
  171. package/esm/operations/index.d.ts.map +0 -1
  172. package/esm/operations/index.js.map +0 -1
  173. package/esm/operations/operations.d.ts +0 -28
  174. package/esm/operations/operations.d.ts.map +0 -1
  175. package/esm/operations/operations.js +0 -50
  176. package/esm/operations/operations.js.map +0 -1
  177. package/esm/operations/privateEndpointConnections.d.ts +0 -161
  178. package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
  179. package/esm/operations/privateEndpointConnections.js +0 -197
  180. package/esm/operations/privateEndpointConnections.js.map +0 -1
  181. package/esm/operations/privateLinkResources.d.ts +0 -40
  182. package/esm/operations/privateLinkResources.d.ts.map +0 -1
  183. package/esm/operations/privateLinkResources.js +0 -58
  184. package/esm/operations/privateLinkResources.js.map +0 -1
  185. package/esm/operations/queryKeys.d.ts +0 -120
  186. package/esm/operations/queryKeys.d.ts.map +0 -1
  187. package/esm/operations/queryKeys.js +0 -156
  188. package/esm/operations/queryKeys.js.map +0 -1
  189. package/esm/operations/services.d.ts +0 -225
  190. package/esm/operations/services.d.ts.map +0 -1
  191. package/esm/operations/services.js +0 -355
  192. package/esm/operations/services.js.map +0 -1
  193. package/esm/operations/sharedPrivateLinkResources.d.ts +0 -147
  194. package/esm/operations/sharedPrivateLinkResources.d.ts.map +0 -1
  195. package/esm/operations/sharedPrivateLinkResources.js +0 -255
  196. package/esm/operations/sharedPrivateLinkResources.js.map +0 -1
  197. package/esm/searchManagementClient.d.ts +0 -31
  198. package/esm/searchManagementClient.d.ts.map +0 -1
  199. package/esm/searchManagementClient.js +0 -44
  200. package/esm/searchManagementClient.js.map +0 -1
  201. package/esm/searchManagementClientContext.d.ts +0 -23
  202. package/esm/searchManagementClientContext.d.ts.map +0 -1
  203. package/esm/searchManagementClientContext.js +0 -61
  204. package/esm/searchManagementClientContext.js.map +0 -1
  205. package/src/models/privateEndpointConnectionsMappers.ts +0 -33
  206. package/src/models/privateLinkResourcesMappers.ts +0 -33
  207. package/src/models/servicesMappers.ts +0 -35
  208. package/src/models/sharedPrivateLinkResourcesMappers.ts +0 -33
  209. package/src/searchManagementClientContext.ts +0 -68
@@ -1,355 +0,0 @@
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
7
- * regenerated.
8
- */
9
- import { __assign } from "tslib";
10
- import * as msRest from "@azure/ms-rest-js";
11
- import * as Mappers from "../models/servicesMappers";
12
- import * as Parameters from "../models/parameters";
13
- /** Class representing a Services. */
14
- var Services = /** @class */ (function () {
15
- /**
16
- * Create a Services.
17
- * @param {SearchManagementClientContext} client Reference to the service client.
18
- */
19
- function Services(client) {
20
- this.client = client;
21
- }
22
- /**
23
- * Creates or updates a search service in the given resource group. If the search service already
24
- * exists, all properties will be updated with the given values.
25
- * @param resourceGroupName The name of the resource group within the current subscription. You can
26
- * obtain this value from the Azure Resource Manager API or the portal.
27
- * @param searchServiceName The name of the Azure Cognitive Search service to create or update.
28
- * Search service names must only contain lowercase letters, digits or dashes, cannot use dash as
29
- * the first two or last one characters, cannot contain consecutive dashes, and must be between 2
30
- * and 60 characters in length. Search service names must be globally unique since they are part of
31
- * the service URI (https://<name>.search.windows.net). You cannot change the service name after
32
- * the service is created.
33
- * @param service The definition of the search service to create or update.
34
- * @param [options] The optional parameters
35
- * @returns Promise<Models.ServicesCreateOrUpdateResponse>
36
- */
37
- Services.prototype.createOrUpdate = function (resourceGroupName, searchServiceName, service, options) {
38
- return this.beginCreateOrUpdate(resourceGroupName, searchServiceName, service, options)
39
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
40
- };
41
- Services.prototype.update = function (resourceGroupName, searchServiceName, service, options, callback) {
42
- return this.client.sendOperationRequest({
43
- resourceGroupName: resourceGroupName,
44
- searchServiceName: searchServiceName,
45
- service: service,
46
- options: options
47
- }, updateOperationSpec, callback);
48
- };
49
- Services.prototype.get = function (resourceGroupName, searchServiceName, options, callback) {
50
- return this.client.sendOperationRequest({
51
- resourceGroupName: resourceGroupName,
52
- searchServiceName: searchServiceName,
53
- options: options
54
- }, getOperationSpec, callback);
55
- };
56
- Services.prototype.deleteMethod = function (resourceGroupName, searchServiceName, options, callback) {
57
- return this.client.sendOperationRequest({
58
- resourceGroupName: resourceGroupName,
59
- searchServiceName: searchServiceName,
60
- options: options
61
- }, deleteMethodOperationSpec, callback);
62
- };
63
- Services.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
64
- return this.client.sendOperationRequest({
65
- resourceGroupName: resourceGroupName,
66
- options: options
67
- }, listByResourceGroupOperationSpec, callback);
68
- };
69
- Services.prototype.listBySubscription = function (options, callback) {
70
- return this.client.sendOperationRequest({
71
- options: options
72
- }, listBySubscriptionOperationSpec, callback);
73
- };
74
- Services.prototype.checkNameAvailability = function (name, options, callback) {
75
- return this.client.sendOperationRequest({
76
- name: name,
77
- options: options
78
- }, checkNameAvailabilityOperationSpec, callback);
79
- };
80
- /**
81
- * Creates or updates a search service in the given resource group. If the search service already
82
- * exists, all properties will be updated with the given values.
83
- * @param resourceGroupName The name of the resource group within the current subscription. You can
84
- * obtain this value from the Azure Resource Manager API or the portal.
85
- * @param searchServiceName The name of the Azure Cognitive Search service to create or update.
86
- * Search service names must only contain lowercase letters, digits or dashes, cannot use dash as
87
- * the first two or last one characters, cannot contain consecutive dashes, and must be between 2
88
- * and 60 characters in length. Search service names must be globally unique since they are part of
89
- * the service URI (https://<name>.search.windows.net). You cannot change the service name after
90
- * the service is created.
91
- * @param service The definition of the search service to create or update.
92
- * @param [options] The optional parameters
93
- * @returns Promise<msRestAzure.LROPoller>
94
- */
95
- Services.prototype.beginCreateOrUpdate = function (resourceGroupName, searchServiceName, service, options) {
96
- return this.client.sendLRORequest({
97
- resourceGroupName: resourceGroupName,
98
- searchServiceName: searchServiceName,
99
- service: service,
100
- options: options
101
- }, beginCreateOrUpdateOperationSpec, options);
102
- };
103
- Services.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
104
- return this.client.sendOperationRequest({
105
- nextPageLink: nextPageLink,
106
- options: options
107
- }, listByResourceGroupNextOperationSpec, callback);
108
- };
109
- Services.prototype.listBySubscriptionNext = function (nextPageLink, options, callback) {
110
- return this.client.sendOperationRequest({
111
- nextPageLink: nextPageLink,
112
- options: options
113
- }, listBySubscriptionNextOperationSpec, callback);
114
- };
115
- return Services;
116
- }());
117
- export { Services };
118
- // Operation Specifications
119
- var serializer = new msRest.Serializer(Mappers);
120
- var updateOperationSpec = {
121
- httpMethod: "PATCH",
122
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}",
123
- urlParameters: [
124
- Parameters.resourceGroupName,
125
- Parameters.searchServiceName,
126
- Parameters.subscriptionId
127
- ],
128
- queryParameters: [
129
- Parameters.apiVersion
130
- ],
131
- headerParameters: [
132
- Parameters.acceptLanguage,
133
- Parameters.clientRequestId
134
- ],
135
- requestBody: {
136
- parameterPath: "service",
137
- mapper: __assign(__assign({}, Mappers.SearchServiceUpdate), { required: true })
138
- },
139
- responses: {
140
- 200: {
141
- bodyMapper: Mappers.SearchService
142
- },
143
- default: {
144
- bodyMapper: Mappers.CloudError
145
- }
146
- },
147
- serializer: serializer
148
- };
149
- var getOperationSpec = {
150
- httpMethod: "GET",
151
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}",
152
- urlParameters: [
153
- Parameters.resourceGroupName,
154
- Parameters.searchServiceName,
155
- Parameters.subscriptionId
156
- ],
157
- queryParameters: [
158
- Parameters.apiVersion
159
- ],
160
- headerParameters: [
161
- Parameters.acceptLanguage,
162
- Parameters.clientRequestId
163
- ],
164
- responses: {
165
- 200: {
166
- bodyMapper: Mappers.SearchService
167
- },
168
- default: {
169
- bodyMapper: Mappers.CloudError
170
- }
171
- },
172
- serializer: serializer
173
- };
174
- var deleteMethodOperationSpec = {
175
- httpMethod: "DELETE",
176
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}",
177
- urlParameters: [
178
- Parameters.resourceGroupName,
179
- Parameters.searchServiceName,
180
- Parameters.subscriptionId
181
- ],
182
- queryParameters: [
183
- Parameters.apiVersion
184
- ],
185
- headerParameters: [
186
- Parameters.acceptLanguage,
187
- Parameters.clientRequestId
188
- ],
189
- responses: {
190
- 200: {},
191
- 204: {},
192
- 404: {},
193
- default: {
194
- bodyMapper: Mappers.CloudError
195
- }
196
- },
197
- serializer: serializer
198
- };
199
- var listByResourceGroupOperationSpec = {
200
- httpMethod: "GET",
201
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices",
202
- urlParameters: [
203
- Parameters.resourceGroupName,
204
- Parameters.subscriptionId
205
- ],
206
- queryParameters: [
207
- Parameters.apiVersion
208
- ],
209
- headerParameters: [
210
- Parameters.acceptLanguage,
211
- Parameters.clientRequestId
212
- ],
213
- responses: {
214
- 200: {
215
- bodyMapper: Mappers.SearchServiceListResult
216
- },
217
- default: {
218
- bodyMapper: Mappers.CloudError
219
- }
220
- },
221
- serializer: serializer
222
- };
223
- var listBySubscriptionOperationSpec = {
224
- httpMethod: "GET",
225
- path: "subscriptions/{subscriptionId}/providers/Microsoft.Search/searchServices",
226
- urlParameters: [
227
- Parameters.subscriptionId
228
- ],
229
- queryParameters: [
230
- Parameters.apiVersion
231
- ],
232
- headerParameters: [
233
- Parameters.acceptLanguage,
234
- Parameters.clientRequestId
235
- ],
236
- responses: {
237
- 200: {
238
- bodyMapper: Mappers.SearchServiceListResult
239
- },
240
- default: {
241
- bodyMapper: Mappers.CloudError
242
- }
243
- },
244
- serializer: serializer
245
- };
246
- var checkNameAvailabilityOperationSpec = {
247
- httpMethod: "POST",
248
- path: "subscriptions/{subscriptionId}/providers/Microsoft.Search/checkNameAvailability",
249
- urlParameters: [
250
- Parameters.subscriptionId
251
- ],
252
- queryParameters: [
253
- Parameters.apiVersion
254
- ],
255
- headerParameters: [
256
- Parameters.acceptLanguage,
257
- Parameters.clientRequestId
258
- ],
259
- requestBody: {
260
- parameterPath: {
261
- name: "name"
262
- },
263
- mapper: __assign(__assign({}, Mappers.CheckNameAvailabilityInput), { required: true })
264
- },
265
- responses: {
266
- 200: {
267
- bodyMapper: Mappers.CheckNameAvailabilityOutput
268
- },
269
- default: {
270
- bodyMapper: Mappers.CloudError
271
- }
272
- },
273
- serializer: serializer
274
- };
275
- var beginCreateOrUpdateOperationSpec = {
276
- httpMethod: "PUT",
277
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}",
278
- urlParameters: [
279
- Parameters.resourceGroupName,
280
- Parameters.searchServiceName,
281
- Parameters.subscriptionId
282
- ],
283
- queryParameters: [
284
- Parameters.apiVersion
285
- ],
286
- headerParameters: [
287
- Parameters.acceptLanguage,
288
- Parameters.clientRequestId
289
- ],
290
- requestBody: {
291
- parameterPath: "service",
292
- mapper: __assign(__assign({}, Mappers.SearchService), { required: true })
293
- },
294
- responses: {
295
- 200: {
296
- bodyMapper: Mappers.SearchService
297
- },
298
- 201: {
299
- bodyMapper: Mappers.SearchService
300
- },
301
- default: {
302
- bodyMapper: Mappers.CloudError
303
- }
304
- },
305
- serializer: serializer
306
- };
307
- var listByResourceGroupNextOperationSpec = {
308
- httpMethod: "GET",
309
- baseUrl: "https://management.azure.com",
310
- path: "{nextLink}",
311
- urlParameters: [
312
- Parameters.nextPageLink
313
- ],
314
- queryParameters: [
315
- Parameters.apiVersion
316
- ],
317
- headerParameters: [
318
- Parameters.acceptLanguage,
319
- Parameters.clientRequestId
320
- ],
321
- responses: {
322
- 200: {
323
- bodyMapper: Mappers.SearchServiceListResult
324
- },
325
- default: {
326
- bodyMapper: Mappers.CloudError
327
- }
328
- },
329
- serializer: serializer
330
- };
331
- var listBySubscriptionNextOperationSpec = {
332
- httpMethod: "GET",
333
- baseUrl: "https://management.azure.com",
334
- path: "{nextLink}",
335
- urlParameters: [
336
- Parameters.nextPageLink
337
- ],
338
- queryParameters: [
339
- Parameters.apiVersion
340
- ],
341
- headerParameters: [
342
- Parameters.acceptLanguage,
343
- Parameters.clientRequestId
344
- ],
345
- responses: {
346
- 200: {
347
- bodyMapper: Mappers.SearchServiceListResult
348
- },
349
- default: {
350
- bodyMapper: Mappers.CloudError
351
- }
352
- },
353
- serializer: serializer
354
- };
355
- //# sourceMappingURL=services.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"services.js","sourceRoot":"","sources":["../../src/operations/services.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAG5C,OAAO,KAAK,OAAO,MAAM,2BAA2B,CAAC;AACrD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,qCAAqC;AACrC;IAGE;;;OAGG;IACH,kBAAY,MAAqC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,iCAAc,GAAd,UAAe,iBAAyB,EAAE,iBAAyB,EAAE,OAA6B,EAAE,OAAqD;QACvJ,OAAO,IAAI,CAAC,mBAAmB,CAAC,iBAAiB,EAAC,iBAAiB,EAAC,OAAO,EAAC,OAAO,CAAC;aACjF,IAAI,CAAC,UAAA,SAAS,IAAI,OAAA,SAAS,CAAC,iBAAiB,EAAE,EAA7B,CAA6B,CAAmD,CAAC;IACxG,CAAC;IA6BD,yBAAM,GAAN,UAAO,iBAAyB,EAAE,iBAAyB,EAAE,OAAmC,EAAE,OAA4F,EAAE,QAAuD;QACrP,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC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aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,eAAe;KAC3B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1,147 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as msRestAzure from "@azure/ms-rest-azure-js";
3
- import * as Models from "../models";
4
- import { SearchManagementClientContext } from "../searchManagementClientContext";
5
- /** Class representing a SharedPrivateLinkResources. */
6
- export declare class SharedPrivateLinkResources {
7
- private readonly client;
8
- /**
9
- * Create a SharedPrivateLinkResources.
10
- * @param {SearchManagementClientContext} client Reference to the service client.
11
- */
12
- constructor(client: SearchManagementClientContext);
13
- /**
14
- * Initiates the creation or update of a shared private link resource managed by the search service
15
- * 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 sharedPrivateLinkResourceName The name of the shared private link resource managed by the
21
- * Azure Cognitive Search service within the specified resource group.
22
- * @param sharedPrivateLinkResource The definition of the shared private link resource to create or
23
- * update.
24
- * @param [options] The optional parameters
25
- * @returns Promise<Models.SharedPrivateLinkResourcesCreateOrUpdateResponse>
26
- */
27
- createOrUpdate(resourceGroupName: string, searchServiceName: string, sharedPrivateLinkResourceName: string, sharedPrivateLinkResource: Models.SharedPrivateLinkResource, options?: Models.SharedPrivateLinkResourcesCreateOrUpdateOptionalParams): Promise<Models.SharedPrivateLinkResourcesCreateOrUpdateResponse>;
28
- /**
29
- * Gets the details of the shared private link resource managed by the search service in the given
30
- * resource group.
31
- * @param resourceGroupName The name of the resource group within the current subscription. You can
32
- * obtain this value from the Azure Resource Manager API or the portal.
33
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
34
- * specified resource group.
35
- * @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
36
- * Azure Cognitive Search service within the specified resource group.
37
- * @param [options] The optional parameters
38
- * @returns Promise<Models.SharedPrivateLinkResourcesGetResponse>
39
- */
40
- get(resourceGroupName: string, searchServiceName: string, sharedPrivateLinkResourceName: string, options?: Models.SharedPrivateLinkResourcesGetOptionalParams): Promise<Models.SharedPrivateLinkResourcesGetResponse>;
41
- /**
42
- * @param resourceGroupName The name of the resource group within the current subscription. You can
43
- * obtain this value from the Azure Resource Manager API or the portal.
44
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
45
- * specified resource group.
46
- * @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
47
- * Azure Cognitive Search service within the specified resource group.
48
- * @param callback The callback
49
- */
50
- get(resourceGroupName: string, searchServiceName: string, sharedPrivateLinkResourceName: string, callback: msRest.ServiceCallback<Models.SharedPrivateLinkResource>): void;
51
- /**
52
- * @param resourceGroupName The name of the resource group within the current subscription. You can
53
- * obtain this value from the Azure Resource Manager API or the portal.
54
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
55
- * specified resource group.
56
- * @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
57
- * Azure Cognitive Search service within the specified resource group.
58
- * @param options The optional parameters
59
- * @param callback The callback
60
- */
61
- get(resourceGroupName: string, searchServiceName: string, sharedPrivateLinkResourceName: string, options: Models.SharedPrivateLinkResourcesGetOptionalParams, callback: msRest.ServiceCallback<Models.SharedPrivateLinkResource>): void;
62
- /**
63
- * Initiates the deletion of the shared private link resource from the search service.
64
- * @param resourceGroupName The name of the resource group within the current subscription. You can
65
- * obtain this value from the Azure Resource Manager API or the portal.
66
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
67
- * specified resource group.
68
- * @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
69
- * Azure Cognitive Search service within the specified resource group.
70
- * @param [options] The optional parameters
71
- * @returns Promise<msRest.RestResponse>
72
- */
73
- deleteMethod(resourceGroupName: string, searchServiceName: string, sharedPrivateLinkResourceName: string, options?: Models.SharedPrivateLinkResourcesDeleteMethodOptionalParams): Promise<msRest.RestResponse>;
74
- /**
75
- * Gets a list of all shared private link resources managed by the given service.
76
- * @param resourceGroupName The name of the resource group within the current subscription. You can
77
- * obtain this value from the Azure Resource Manager API or the portal.
78
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
79
- * specified resource group.
80
- * @param [options] The optional parameters
81
- * @returns Promise<Models.SharedPrivateLinkResourcesListByServiceResponse>
82
- */
83
- listByService(resourceGroupName: string, searchServiceName: string, options?: Models.SharedPrivateLinkResourcesListByServiceOptionalParams): Promise<Models.SharedPrivateLinkResourcesListByServiceResponse>;
84
- /**
85
- * @param resourceGroupName The name of the resource group within the current subscription. You can
86
- * obtain this value from the Azure Resource Manager API or the portal.
87
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
88
- * specified resource group.
89
- * @param callback The callback
90
- */
91
- listByService(resourceGroupName: string, searchServiceName: string, callback: msRest.ServiceCallback<Models.SharedPrivateLinkResourceListResult>): void;
92
- /**
93
- * @param resourceGroupName The name of the resource group within the current subscription. You can
94
- * obtain this value from the Azure Resource Manager API or the portal.
95
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
96
- * specified resource group.
97
- * @param options The optional parameters
98
- * @param callback The callback
99
- */
100
- listByService(resourceGroupName: string, searchServiceName: string, options: Models.SharedPrivateLinkResourcesListByServiceOptionalParams, callback: msRest.ServiceCallback<Models.SharedPrivateLinkResourceListResult>): void;
101
- /**
102
- * Initiates the creation or update of a shared private link resource managed by the search service
103
- * in the given resource group.
104
- * @param resourceGroupName The name of the resource group within the current subscription. You can
105
- * obtain this value from the Azure Resource Manager API or the portal.
106
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
107
- * specified resource group.
108
- * @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
109
- * Azure Cognitive Search service within the specified resource group.
110
- * @param sharedPrivateLinkResource The definition of the shared private link resource to create or
111
- * update.
112
- * @param [options] The optional parameters
113
- * @returns Promise<msRestAzure.LROPoller>
114
- */
115
- beginCreateOrUpdate(resourceGroupName: string, searchServiceName: string, sharedPrivateLinkResourceName: string, sharedPrivateLinkResource: Models.SharedPrivateLinkResource, options?: Models.SharedPrivateLinkResourcesBeginCreateOrUpdateOptionalParams): Promise<msRestAzure.LROPoller>;
116
- /**
117
- * Initiates the deletion of the shared private link resource from the search service.
118
- * @param resourceGroupName The name of the resource group within the current subscription. You can
119
- * obtain this value from the Azure Resource Manager API or the portal.
120
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
121
- * specified resource group.
122
- * @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
123
- * Azure Cognitive Search service within the specified resource group.
124
- * @param [options] The optional parameters
125
- * @returns Promise<msRestAzure.LROPoller>
126
- */
127
- beginDeleteMethod(resourceGroupName: string, searchServiceName: string, sharedPrivateLinkResourceName: string, options?: Models.SharedPrivateLinkResourcesBeginDeleteMethodOptionalParams): Promise<msRestAzure.LROPoller>;
128
- /**
129
- * Gets a list of all shared private link resources managed by the given service.
130
- * @param nextPageLink The NextLink from the previous successful call to List operation.
131
- * @param [options] The optional parameters
132
- * @returns Promise<Models.SharedPrivateLinkResourcesListByServiceNextResponse>
133
- */
134
- listByServiceNext(nextPageLink: string, options?: Models.SharedPrivateLinkResourcesListByServiceNextOptionalParams): Promise<Models.SharedPrivateLinkResourcesListByServiceNextResponse>;
135
- /**
136
- * @param nextPageLink The NextLink from the previous successful call to List operation.
137
- * @param callback The callback
138
- */
139
- listByServiceNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.SharedPrivateLinkResourceListResult>): void;
140
- /**
141
- * @param nextPageLink The NextLink from the previous successful call to List operation.
142
- * @param options The optional parameters
143
- * @param callback The callback
144
- */
145
- listByServiceNext(nextPageLink: string, options: Models.SharedPrivateLinkResourcesListByServiceNextOptionalParams, callback: msRest.ServiceCallback<Models.SharedPrivateLinkResourceListResult>): void;
146
- }
147
- //# sourceMappingURL=sharedPrivateLinkResources.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sharedPrivateLinkResources.d.ts","sourceRoot":"","sources":["../../src/operations/sharedPrivateLinkResources.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AACvD,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AAEjF,uDAAuD;AACvD,qBAAa,0BAA0B;IACrC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IAEvD;;;OAGG;gBACS,MAAM,EAAE,6BAA6B;IAIjD;;;;;;;;;;;;;OAaG;IACH,cAAc,CAAC,iBAAiB,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,6BAA6B,EAAE,MAAM,EAAE,yBAAyB,EAAE,MAAM,CAAC,yBAAyB,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,sDAAsD,GAAG,OAAO,CAAC,MAAM,CAAC,gDAAgD,CAAC;IAKnT;;;;;;;;;;;OAWG;IACH,GAAG,CAAC,iBAAiB,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,6BAA6B,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,2CAA2C,GAAG,OAAO,CAAC,MAAM,CAAC,qCAAqC,CAAC;IACrN;;;;;;;;OAQG;IACH,GAAG,CAAC,iBAAiB,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,6BAA6B,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,yBAAyB,CAAC,GAAG,IAAI;IAC1K;;;;;;;;;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