@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,600 @@
1
+ ## API Report File for "@azure/arm-search"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import * as coreAuth from '@azure/core-auth';
8
+ import * as coreClient from '@azure/core-client';
9
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
10
+ import { PollerLike } from '@azure/core-lro';
11
+ import { PollOperationState } from '@azure/core-lro';
12
+
13
+ // @public
14
+ export type AdminKeyKind = "primary" | "secondary";
15
+
16
+ // @public
17
+ export interface AdminKeyResult {
18
+ readonly primaryKey?: string;
19
+ readonly secondaryKey?: string;
20
+ }
21
+
22
+ // @public
23
+ export interface AdminKeys {
24
+ get(resourceGroupName: string, searchServiceName: string, options?: AdminKeysGetOptionalParams): Promise<AdminKeysGetResponse>;
25
+ regenerate(resourceGroupName: string, searchServiceName: string, keyKind: AdminKeyKind, options?: AdminKeysRegenerateOptionalParams): Promise<AdminKeysRegenerateResponse>;
26
+ }
27
+
28
+ // @public
29
+ export interface AdminKeysGetOptionalParams extends coreClient.OperationOptions {
30
+ searchManagementRequestOptions?: SearchManagementRequestOptions;
31
+ }
32
+
33
+ // @public
34
+ export type AdminKeysGetResponse = AdminKeyResult;
35
+
36
+ // @public
37
+ export interface AdminKeysRegenerateOptionalParams extends coreClient.OperationOptions {
38
+ searchManagementRequestOptions?: SearchManagementRequestOptions;
39
+ }
40
+
41
+ // @public
42
+ export type AdminKeysRegenerateResponse = AdminKeyResult;
43
+
44
+ // @public
45
+ export interface AsyncOperationResult {
46
+ status?: SharedPrivateLinkResourceAsyncOperationResult;
47
+ }
48
+
49
+ // @public
50
+ export interface CheckNameAvailabilityInput {
51
+ name: string;
52
+ type: "searchServices";
53
+ }
54
+
55
+ // @public
56
+ export interface CheckNameAvailabilityOutput {
57
+ readonly isNameAvailable?: boolean;
58
+ readonly message?: string;
59
+ readonly reason?: UnavailableNameReason;
60
+ }
61
+
62
+ // @public
63
+ export interface CloudError {
64
+ error?: CloudErrorBody;
65
+ }
66
+
67
+ // @public
68
+ export interface CloudErrorBody {
69
+ code?: string;
70
+ details?: CloudErrorBody[];
71
+ message?: string;
72
+ target?: string;
73
+ }
74
+
75
+ // @public
76
+ export type HostingMode = "default" | "highDensity";
77
+
78
+ // @public
79
+ export interface Identity {
80
+ readonly principalId?: string;
81
+ readonly tenantId?: string;
82
+ type: IdentityType;
83
+ }
84
+
85
+ // @public
86
+ export type IdentityType = "None" | "SystemAssigned";
87
+
88
+ // @public
89
+ export interface IpRule {
90
+ value?: string;
91
+ }
92
+
93
+ // @public
94
+ export enum KnownSharedPrivateLinkResourceAsyncOperationResult {
95
+ // (undocumented)
96
+ Failed = "Failed",
97
+ // (undocumented)
98
+ Running = "Running",
99
+ // (undocumented)
100
+ Succeeded = "Succeeded"
101
+ }
102
+
103
+ // @public
104
+ export enum KnownUnavailableNameReason {
105
+ // (undocumented)
106
+ AlreadyExists = "AlreadyExists",
107
+ // (undocumented)
108
+ Invalid = "Invalid"
109
+ }
110
+
111
+ // @public
112
+ export interface ListQueryKeysResult {
113
+ readonly nextLink?: string;
114
+ readonly value?: QueryKey[];
115
+ }
116
+
117
+ // @public
118
+ export interface NetworkRuleSet {
119
+ ipRules?: IpRule[];
120
+ }
121
+
122
+ // @public
123
+ export interface Operation {
124
+ readonly display?: OperationDisplay;
125
+ readonly name?: string;
126
+ }
127
+
128
+ // @public
129
+ export interface OperationDisplay {
130
+ readonly description?: string;
131
+ readonly operation?: string;
132
+ readonly provider?: string;
133
+ readonly resource?: string;
134
+ }
135
+
136
+ // @public
137
+ export interface OperationListResult {
138
+ readonly nextLink?: string;
139
+ readonly value?: Operation[];
140
+ }
141
+
142
+ // @public
143
+ export interface Operations {
144
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
145
+ }
146
+
147
+ // @public
148
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
149
+ }
150
+
151
+ // @public
152
+ export type OperationsListResponse = OperationListResult;
153
+
154
+ // @public
155
+ export type PrivateEndpointConnection = Resource & {
156
+ properties?: PrivateEndpointConnectionProperties;
157
+ };
158
+
159
+ // @public
160
+ export interface PrivateEndpointConnectionListResult {
161
+ readonly nextLink?: string;
162
+ readonly value?: PrivateEndpointConnection[];
163
+ }
164
+
165
+ // @public
166
+ export interface PrivateEndpointConnectionProperties {
167
+ privateEndpoint?: PrivateEndpointConnectionPropertiesPrivateEndpoint;
168
+ privateLinkServiceConnectionState?: PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState;
169
+ }
170
+
171
+ // @public
172
+ export interface PrivateEndpointConnectionPropertiesPrivateEndpoint {
173
+ id?: string;
174
+ }
175
+
176
+ // @public
177
+ export interface PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState {
178
+ actionsRequired?: string;
179
+ description?: string;
180
+ status?: PrivateLinkServiceConnectionStatus;
181
+ }
182
+
183
+ // @public
184
+ export interface PrivateEndpointConnections {
185
+ delete(resourceGroupName: string, searchServiceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PrivateEndpointConnectionsDeleteResponse>;
186
+ get(resourceGroupName: string, searchServiceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
187
+ listByService(resourceGroupName: string, searchServiceName: string, options?: PrivateEndpointConnectionsListByServiceOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
188
+ update(resourceGroupName: string, searchServiceName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: PrivateEndpointConnectionsUpdateOptionalParams): Promise<PrivateEndpointConnectionsUpdateResponse>;
189
+ }
190
+
191
+ // @public
192
+ export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
193
+ searchManagementRequestOptions?: SearchManagementRequestOptions;
194
+ }
195
+
196
+ // @public
197
+ export type PrivateEndpointConnectionsDeleteResponse = PrivateEndpointConnection;
198
+
199
+ // @public
200
+ export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
201
+ searchManagementRequestOptions?: SearchManagementRequestOptions;
202
+ }
203
+
204
+ // @public
205
+ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
206
+
207
+ // @public
208
+ export interface PrivateEndpointConnectionsListByServiceNextOptionalParams extends coreClient.OperationOptions {
209
+ searchManagementRequestOptions?: SearchManagementRequestOptions;
210
+ }
211
+
212
+ // @public
213
+ export type PrivateEndpointConnectionsListByServiceNextResponse = PrivateEndpointConnectionListResult;
214
+
215
+ // @public
216
+ export interface PrivateEndpointConnectionsListByServiceOptionalParams extends coreClient.OperationOptions {
217
+ searchManagementRequestOptions?: SearchManagementRequestOptions;
218
+ }
219
+
220
+ // @public
221
+ export type PrivateEndpointConnectionsListByServiceResponse = PrivateEndpointConnectionListResult;
222
+
223
+ // @public
224
+ export interface PrivateEndpointConnectionsUpdateOptionalParams extends coreClient.OperationOptions {
225
+ searchManagementRequestOptions?: SearchManagementRequestOptions;
226
+ }
227
+
228
+ // @public
229
+ export type PrivateEndpointConnectionsUpdateResponse = PrivateEndpointConnection;
230
+
231
+ // @public
232
+ export type PrivateLinkResource = Resource & {
233
+ readonly properties?: PrivateLinkResourceProperties;
234
+ };
235
+
236
+ // @public
237
+ export interface PrivateLinkResourceProperties {
238
+ readonly groupId?: string;
239
+ readonly requiredMembers?: string[];
240
+ readonly requiredZoneNames?: string[];
241
+ readonly shareablePrivateLinkResourceTypes?: ShareablePrivateLinkResourceType[];
242
+ }
243
+
244
+ // @public
245
+ export interface PrivateLinkResources {
246
+ listSupported(resourceGroupName: string, searchServiceName: string, options?: PrivateLinkResourcesListSupportedOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
247
+ }
248
+
249
+ // @public
250
+ export interface PrivateLinkResourcesListSupportedOptionalParams extends coreClient.OperationOptions {
251
+ searchManagementRequestOptions?: SearchManagementRequestOptions;
252
+ }
253
+
254
+ // @public
255
+ export type PrivateLinkResourcesListSupportedResponse = PrivateLinkResourcesResult;
256
+
257
+ // @public
258
+ export interface PrivateLinkResourcesResult {
259
+ readonly value?: PrivateLinkResource[];
260
+ }
261
+
262
+ // @public
263
+ export type PrivateLinkServiceConnectionStatus = "Pending" | "Approved" | "Rejected" | "Disconnected";
264
+
265
+ // @public
266
+ export type ProvisioningState = "succeeded" | "provisioning" | "failed";
267
+
268
+ // @public
269
+ export type PublicNetworkAccess = "enabled" | "disabled";
270
+
271
+ // @public
272
+ export interface QueryKey {
273
+ readonly key?: string;
274
+ readonly name?: string;
275
+ }
276
+
277
+ // @public
278
+ export interface QueryKeys {
279
+ create(resourceGroupName: string, searchServiceName: string, name: string, options?: QueryKeysCreateOptionalParams): Promise<QueryKeysCreateResponse>;
280
+ delete(resourceGroupName: string, searchServiceName: string, key: string, options?: QueryKeysDeleteOptionalParams): Promise<void>;
281
+ listBySearchService(resourceGroupName: string, searchServiceName: string, options?: QueryKeysListBySearchServiceOptionalParams): PagedAsyncIterableIterator<QueryKey>;
282
+ }
283
+
284
+ // @public
285
+ export interface QueryKeysCreateOptionalParams extends coreClient.OperationOptions {
286
+ searchManagementRequestOptions?: SearchManagementRequestOptions;
287
+ }
288
+
289
+ // @public
290
+ export type QueryKeysCreateResponse = QueryKey;
291
+
292
+ // @public
293
+ export interface QueryKeysDeleteOptionalParams extends coreClient.OperationOptions {
294
+ searchManagementRequestOptions?: SearchManagementRequestOptions;
295
+ }
296
+
297
+ // @public
298
+ export interface QueryKeysListBySearchServiceNextOptionalParams extends coreClient.OperationOptions {
299
+ searchManagementRequestOptions?: SearchManagementRequestOptions;
300
+ }
301
+
302
+ // @public
303
+ export type QueryKeysListBySearchServiceNextResponse = ListQueryKeysResult;
304
+
305
+ // @public
306
+ export interface QueryKeysListBySearchServiceOptionalParams extends coreClient.OperationOptions {
307
+ searchManagementRequestOptions?: SearchManagementRequestOptions;
308
+ }
309
+
310
+ // @public
311
+ export type QueryKeysListBySearchServiceResponse = ListQueryKeysResult;
312
+
313
+ // @public
314
+ export interface Resource {
315
+ readonly id?: string;
316
+ readonly name?: string;
317
+ readonly type?: string;
318
+ }
319
+
320
+ // @public (undocumented)
321
+ export class SearchManagementClient extends coreClient.ServiceClient {
322
+ // (undocumented)
323
+ $host: string;
324
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: SearchManagementClientOptionalParams);
325
+ // (undocumented)
326
+ adminKeys: AdminKeys;
327
+ // (undocumented)
328
+ apiVersion: string;
329
+ // (undocumented)
330
+ operations: Operations;
331
+ // (undocumented)
332
+ privateEndpointConnections: PrivateEndpointConnections;
333
+ // (undocumented)
334
+ privateLinkResources: PrivateLinkResources;
335
+ // (undocumented)
336
+ queryKeys: QueryKeys;
337
+ // (undocumented)
338
+ services: Services;
339
+ // (undocumented)
340
+ sharedPrivateLinkResources: SharedPrivateLinkResources;
341
+ // (undocumented)
342
+ subscriptionId: string;
343
+ }
344
+
345
+ // @public
346
+ export interface SearchManagementClientOptionalParams extends coreClient.ServiceClientOptions {
347
+ $host?: string;
348
+ apiVersion?: string;
349
+ endpoint?: string;
350
+ }
351
+
352
+ // @public
353
+ export interface SearchManagementRequestOptions {
354
+ clientRequestId?: string;
355
+ }
356
+
357
+ // @public
358
+ export type SearchService = TrackedResource & {
359
+ sku?: Sku;
360
+ identity?: Identity;
361
+ replicaCount?: number;
362
+ partitionCount?: number;
363
+ hostingMode?: HostingMode;
364
+ publicNetworkAccess?: PublicNetworkAccess;
365
+ readonly status?: SearchServiceStatus;
366
+ readonly statusDetails?: string;
367
+ readonly provisioningState?: ProvisioningState;
368
+ networkRuleSet?: NetworkRuleSet;
369
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
370
+ readonly sharedPrivateLinkResources?: SharedPrivateLinkResource[];
371
+ };
372
+
373
+ // @public
374
+ export interface SearchServiceListResult {
375
+ readonly nextLink?: string;
376
+ readonly value?: SearchService[];
377
+ }
378
+
379
+ // @public
380
+ export type SearchServiceStatus = "running" | "provisioning" | "deleting" | "degraded" | "disabled" | "error";
381
+
382
+ // @public
383
+ export type SearchServiceUpdate = Resource & {
384
+ sku?: Sku;
385
+ location?: string;
386
+ tags?: {
387
+ [propertyName: string]: string;
388
+ };
389
+ identity?: Identity;
390
+ replicaCount?: number;
391
+ partitionCount?: number;
392
+ hostingMode?: HostingMode;
393
+ publicNetworkAccess?: PublicNetworkAccess;
394
+ readonly status?: SearchServiceStatus;
395
+ readonly statusDetails?: string;
396
+ readonly provisioningState?: ProvisioningState;
397
+ networkRuleSet?: NetworkRuleSet;
398
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
399
+ readonly sharedPrivateLinkResources?: SharedPrivateLinkResource[];
400
+ };
401
+
402
+ // @public
403
+ export interface Services {
404
+ beginCreateOrUpdate(resourceGroupName: string, searchServiceName: string, service: SearchService, options?: ServicesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ServicesCreateOrUpdateResponse>, ServicesCreateOrUpdateResponse>>;
405
+ beginCreateOrUpdateAndWait(resourceGroupName: string, searchServiceName: string, service: SearchService, options?: ServicesCreateOrUpdateOptionalParams): Promise<ServicesCreateOrUpdateResponse>;
406
+ checkNameAvailability(name: string, options?: ServicesCheckNameAvailabilityOptionalParams): Promise<ServicesCheckNameAvailabilityResponse>;
407
+ delete(resourceGroupName: string, searchServiceName: string, options?: ServicesDeleteOptionalParams): Promise<void>;
408
+ get(resourceGroupName: string, searchServiceName: string, options?: ServicesGetOptionalParams): Promise<ServicesGetResponse>;
409
+ listByResourceGroup(resourceGroupName: string, options?: ServicesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<SearchService>;
410
+ listBySubscription(options?: ServicesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<SearchService>;
411
+ update(resourceGroupName: string, searchServiceName: string, service: SearchServiceUpdate, options?: ServicesUpdateOptionalParams): Promise<ServicesUpdateResponse>;
412
+ }
413
+
414
+ // @public
415
+ export interface ServicesCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
416
+ searchManagementRequestOptions?: SearchManagementRequestOptions;
417
+ }
418
+
419
+ // @public
420
+ export type ServicesCheckNameAvailabilityResponse = CheckNameAvailabilityOutput;
421
+
422
+ // @public
423
+ export interface ServicesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
424
+ resumeFrom?: string;
425
+ searchManagementRequestOptions?: SearchManagementRequestOptions;
426
+ updateIntervalInMs?: number;
427
+ }
428
+
429
+ // @public
430
+ export type ServicesCreateOrUpdateResponse = SearchService;
431
+
432
+ // @public
433
+ export interface ServicesDeleteOptionalParams extends coreClient.OperationOptions {
434
+ searchManagementRequestOptions?: SearchManagementRequestOptions;
435
+ }
436
+
437
+ // @public
438
+ export interface ServicesGetOptionalParams extends coreClient.OperationOptions {
439
+ searchManagementRequestOptions?: SearchManagementRequestOptions;
440
+ }
441
+
442
+ // @public
443
+ export type ServicesGetResponse = SearchService;
444
+
445
+ // @public
446
+ export interface ServicesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
447
+ searchManagementRequestOptions?: SearchManagementRequestOptions;
448
+ }
449
+
450
+ // @public
451
+ export type ServicesListByResourceGroupNextResponse = SearchServiceListResult;
452
+
453
+ // @public
454
+ export interface ServicesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
455
+ searchManagementRequestOptions?: SearchManagementRequestOptions;
456
+ }
457
+
458
+ // @public
459
+ export type ServicesListByResourceGroupResponse = SearchServiceListResult;
460
+
461
+ // @public
462
+ export interface ServicesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
463
+ searchManagementRequestOptions?: SearchManagementRequestOptions;
464
+ }
465
+
466
+ // @public
467
+ export type ServicesListBySubscriptionNextResponse = SearchServiceListResult;
468
+
469
+ // @public
470
+ export interface ServicesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
471
+ searchManagementRequestOptions?: SearchManagementRequestOptions;
472
+ }
473
+
474
+ // @public
475
+ export type ServicesListBySubscriptionResponse = SearchServiceListResult;
476
+
477
+ // @public
478
+ export interface ServicesUpdateOptionalParams extends coreClient.OperationOptions {
479
+ searchManagementRequestOptions?: SearchManagementRequestOptions;
480
+ }
481
+
482
+ // @public
483
+ export type ServicesUpdateResponse = SearchService;
484
+
485
+ // @public
486
+ export interface ShareablePrivateLinkResourceProperties {
487
+ readonly description?: string;
488
+ readonly groupId?: string;
489
+ readonly type?: string;
490
+ }
491
+
492
+ // @public
493
+ export interface ShareablePrivateLinkResourceType {
494
+ readonly name?: string;
495
+ readonly properties?: ShareablePrivateLinkResourceProperties;
496
+ }
497
+
498
+ // @public
499
+ export type SharedPrivateLinkResource = Resource & {
500
+ properties?: SharedPrivateLinkResourceProperties;
501
+ };
502
+
503
+ // @public
504
+ export type SharedPrivateLinkResourceAsyncOperationResult = string;
505
+
506
+ // @public
507
+ export interface SharedPrivateLinkResourceListResult {
508
+ nextLink?: string;
509
+ readonly value?: SharedPrivateLinkResource[];
510
+ }
511
+
512
+ // @public
513
+ export interface SharedPrivateLinkResourceProperties {
514
+ groupId?: string;
515
+ privateLinkResourceId?: string;
516
+ provisioningState?: SharedPrivateLinkResourceProvisioningState;
517
+ requestMessage?: string;
518
+ resourceRegion?: string;
519
+ status?: SharedPrivateLinkResourceStatus;
520
+ }
521
+
522
+ // @public
523
+ export type SharedPrivateLinkResourceProvisioningState = "Updating" | "Deleting" | "Failed" | "Succeeded" | "Incomplete";
524
+
525
+ // @public
526
+ export interface SharedPrivateLinkResources {
527
+ beginCreateOrUpdate(resourceGroupName: string, searchServiceName: string, sharedPrivateLinkResourceName: string, sharedPrivateLinkResource: SharedPrivateLinkResource, options?: SharedPrivateLinkResourcesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<SharedPrivateLinkResourcesCreateOrUpdateResponse>, SharedPrivateLinkResourcesCreateOrUpdateResponse>>;
528
+ beginCreateOrUpdateAndWait(resourceGroupName: string, searchServiceName: string, sharedPrivateLinkResourceName: string, sharedPrivateLinkResource: SharedPrivateLinkResource, options?: SharedPrivateLinkResourcesCreateOrUpdateOptionalParams): Promise<SharedPrivateLinkResourcesCreateOrUpdateResponse>;
529
+ beginDelete(resourceGroupName: string, searchServiceName: string, sharedPrivateLinkResourceName: string, options?: SharedPrivateLinkResourcesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
530
+ beginDeleteAndWait(resourceGroupName: string, searchServiceName: string, sharedPrivateLinkResourceName: string, options?: SharedPrivateLinkResourcesDeleteOptionalParams): Promise<void>;
531
+ get(resourceGroupName: string, searchServiceName: string, sharedPrivateLinkResourceName: string, options?: SharedPrivateLinkResourcesGetOptionalParams): Promise<SharedPrivateLinkResourcesGetResponse>;
532
+ listByService(resourceGroupName: string, searchServiceName: string, options?: SharedPrivateLinkResourcesListByServiceOptionalParams): PagedAsyncIterableIterator<SharedPrivateLinkResource>;
533
+ }
534
+
535
+ // @public
536
+ export interface SharedPrivateLinkResourcesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
537
+ resumeFrom?: string;
538
+ searchManagementRequestOptions?: SearchManagementRequestOptions;
539
+ updateIntervalInMs?: number;
540
+ }
541
+
542
+ // @public
543
+ export type SharedPrivateLinkResourcesCreateOrUpdateResponse = SharedPrivateLinkResource;
544
+
545
+ // @public
546
+ export interface SharedPrivateLinkResourcesDeleteOptionalParams extends coreClient.OperationOptions {
547
+ resumeFrom?: string;
548
+ searchManagementRequestOptions?: SearchManagementRequestOptions;
549
+ updateIntervalInMs?: number;
550
+ }
551
+
552
+ // @public
553
+ export interface SharedPrivateLinkResourcesGetOptionalParams extends coreClient.OperationOptions {
554
+ searchManagementRequestOptions?: SearchManagementRequestOptions;
555
+ }
556
+
557
+ // @public
558
+ export type SharedPrivateLinkResourcesGetResponse = SharedPrivateLinkResource;
559
+
560
+ // @public
561
+ export interface SharedPrivateLinkResourcesListByServiceNextOptionalParams extends coreClient.OperationOptions {
562
+ searchManagementRequestOptions?: SearchManagementRequestOptions;
563
+ }
564
+
565
+ // @public
566
+ export type SharedPrivateLinkResourcesListByServiceNextResponse = SharedPrivateLinkResourceListResult;
567
+
568
+ // @public
569
+ export interface SharedPrivateLinkResourcesListByServiceOptionalParams extends coreClient.OperationOptions {
570
+ searchManagementRequestOptions?: SearchManagementRequestOptions;
571
+ }
572
+
573
+ // @public
574
+ export type SharedPrivateLinkResourcesListByServiceResponse = SharedPrivateLinkResourceListResult;
575
+
576
+ // @public
577
+ export type SharedPrivateLinkResourceStatus = "Pending" | "Approved" | "Rejected" | "Disconnected";
578
+
579
+ // @public
580
+ export interface Sku {
581
+ name?: SkuName;
582
+ }
583
+
584
+ // @public
585
+ export type SkuName = "free" | "basic" | "standard" | "standard2" | "standard3" | "storage_optimized_l1" | "storage_optimized_l2";
586
+
587
+ // @public
588
+ export type TrackedResource = Resource & {
589
+ tags?: {
590
+ [propertyName: string]: string;
591
+ };
592
+ location: string;
593
+ };
594
+
595
+ // @public
596
+ export type UnavailableNameReason = string;
597
+
598
+ // (No @packageDocumentation comment for this package)
599
+
600
+ ```