@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,255 +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/sharedPrivateLinkResourcesMappers";
12
- import * as Parameters from "../models/parameters";
13
- /** Class representing a SharedPrivateLinkResources. */
14
- var SharedPrivateLinkResources = /** @class */ (function () {
15
- /**
16
- * Create a SharedPrivateLinkResources.
17
- * @param {SearchManagementClientContext} client Reference to the service client.
18
- */
19
- function SharedPrivateLinkResources(client) {
20
- this.client = client;
21
- }
22
- /**
23
- * Initiates the creation or update of a shared private link resource managed by the search service
24
- * in the given resource group.
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 associated with the
28
- * specified resource group.
29
- * @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
30
- * Azure Cognitive Search service within the specified resource group.
31
- * @param sharedPrivateLinkResource The definition of the shared private link resource to create or
32
- * update.
33
- * @param [options] The optional parameters
34
- * @returns Promise<Models.SharedPrivateLinkResourcesCreateOrUpdateResponse>
35
- */
36
- SharedPrivateLinkResources.prototype.createOrUpdate = function (resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, sharedPrivateLinkResource, options) {
37
- return this.beginCreateOrUpdate(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, sharedPrivateLinkResource, options)
38
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
39
- };
40
- SharedPrivateLinkResources.prototype.get = function (resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, options, callback) {
41
- return this.client.sendOperationRequest({
42
- resourceGroupName: resourceGroupName,
43
- searchServiceName: searchServiceName,
44
- sharedPrivateLinkResourceName: sharedPrivateLinkResourceName,
45
- options: options
46
- }, getOperationSpec, callback);
47
- };
48
- /**
49
- * Initiates the deletion of the shared private link resource from the search service.
50
- * @param resourceGroupName The name of the resource group within the current subscription. You can
51
- * obtain this value from the Azure Resource Manager API or the portal.
52
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
53
- * specified resource group.
54
- * @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
55
- * Azure Cognitive Search service within the specified resource group.
56
- * @param [options] The optional parameters
57
- * @returns Promise<msRest.RestResponse>
58
- */
59
- SharedPrivateLinkResources.prototype.deleteMethod = function (resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, options) {
60
- return this.beginDeleteMethod(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, options)
61
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
62
- };
63
- SharedPrivateLinkResources.prototype.listByService = function (resourceGroupName, searchServiceName, options, callback) {
64
- return this.client.sendOperationRequest({
65
- resourceGroupName: resourceGroupName,
66
- searchServiceName: searchServiceName,
67
- options: options
68
- }, listByServiceOperationSpec, callback);
69
- };
70
- /**
71
- * Initiates the creation or update of a shared private link resource managed by the search service
72
- * in the given resource group.
73
- * @param resourceGroupName The name of the resource group within the current subscription. You can
74
- * obtain this value from the Azure Resource Manager API or the portal.
75
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
76
- * specified resource group.
77
- * @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
78
- * Azure Cognitive Search service within the specified resource group.
79
- * @param sharedPrivateLinkResource The definition of the shared private link resource to create or
80
- * update.
81
- * @param [options] The optional parameters
82
- * @returns Promise<msRestAzure.LROPoller>
83
- */
84
- SharedPrivateLinkResources.prototype.beginCreateOrUpdate = function (resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, sharedPrivateLinkResource, options) {
85
- return this.client.sendLRORequest({
86
- resourceGroupName: resourceGroupName,
87
- searchServiceName: searchServiceName,
88
- sharedPrivateLinkResourceName: sharedPrivateLinkResourceName,
89
- sharedPrivateLinkResource: sharedPrivateLinkResource,
90
- options: options
91
- }, beginCreateOrUpdateOperationSpec, options);
92
- };
93
- /**
94
- * Initiates the deletion of the shared private link resource from the search service.
95
- * @param resourceGroupName The name of the resource group within the current subscription. You can
96
- * obtain this value from the Azure Resource Manager API or the portal.
97
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
98
- * specified resource group.
99
- * @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
100
- * Azure Cognitive Search service within the specified resource group.
101
- * @param [options] The optional parameters
102
- * @returns Promise<msRestAzure.LROPoller>
103
- */
104
- SharedPrivateLinkResources.prototype.beginDeleteMethod = function (resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, options) {
105
- return this.client.sendLRORequest({
106
- resourceGroupName: resourceGroupName,
107
- searchServiceName: searchServiceName,
108
- sharedPrivateLinkResourceName: sharedPrivateLinkResourceName,
109
- options: options
110
- }, beginDeleteMethodOperationSpec, options);
111
- };
112
- SharedPrivateLinkResources.prototype.listByServiceNext = function (nextPageLink, options, callback) {
113
- return this.client.sendOperationRequest({
114
- nextPageLink: nextPageLink,
115
- options: options
116
- }, listByServiceNextOperationSpec, callback);
117
- };
118
- return SharedPrivateLinkResources;
119
- }());
120
- export { SharedPrivateLinkResources };
121
- // Operation Specifications
122
- var serializer = new msRest.Serializer(Mappers);
123
- var getOperationSpec = {
124
- httpMethod: "GET",
125
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}",
126
- urlParameters: [
127
- Parameters.resourceGroupName,
128
- Parameters.searchServiceName,
129
- Parameters.sharedPrivateLinkResourceName,
130
- Parameters.subscriptionId
131
- ],
132
- queryParameters: [
133
- Parameters.apiVersion
134
- ],
135
- headerParameters: [
136
- Parameters.acceptLanguage,
137
- Parameters.clientRequestId
138
- ],
139
- responses: {
140
- 200: {
141
- bodyMapper: Mappers.SharedPrivateLinkResource
142
- },
143
- default: {
144
- bodyMapper: Mappers.CloudError
145
- }
146
- },
147
- serializer: serializer
148
- };
149
- var listByServiceOperationSpec = {
150
- httpMethod: "GET",
151
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/sharedPrivateLinkResources",
152
- urlParameters: [
153
- Parameters.subscriptionId,
154
- Parameters.resourceGroupName,
155
- Parameters.searchServiceName
156
- ],
157
- queryParameters: [
158
- Parameters.apiVersion
159
- ],
160
- headerParameters: [
161
- Parameters.acceptLanguage,
162
- Parameters.clientRequestId
163
- ],
164
- responses: {
165
- 200: {
166
- bodyMapper: Mappers.SharedPrivateLinkResourceListResult
167
- },
168
- default: {
169
- bodyMapper: Mappers.CloudError
170
- }
171
- },
172
- serializer: serializer
173
- };
174
- var beginCreateOrUpdateOperationSpec = {
175
- httpMethod: "PUT",
176
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}",
177
- urlParameters: [
178
- Parameters.resourceGroupName,
179
- Parameters.searchServiceName,
180
- Parameters.sharedPrivateLinkResourceName,
181
- Parameters.subscriptionId
182
- ],
183
- queryParameters: [
184
- Parameters.apiVersion
185
- ],
186
- headerParameters: [
187
- Parameters.acceptLanguage,
188
- Parameters.clientRequestId
189
- ],
190
- requestBody: {
191
- parameterPath: "sharedPrivateLinkResource",
192
- mapper: __assign(__assign({}, Mappers.SharedPrivateLinkResource), { required: true })
193
- },
194
- responses: {
195
- 200: {
196
- bodyMapper: Mappers.SharedPrivateLinkResource
197
- },
198
- 202: {},
199
- default: {
200
- bodyMapper: Mappers.CloudError
201
- }
202
- },
203
- serializer: serializer
204
- };
205
- var beginDeleteMethodOperationSpec = {
206
- httpMethod: "DELETE",
207
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}",
208
- urlParameters: [
209
- Parameters.resourceGroupName,
210
- Parameters.searchServiceName,
211
- Parameters.sharedPrivateLinkResourceName,
212
- Parameters.subscriptionId
213
- ],
214
- queryParameters: [
215
- Parameters.apiVersion
216
- ],
217
- headerParameters: [
218
- Parameters.acceptLanguage,
219
- Parameters.clientRequestId
220
- ],
221
- responses: {
222
- 202: {},
223
- 204: {},
224
- 404: {},
225
- default: {
226
- bodyMapper: Mappers.CloudError
227
- }
228
- },
229
- serializer: serializer
230
- };
231
- var listByServiceNextOperationSpec = {
232
- httpMethod: "GET",
233
- baseUrl: "https://management.azure.com",
234
- path: "{nextLink}",
235
- urlParameters: [
236
- Parameters.nextPageLink
237
- ],
238
- queryParameters: [
239
- Parameters.apiVersion
240
- ],
241
- headerParameters: [
242
- Parameters.acceptLanguage,
243
- Parameters.clientRequestId
244
- ],
245
- responses: {
246
- 200: {
247
- bodyMapper: Mappers.SharedPrivateLinkResourceListResult
248
- },
249
- default: {
250
- bodyMapper: Mappers.CloudError
251
- }
252
- },
253
- serializer: serializer
254
- };
255
- //# sourceMappingURL=sharedPrivateLinkResources.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sharedPrivateLinkResources.js","sourceRoot":"","sources":["../../src/operations/sharedPrivateLinkResources.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAG5C,OAAO,KAAK,OAAO,MAAM,6CAA6C,CAAC;AACvE,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,uDAAuD;AACvD;IAGE;;;OAGG;IACH,oCAAY,MAAqC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ACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,8BAA8B,GAAyB;IAC3D,UAAU,EAAE,QAAQ;IACpB,IAAI,EAAE,4LAA4L;IAClM,aAAa,EAAE;QACb,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,6BAA6B;QACxC,UAAU,CAAC,cAAc;KAC1B;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,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,8BAA8B,GAAyB;IAC3D,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,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,mCAAmC;SACxD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1,31 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import { TokenCredential } from "@azure/core-auth";
3
- import * as Models from "./models";
4
- import * as Mappers from "./models/mappers";
5
- import * as operations from "./operations";
6
- import { SearchManagementClientContext } from "./searchManagementClientContext";
7
- declare class SearchManagementClient extends SearchManagementClientContext {
8
- operations: operations.Operations;
9
- adminKeys: operations.AdminKeys;
10
- queryKeys: operations.QueryKeys;
11
- services: operations.Services;
12
- privateLinkResources: operations.PrivateLinkResources;
13
- privateEndpointConnections: operations.PrivateEndpointConnections;
14
- sharedPrivateLinkResources: operations.SharedPrivateLinkResources;
15
- /**
16
- * Initializes a new instance of the SearchManagementClient class.
17
- * @param credentials Credentials needed for the client to connect to Azure. Credentials
18
- * implementing the TokenCredential interface from the @azure/identity package are recommended. For
19
- * more information about these credentials, see
20
- * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
21
- * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
22
- * @azure/ms-rest-browserauth are also supported.
23
- * @param subscriptionId The unique identifier for a Microsoft Azure subscription. You can obtain
24
- * this value from the Azure Resource Manager API or the portal.
25
- * @param [options] The parameter options
26
- */
27
- constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.SearchManagementClientOptions);
28
- }
29
- export { SearchManagementClient, SearchManagementClientContext, Models as SearchManagementModels, Mappers as SearchManagementMappers };
30
- export * from "./operations";
31
- //# sourceMappingURL=searchManagementClient.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"searchManagementClient.d.ts","sourceRoot":"","sources":["../src/searchManagementClient.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAGhF,cAAM,sBAAuB,SAAQ,6BAA6B;IAEhE,UAAU,EAAE,UAAU,CAAC,UAAU,CAAC;IAClC,SAAS,EAAE,UAAU,CAAC,SAAS,CAAC;IAChC,SAAS,EAAE,UAAU,CAAC,SAAS,CAAC;IAChC,QAAQ,EAAE,UAAU,CAAC,QAAQ,CAAC;IAC9B,oBAAoB,EAAE,UAAU,CAAC,oBAAoB,CAAC;IACtD,0BAA0B,EAAE,UAAU,CAAC,0BAA0B,CAAC;IAClE,0BAA0B,EAAE,UAAU,CAAC,0BAA0B,CAAC;IAElE;;;;;;;;;;;OAWG;gBACS,WAAW,EAAE,MAAM,CAAC,wBAAwB,GAAG,eAAe,EAAE,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,6BAA6B;CAUnJ;AAID,OAAO,EACL,sBAAsB,EACtB,6BAA6B,EAC7B,MAAM,IAAI,sBAAsB,EAChC,OAAO,IAAI,uBAAuB,EACnC,CAAC;AACF,cAAc,cAAc,CAAC"}
@@ -1,44 +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 { __extends } from "tslib";
10
- import * as Models from "./models";
11
- import * as Mappers from "./models/mappers";
12
- import * as operations from "./operations";
13
- import { SearchManagementClientContext } from "./searchManagementClientContext";
14
- var SearchManagementClient = /** @class */ (function (_super) {
15
- __extends(SearchManagementClient, _super);
16
- /**
17
- * Initializes a new instance of the SearchManagementClient class.
18
- * @param credentials Credentials needed for the client to connect to Azure. Credentials
19
- * implementing the TokenCredential interface from the @azure/identity package are recommended. For
20
- * more information about these credentials, see
21
- * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
22
- * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
23
- * @azure/ms-rest-browserauth are also supported.
24
- * @param subscriptionId The unique identifier for a Microsoft Azure subscription. You can obtain
25
- * this value from the Azure Resource Manager API or the portal.
26
- * @param [options] The parameter options
27
- */
28
- function SearchManagementClient(credentials, subscriptionId, options) {
29
- var _this = _super.call(this, credentials, subscriptionId, options) || this;
30
- _this.operations = new operations.Operations(_this);
31
- _this.adminKeys = new operations.AdminKeys(_this);
32
- _this.queryKeys = new operations.QueryKeys(_this);
33
- _this.services = new operations.Services(_this);
34
- _this.privateLinkResources = new operations.PrivateLinkResources(_this);
35
- _this.privateEndpointConnections = new operations.PrivateEndpointConnections(_this);
36
- _this.sharedPrivateLinkResources = new operations.SharedPrivateLinkResources(_this);
37
- return _this;
38
- }
39
- return SearchManagementClient;
40
- }(SearchManagementClientContext));
41
- // Operation Specifications
42
- export { SearchManagementClient, SearchManagementClientContext, Models as SearchManagementModels, Mappers as SearchManagementMappers };
43
- export * from "./operations";
44
- //# sourceMappingURL=searchManagementClient.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"searchManagementClient.js","sourceRoot":"","sources":["../src/searchManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;AAIH,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAGhF;IAAqC,0CAA6B;IAUhE;;;;;;;;;;;OAWG;IACH,gCAAY,WAA8D,EAAE,cAAsB,EAAE,OAA8C;QAAlJ,YACE,kBAAM,WAAW,EAAE,cAAc,EAAE,OAAO,CAAC,SAQ5C;QAPC,KAAI,CAAC,UAAU,GAAG,IAAI,UAAU,CAAC,UAAU,CAAC,KAAI,CAAC,CAAC;QAClD,KAAI,CAAC,SAAS,GAAG,IAAI,UAAU,CAAC,SAAS,CAAC,KAAI,CAAC,CAAC;QAChD,KAAI,CAAC,SAAS,GAAG,IAAI,UAAU,CAAC,SAAS,CAAC,KAAI,CAAC,CAAC;QAChD,KAAI,CAAC,QAAQ,GAAG,IAAI,UAAU,CAAC,QAAQ,CAAC,KAAI,CAAC,CAAC;QAC9C,KAAI,CAAC,oBAAoB,GAAG,IAAI,UAAU,CAAC,oBAAoB,CAAC,KAAI,CAAC,CAAC;QACtE,KAAI,CAAC,0BAA0B,GAAG,IAAI,UAAU,CAAC,0BAA0B,CAAC,KAAI,CAAC,CAAC;QAClF,KAAI,CAAC,0BAA0B,GAAG,IAAI,UAAU,CAAC,0BAA0B,CAAC,KAAI,CAAC,CAAC;;IACpF,CAAC;IACH,6BAAC;AAAD,CAAC,AAhCD,CAAqC,6BAA6B,GAgCjE;AAED,2BAA2B;AAE3B,OAAO,EACL,sBAAsB,EACtB,6BAA6B,EAC7B,MAAM,IAAI,sBAAsB,EAChC,OAAO,IAAI,uBAAuB,EACnC,CAAC;AACF,cAAc,cAAc,CAAC"}
@@ -1,23 +0,0 @@
1
- import * as Models from "./models";
2
- import * as msRest from "@azure/ms-rest-js";
3
- import * as msRestAzure from "@azure/ms-rest-azure-js";
4
- import { TokenCredential } from "@azure/core-auth";
5
- export declare class SearchManagementClientContext extends msRestAzure.AzureServiceClient {
6
- credentials: msRest.ServiceClientCredentials | TokenCredential;
7
- subscriptionId: string;
8
- apiVersion?: string;
9
- /**
10
- * Initializes a new instance of the SearchManagementClient class.
11
- * @param credentials Credentials needed for the client to connect to Azure. Credentials
12
- * implementing the TokenCredential interface from the @azure/identity package are recommended. For
13
- * more information about these credentials, see
14
- * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
15
- * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
16
- * @azure/ms-rest-browserauth are also supported.
17
- * @param subscriptionId The unique identifier for a Microsoft Azure subscription. You can obtain
18
- * this value from the Azure Resource Manager API or the portal.
19
- * @param [options] The parameter options
20
- */
21
- constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.SearchManagementClientOptions);
22
- }
23
- //# sourceMappingURL=searchManagementClientContext.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"searchManagementClientContext.d.ts","sourceRoot":"","sources":["../src/searchManagementClientContext.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAKnD,qBAAa,6BAA8B,SAAQ,WAAW,CAAC,kBAAkB;IAC/E,WAAW,EAAE,MAAM,CAAC,wBAAwB,GAAG,eAAe,CAAC;IAC/D,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;;;;;;;;OAWG;gBACS,WAAW,EAAE,MAAM,CAAC,wBAAwB,GAAG,eAAe,EAAE,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,6BAA6B;CAiCnJ"}
@@ -1,61 +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 { __extends } from "tslib";
10
- import * as msRestAzure from "@azure/ms-rest-azure-js";
11
- var packageName = "@azure/arm-search";
12
- var packageVersion = "2.0.0";
13
- var SearchManagementClientContext = /** @class */ (function (_super) {
14
- __extends(SearchManagementClientContext, _super);
15
- /**
16
- * Initializes a new instance of the SearchManagementClient class.
17
- * @param credentials Credentials needed for the client to connect to Azure. Credentials
18
- * implementing the TokenCredential interface from the @azure/identity package are recommended. For
19
- * more information about these credentials, see
20
- * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
21
- * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
22
- * @azure/ms-rest-browserauth are also supported.
23
- * @param subscriptionId The unique identifier for a Microsoft Azure subscription. You can obtain
24
- * this value from the Azure Resource Manager API or the portal.
25
- * @param [options] The parameter options
26
- */
27
- function SearchManagementClientContext(credentials, subscriptionId, options) {
28
- var _this = this;
29
- if (credentials == undefined) {
30
- throw new Error('\'credentials\' cannot be null.');
31
- }
32
- if (subscriptionId == undefined) {
33
- throw new Error('\'subscriptionId\' cannot be null.');
34
- }
35
- if (!options) {
36
- options = {};
37
- }
38
- if (!options.userAgent) {
39
- var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
40
- options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
41
- }
42
- _this = _super.call(this, credentials, options) || this;
43
- _this.apiVersion = '2020-08-01';
44
- _this.acceptLanguage = 'en-US';
45
- _this.longRunningOperationRetryTimeout = 30;
46
- _this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
47
- _this.requestContentType = "application/json; charset=utf-8";
48
- _this.credentials = credentials;
49
- _this.subscriptionId = subscriptionId;
50
- if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
51
- _this.acceptLanguage = options.acceptLanguage;
52
- }
53
- if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
54
- _this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
55
- }
56
- return _this;
57
- }
58
- return SearchManagementClientContext;
59
- }(msRestAzure.AzureServiceClient));
60
- export { SearchManagementClientContext };
61
- //# sourceMappingURL=searchManagementClientContext.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"searchManagementClientContext.js","sourceRoot":"","sources":["../src/searchManagementClientContext.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;AAIH,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AAGvD,IAAM,WAAW,GAAG,mBAAmB,CAAC;AACxC,IAAM,cAAc,GAAG,OAAO,CAAC;AAE/B;IAAmD,iDAA8B;IAK/E;;;;;;;;;;;OAWG;IACH,uCAAY,WAA8D,EAAE,cAAsB,EAAE,OAA8C;QAAlJ,iBAgCC;QA/BC,IAAI,WAAW,IAAI,SAAS,EAAE;YAC5B,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAA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oRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- export {
10
- AzureEntityResource,
11
- BaseResource,
12
- CloudError,
13
- Identity,
14
- IpRule,
15
- NetworkRuleSet,
16
- PrivateEndpointConnection,
17
- PrivateEndpointConnectionListResult,
18
- PrivateEndpointConnectionProperties,
19
- PrivateEndpointConnectionPropertiesPrivateEndpoint,
20
- PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState,
21
- PrivateLinkResource,
22
- PrivateLinkResourceProperties,
23
- ProxyResource,
24
- Resource,
25
- SearchService,
26
- SearchServiceUpdate,
27
- ShareablePrivateLinkResourceProperties,
28
- ShareablePrivateLinkResourceType,
29
- SharedPrivateLinkResource,
30
- SharedPrivateLinkResourceProperties,
31
- Sku,
32
- TrackedResource
33
- } from "../models/mappers";
@@ -1,33 +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 regenerated.
7
- */
8
-
9
- export {
10
- AzureEntityResource,
11
- BaseResource,
12
- CloudError,
13
- Identity,
14
- IpRule,
15
- NetworkRuleSet,
16
- PrivateEndpointConnection,
17
- PrivateEndpointConnectionProperties,
18
- PrivateEndpointConnectionPropertiesPrivateEndpoint,
19
- PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState,
20
- PrivateLinkResource,
21
- PrivateLinkResourceProperties,
22
- PrivateLinkResourcesResult,
23
- ProxyResource,
24
- Resource,
25
- SearchService,
26
- SearchServiceUpdate,
27
- ShareablePrivateLinkResourceProperties,
28
- ShareablePrivateLinkResourceType,
29
- SharedPrivateLinkResource,
30
- SharedPrivateLinkResourceProperties,
31
- Sku,
32
- TrackedResource
33
- } from "../models/mappers";
@@ -1,35 +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 regenerated.
7
- */
8
-
9
- export {
10
- AzureEntityResource,
11
- BaseResource,
12
- CheckNameAvailabilityInput,
13
- CheckNameAvailabilityOutput,
14
- CloudError,
15
- Identity,
16
- IpRule,
17
- NetworkRuleSet,
18
- PrivateEndpointConnection,
19
- PrivateEndpointConnectionProperties,
20
- PrivateEndpointConnectionPropertiesPrivateEndpoint,
21
- PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState,
22
- PrivateLinkResource,
23
- PrivateLinkResourceProperties,
24
- ProxyResource,
25
- Resource,
26
- SearchService,
27
- SearchServiceListResult,
28
- SearchServiceUpdate,
29
- ShareablePrivateLinkResourceProperties,
30
- ShareablePrivateLinkResourceType,
31
- SharedPrivateLinkResource,
32
- SharedPrivateLinkResourceProperties,
33
- Sku,
34
- TrackedResource
35
- } from "../models/mappers";
@@ -1,33 +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 regenerated.
7
- */
8
-
9
- export {
10
- AzureEntityResource,
11
- BaseResource,
12
- CloudError,
13
- Identity,
14
- IpRule,
15
- NetworkRuleSet,
16
- PrivateEndpointConnection,
17
- PrivateEndpointConnectionProperties,
18
- PrivateEndpointConnectionPropertiesPrivateEndpoint,
19
- PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState,
20
- PrivateLinkResource,
21
- PrivateLinkResourceProperties,
22
- ProxyResource,
23
- Resource,
24
- SearchService,
25
- SearchServiceUpdate,
26
- ShareablePrivateLinkResourceProperties,
27
- ShareablePrivateLinkResourceType,
28
- SharedPrivateLinkResource,
29
- SharedPrivateLinkResourceListResult,
30
- SharedPrivateLinkResourceProperties,
31
- Sku,
32
- TrackedResource
33
- } from "../models/mappers";
@@ -1,68 +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
-
10
- import * as Models from "./models";
11
- import * as msRest from "@azure/ms-rest-js";
12
- import * as msRestAzure from "@azure/ms-rest-azure-js";
13
- import { TokenCredential } from "@azure/core-auth";
14
-
15
- const packageName = "@azure/arm-search";
16
- const packageVersion = "2.0.0";
17
-
18
- export class SearchManagementClientContext extends msRestAzure.AzureServiceClient {
19
- credentials: msRest.ServiceClientCredentials | TokenCredential;
20
- subscriptionId: string;
21
- apiVersion?: string;
22
-
23
- /**
24
- * Initializes a new instance of the SearchManagementClient class.
25
- * @param credentials Credentials needed for the client to connect to Azure. Credentials
26
- * implementing the TokenCredential interface from the @azure/identity package are recommended. For
27
- * more information about these credentials, see
28
- * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
29
- * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
30
- * @azure/ms-rest-browserauth are also supported.
31
- * @param subscriptionId The unique identifier for a Microsoft Azure subscription. You can obtain
32
- * this value from the Azure Resource Manager API or the portal.
33
- * @param [options] The parameter options
34
- */
35
- constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.SearchManagementClientOptions) {
36
- if (credentials == undefined) {
37
- throw new Error('\'credentials\' cannot be null.');
38
- }
39
- if (subscriptionId == undefined) {
40
- throw new Error('\'subscriptionId\' cannot be null.');
41
- }
42
-
43
- if (!options) {
44
- options = {};
45
- }
46
- if (!options.userAgent) {
47
- const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
48
- options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
49
- }
50
-
51
- super(credentials, options);
52
-
53
- this.apiVersion = '2020-08-01';
54
- this.acceptLanguage = 'en-US';
55
- this.longRunningOperationRetryTimeout = 30;
56
- this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
57
- this.requestContentType = "application/json; charset=utf-8";
58
- this.credentials = credentials;
59
- this.subscriptionId = subscriptionId;
60
-
61
- if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
62
- this.acceptLanguage = options.acceptLanguage;
63
- }
64
- if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
65
- this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
66
- }
67
- }
68
- }