@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
@@ -6,1626 +6,832 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
10
- import * as msRest from "@azure/ms-rest-js";
9
+ import * as coreClient from "@azure/core-client";
11
10
 
12
- export { BaseResource, CloudError };
11
+ /** The result of the request to list REST API operations. It contains a list of operations and a URL to get the next set of results. */
12
+ export interface OperationListResult {
13
+ /**
14
+ * The list of operations supported by the resource provider.
15
+ * NOTE: This property will not be serialized. It can only be populated by the server.
16
+ */
17
+ readonly value?: Operation[];
18
+ /**
19
+ * The URL to get the next set of operation list results, if any.
20
+ * NOTE: This property will not be serialized. It can only be populated by the server.
21
+ */
22
+ readonly nextLink?: string;
23
+ }
13
24
 
14
- /**
15
- * Input of check name availability API.
16
- */
17
- export interface CheckNameAvailabilityInput {
25
+ /** Describes a REST API operation. */
26
+ export interface Operation {
18
27
  /**
19
- * The search service name to validate. Search service names must only contain lowercase letters,
20
- * digits or dashes, cannot use dash as the first two or last one characters, cannot contain
21
- * consecutive dashes, and must be between 2 and 60 characters in length.
28
+ * The name of the operation. This name is of the form {provider}/{resource}/{operation}.
29
+ * NOTE: This property will not be serialized. It can only be populated by the server.
22
30
  */
23
- name: string;
31
+ readonly name?: string;
32
+ /**
33
+ * The object that describes the operation.
34
+ * NOTE: This property will not be serialized. It can only be populated by the server.
35
+ */
36
+ readonly display?: OperationDisplay;
24
37
  }
25
38
 
26
- /**
27
- * Output of check name availability API.
28
- */
29
- export interface CheckNameAvailabilityOutput {
39
+ /** The object that describes the operation. */
40
+ export interface OperationDisplay {
30
41
  /**
31
- * A value indicating whether the name is available.
32
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
42
+ * The friendly name of the resource provider.
43
+ * NOTE: This property will not be serialized. It can only be populated by the server.
33
44
  */
34
- readonly isNameAvailable?: boolean;
45
+ readonly provider?: string;
35
46
  /**
36
- * The reason why the name is not available. 'Invalid' indicates the name provided does not match
37
- * the naming requirements (incorrect length, unsupported characters, etc.). 'AlreadyExists'
38
- * indicates that the name is already in use and is therefore unavailable. Possible values
39
- * include: 'Invalid', 'AlreadyExists'
40
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
47
+ * The operation type: read, write, delete, listKeys/action, etc.
48
+ * NOTE: This property will not be serialized. It can only be populated by the server.
41
49
  */
42
- readonly reason?: UnavailableNameReason;
50
+ readonly operation?: string;
43
51
  /**
44
- * A message that explains why the name is invalid and provides resource naming requirements.
45
- * Available only if 'Invalid' is returned in the 'reason' property.
46
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
52
+ * The resource type on which the operation is performed.
53
+ * NOTE: This property will not be serialized. It can only be populated by the server.
47
54
  */
48
- readonly message?: string;
55
+ readonly resource?: string;
56
+ /**
57
+ * The friendly name of the operation.
58
+ * NOTE: This property will not be serialized. It can only be populated by the server.
59
+ */
60
+ readonly description?: string;
49
61
  }
50
62
 
51
- /**
52
- * Response containing the primary and secondary admin API keys for a given Azure Cognitive Search
53
- * service.
54
- */
63
+ /** Contains information about an API error. */
64
+ export interface CloudError {
65
+ /** Describes a particular API error with an error code and a message. */
66
+ error?: CloudErrorBody;
67
+ }
68
+
69
+ /** Describes a particular API error with an error code and a message. */
70
+ export interface CloudErrorBody {
71
+ /** An error code that describes the error condition more precisely than an HTTP status code. Can be used to programmatically handle specific error cases. */
72
+ code?: string;
73
+ /** A message that describes the error in detail and provides debugging information. */
74
+ message?: string;
75
+ /** The target of the particular error (for example, the name of the property in error). */
76
+ target?: string;
77
+ /** Contains nested errors that are related to this error. */
78
+ details?: CloudErrorBody[];
79
+ }
80
+
81
+ /** Response containing the primary and secondary admin API keys for a given Azure Cognitive Search service. */
55
82
  export interface AdminKeyResult {
56
83
  /**
57
84
  * The primary admin API key of the search service.
58
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
85
+ * NOTE: This property will not be serialized. It can only be populated by the server.
59
86
  */
60
87
  readonly primaryKey?: string;
61
88
  /**
62
89
  * The secondary admin API key of the search service.
63
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
90
+ * NOTE: This property will not be serialized. It can only be populated by the server.
64
91
  */
65
92
  readonly secondaryKey?: string;
66
93
  }
67
94
 
68
- /**
69
- * Describes an API key for a given Azure Cognitive Search service that has permissions for query
70
- * operations only.
71
- */
95
+ /** Describes an API key for a given Azure Cognitive Search service that has permissions for query operations only. */
72
96
  export interface QueryKey {
73
97
  /**
74
98
  * The name of the query API key; may be empty.
75
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
99
+ * NOTE: This property will not be serialized. It can only be populated by the server.
76
100
  */
77
101
  readonly name?: string;
78
102
  /**
79
103
  * The value of the query API key.
80
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
104
+ * NOTE: This property will not be serialized. It can only be populated by the server.
81
105
  */
82
106
  readonly key?: string;
83
107
  }
84
108
 
85
- /**
86
- * Defines the SKU of an Azure Cognitive Search Service, which determines price tier and capacity
87
- * limits.
88
- */
89
- export interface Sku {
109
+ /** Response containing the query API keys for a given Azure Cognitive Search service. */
110
+ export interface ListQueryKeysResult {
90
111
  /**
91
- * The SKU of the search service. Valid values include: 'free': Shared service. 'basic':
92
- * Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12
93
- * partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per
94
- * search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12
95
- * replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to
96
- * 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions.
97
- * 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.'. Possible values
98
- * include: 'free', 'basic', 'standard', 'standard2', 'standard3', 'storage_optimized_l1',
99
- * 'storage_optimized_l2'
112
+ * The query keys for the Azure Cognitive Search service.
113
+ * NOTE: This property will not be serialized. It can only be populated by the server.
100
114
  */
101
- name?: SkuName;
115
+ readonly value?: QueryKey[];
116
+ /**
117
+ * Request URL that can be used to query next page of query keys. Returned when the total number of requested query keys exceed maximum page size.
118
+ * NOTE: This property will not be serialized. It can only be populated by the server.
119
+ */
120
+ readonly nextLink?: string;
102
121
  }
103
122
 
104
- /**
105
- * The private endpoint resource from Microsoft.Network provider.
106
- */
123
+ /** Network specific rules that determine how the Azure Cognitive Search service may be reached. */
124
+ export interface NetworkRuleSet {
125
+ /** A list of IP restriction rules that defines the inbound network(s) with allowing access to the search service endpoint. At the meantime, all other public IP networks are blocked by the firewall. These restriction rules are applied only when the 'publicNetworkAccess' of the search service is 'enabled'; otherwise, traffic over public interface is not allowed even with any public IP rules, and private endpoint connections would be the exclusive access method. */
126
+ ipRules?: IpRule[];
127
+ }
128
+
129
+ /** The IP restriction rule of the Azure Cognitive Search service. */
130
+ export interface IpRule {
131
+ /** Value corresponding to a single IPv4 address (eg., 123.1.2.3) or an IP range in CIDR format (eg., 123.1.2.3/24) to be allowed. */
132
+ value?: string;
133
+ }
134
+
135
+ /** Describes the properties of an existing Private Endpoint connection to the Azure Cognitive Search service. */
136
+ export interface PrivateEndpointConnectionProperties {
137
+ /** The private endpoint resource from Microsoft.Network provider. */
138
+ privateEndpoint?: PrivateEndpointConnectionPropertiesPrivateEndpoint;
139
+ /** Describes the current state of an existing Private Link Service connection to the Azure Private Endpoint. */
140
+ privateLinkServiceConnectionState?: PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState;
141
+ }
142
+
143
+ /** The private endpoint resource from Microsoft.Network provider. */
107
144
  export interface PrivateEndpointConnectionPropertiesPrivateEndpoint {
108
- /**
109
- * The resource id of the private endpoint resource from Microsoft.Network provider.
110
- */
145
+ /** The resource id of the private endpoint resource from Microsoft.Network provider. */
111
146
  id?: string;
112
147
  }
113
148
 
114
- /**
115
- * Describes the current state of an existing Private Link Service connection to the Azure Private
116
- * Endpoint.
117
- */
149
+ /** Describes the current state of an existing Private Link Service connection to the Azure Private Endpoint. */
118
150
  export interface PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState {
119
- /**
120
- * Status of the the private link service connection. Can be Pending, Approved, Rejected, or
121
- * Disconnected. Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected'
122
- */
151
+ /** Status of the the private link service connection. Can be Pending, Approved, Rejected, or Disconnected. */
123
152
  status?: PrivateLinkServiceConnectionStatus;
124
- /**
125
- * The description for the private link service connection state.
126
- */
153
+ /** The description for the private link service connection state. */
127
154
  description?: string;
128
- /**
129
- * A description of any extra actions that may be required. Default value: 'None'.
130
- */
155
+ /** A description of any extra actions that may be required. */
131
156
  actionsRequired?: string;
132
157
  }
133
158
 
134
- /**
135
- * Describes the properties of an existing Private Endpoint connection to the Azure Cognitive
136
- * Search service.
137
- */
138
- export interface PrivateEndpointConnectionProperties {
139
- /**
140
- * The private endpoint resource from Microsoft.Network provider.
141
- */
142
- privateEndpoint?: PrivateEndpointConnectionPropertiesPrivateEndpoint;
143
- /**
144
- * Describes the current state of an existing Private Link Service connection to the Azure
145
- * Private Endpoint.
146
- */
147
- privateLinkServiceConnectionState?: PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState;
148
- }
149
-
150
- /**
151
- * Common fields that are returned in the response for all Azure Resource Manager resources
152
- * @summary Resource
153
- */
154
- export interface Resource extends BaseResource {
159
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
160
+ export interface Resource {
155
161
  /**
156
- * Fully qualified resource ID for the resource. Ex -
157
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
158
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
162
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
163
+ * NOTE: This property will not be serialized. It can only be populated by the server.
159
164
  */
160
165
  readonly id?: string;
161
166
  /**
162
167
  * The name of the resource
163
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
168
+ * NOTE: This property will not be serialized. It can only be populated by the server.
164
169
  */
165
170
  readonly name?: string;
166
171
  /**
167
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
168
- * "Microsoft.Storage/storageAccounts"
169
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
172
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
173
+ * NOTE: This property will not be serialized. It can only be populated by the server.
170
174
  */
171
175
  readonly type?: string;
172
176
  }
173
177
 
174
- /**
175
- * Describes an existing Private Endpoint connection to the Azure Cognitive Search service.
176
- */
177
- export interface PrivateEndpointConnection extends Resource {
178
- /**
179
- * Describes the properties of an existing Private Endpoint connection to the Azure Cognitive
180
- * Search service.
181
- */
182
- properties?: PrivateEndpointConnectionProperties;
183
- }
184
-
185
- /**
186
- * The IP restriction rule of the Azure Cognitive Search service.
187
- */
188
- export interface IpRule {
189
- /**
190
- * Value corresponding to a single IPv4 address (eg., 123.1.2.3) or an IP range in CIDR format
191
- * (eg., 123.1.2.3/24) to be allowed.
192
- */
193
- value?: string;
194
- }
195
-
196
- /**
197
- * Network specific rules that determine how the Azure Cognitive Search service may be reached.
198
- */
199
- export interface NetworkRuleSet {
200
- /**
201
- * A list of IP restriction rules that defines the inbound network(s) with allowing access to the
202
- * search service endpoint. At the meantime, all other public IP networks are blocked by the
203
- * firewall. These restriction rules are applied only when the 'publicNetworkAccess' of the
204
- * search service is 'enabled'; otherwise, traffic over public interface is not allowed even with
205
- * any public IP rules, and private endpoint connections would be the exclusive access method.
206
- */
207
- ipRules?: IpRule[];
208
- }
209
-
210
- /**
211
- * Describes the properties of an existing Shared Private Link Resource managed by the Azure
212
- * Cognitive Search service.
213
- */
178
+ /** Describes the properties of an existing Shared Private Link Resource managed by the Azure Cognitive Search service. */
214
179
  export interface SharedPrivateLinkResourceProperties {
215
- /**
216
- * The resource id of the resource the shared private link resource is for.
217
- */
180
+ /** The resource id of the resource the shared private link resource is for. */
218
181
  privateLinkResourceId?: string;
219
- /**
220
- * The group id from the provider of resource the shared private link resource is for.
221
- */
182
+ /** The group id from the provider of resource the shared private link resource is for. */
222
183
  groupId?: string;
223
- /**
224
- * The request message for requesting approval of the shared private link resource.
225
- */
184
+ /** The request message for requesting approval of the shared private link resource. */
226
185
  requestMessage?: string;
227
- /**
228
- * Optional. Can be used to specify the Azure Resource Manager location of the resource to which
229
- * a shared private link is to be created. This is only required for those resources whose DNS
230
- * configuration are regional (such as Azure Kubernetes Service).
231
- */
186
+ /** Optional. Can be used to specify the Azure Resource Manager location of the resource to which a shared private link is to be created. This is only required for those resources whose DNS configuration are regional (such as Azure Kubernetes Service). */
232
187
  resourceRegion?: string;
233
- /**
234
- * Status of the shared private link resource. Can be Pending, Approved, Rejected or
235
- * Disconnected. Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected'
236
- */
188
+ /** Status of the shared private link resource. Can be Pending, Approved, Rejected or Disconnected. */
237
189
  status?: SharedPrivateLinkResourceStatus;
238
- /**
239
- * The provisioning state of the shared private link resource. Can be Updating, Deleting, Failed,
240
- * Succeeded or Incomplete. Possible values include: 'Updating', 'Deleting', 'Failed',
241
- * 'Succeeded', 'Incomplete'
242
- */
190
+ /** The provisioning state of the shared private link resource. Can be Updating, Deleting, Failed, Succeeded or Incomplete. */
243
191
  provisioningState?: SharedPrivateLinkResourceProvisioningState;
244
192
  }
245
193
 
246
- /**
247
- * Describes a Shared Private Link Resource managed by the Azure Cognitive Search service.
248
- */
249
- export interface SharedPrivateLinkResource extends Resource {
250
- /**
251
- * Describes the properties of a Shared Private Link Resource managed by the Azure Cognitive
252
- * Search service.
253
- */
254
- properties?: SharedPrivateLinkResourceProperties;
194
+ /** Defines the SKU of an Azure Cognitive Search Service, which determines price tier and capacity limits. */
195
+ export interface Sku {
196
+ /** The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' */
197
+ name?: SkuName;
255
198
  }
256
199
 
257
- /**
258
- * Describes the properties of a resource type that has been onboarded to private link service,
259
- * supported by Azure Cognitive Search.
260
- */
261
- export interface ShareablePrivateLinkResourceProperties {
262
- /**
263
- * The resource provider type for the resource that has been onboarded to private link service,
264
- * supported by Azure Cognitive Search.
265
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
266
- */
267
- readonly type?: string;
200
+ /** Identity for the resource. */
201
+ export interface Identity {
268
202
  /**
269
- * The resource provider group id for the resource that has been onboarded to private link
270
- * service, supported by Azure Cognitive Search.
271
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
203
+ * The principal ID of resource identity.
204
+ * NOTE: This property will not be serialized. It can only be populated by the server.
272
205
  */
273
- readonly groupId?: string;
206
+ readonly principalId?: string;
274
207
  /**
275
- * The description of the resource type that has been onboarded to private link service,
276
- * supported by Azure Cognitive Search.
277
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
208
+ * The tenant ID of resource.
209
+ * NOTE: This property will not be serialized. It can only be populated by the server.
278
210
  */
279
- readonly description?: string;
211
+ readonly tenantId?: string;
212
+ /** The identity type. */
213
+ type: IdentityType;
280
214
  }
281
215
 
282
- /**
283
- * Describes an resource type that has been onboarded to private link service, supported by Azure
284
- * Cognitive Search.
285
- */
286
- export interface ShareablePrivateLinkResourceType {
216
+ /** Response containing a list of Azure Cognitive Search services. */
217
+ export interface SearchServiceListResult {
287
218
  /**
288
- * The name of the resource type that has been onboarded to private link service, supported by
289
- * Azure Cognitive Search.
290
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
219
+ * The list of search services.
220
+ * NOTE: This property will not be serialized. It can only be populated by the server.
291
221
  */
292
- readonly name?: string;
222
+ readonly value?: SearchService[];
293
223
  /**
294
- * Describes the properties of a resource type that has been onboarded to private link service,
295
- * supported by Azure Cognitive Search.
296
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
224
+ * Request URL that can be used to query next page of search services. Returned when the total number of requested search services exceed maximum page size.
225
+ * NOTE: This property will not be serialized. It can only be populated by the server.
297
226
  */
298
- readonly properties?: ShareablePrivateLinkResourceProperties;
227
+ readonly nextLink?: string;
299
228
  }
300
229
 
301
- /**
302
- * Describes the properties of a supported private link resource for the Azure Cognitive Search
303
- * service. For a given API version, this represents the 'supported' groupIds when creating a
304
- * shared private link resource.
305
- */
230
+ /** Response containing a list of supported Private Link Resources. */
231
+ export interface PrivateLinkResourcesResult {
232
+ /**
233
+ * The list of supported Private Link Resources.
234
+ * NOTE: This property will not be serialized. It can only be populated by the server.
235
+ */
236
+ readonly value?: PrivateLinkResource[];
237
+ }
238
+
239
+ /** Describes the properties of a supported private link resource for the Azure Cognitive Search service. For a given API version, this represents the 'supported' groupIds when creating a shared private link resource. */
306
240
  export interface PrivateLinkResourceProperties {
307
241
  /**
308
242
  * The group ID of the private link resource.
309
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
243
+ * NOTE: This property will not be serialized. It can only be populated by the server.
310
244
  */
311
245
  readonly groupId?: string;
312
246
  /**
313
247
  * The list of required members of the private link resource.
314
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
248
+ * NOTE: This property will not be serialized. It can only be populated by the server.
315
249
  */
316
250
  readonly requiredMembers?: string[];
317
251
  /**
318
252
  * The list of required DNS zone names of the private link resource.
319
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
253
+ * NOTE: This property will not be serialized. It can only be populated by the server.
320
254
  */
321
255
  readonly requiredZoneNames?: string[];
322
256
  /**
323
- * The list of resources that are onboarded to private link service, that are supported by Azure
324
- * Cognitive Search.
325
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
257
+ * The list of resources that are onboarded to private link service, that are supported by Azure Cognitive Search.
258
+ * NOTE: This property will not be serialized. It can only be populated by the server.
326
259
  */
327
260
  readonly shareablePrivateLinkResourceTypes?: ShareablePrivateLinkResourceType[];
328
261
  }
329
262
 
330
- /**
331
- * Describes a supported private link resource for the Azure Cognitive Search service.
332
- */
333
- export interface PrivateLinkResource extends Resource {
263
+ /** Describes an resource type that has been onboarded to private link service, supported by Azure Cognitive Search. */
264
+ export interface ShareablePrivateLinkResourceType {
334
265
  /**
335
- * Describes the properties of a supported private link resource for the Azure Cognitive Search
336
- * service.
337
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
266
+ * The name of the resource type that has been onboarded to private link service, supported by Azure Cognitive Search.
267
+ * NOTE: This property will not be serialized. It can only be populated by the server.
338
268
  */
339
- readonly properties?: PrivateLinkResourceProperties;
269
+ readonly name?: string;
270
+ /**
271
+ * Describes the properties of a resource type that has been onboarded to private link service, supported by Azure Cognitive Search.
272
+ * NOTE: This property will not be serialized. It can only be populated by the server.
273
+ */
274
+ readonly properties?: ShareablePrivateLinkResourceProperties;
340
275
  }
341
276
 
342
- /**
343
- * Identity for the resource.
344
- */
345
- export interface Identity {
277
+ /** Describes the properties of a resource type that has been onboarded to private link service, supported by Azure Cognitive Search. */
278
+ export interface ShareablePrivateLinkResourceProperties {
346
279
  /**
347
- * The principal ID of resource identity.
348
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
280
+ * The resource provider type for the resource that has been onboarded to private link service, supported by Azure Cognitive Search.
281
+ * NOTE: This property will not be serialized. It can only be populated by the server.
349
282
  */
350
- readonly principalId?: string;
283
+ readonly type?: string;
351
284
  /**
352
- * The tenant ID of resource.
353
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
285
+ * The resource provider group id for the resource that has been onboarded to private link service, supported by Azure Cognitive Search.
286
+ * NOTE: This property will not be serialized. It can only be populated by the server.
354
287
  */
355
- readonly tenantId?: string;
288
+ readonly groupId?: string;
356
289
  /**
357
- * The identity type. Possible values include: 'None', 'SystemAssigned'
290
+ * The description of the resource type that has been onboarded to private link service, supported by Azure Cognitive Search.
291
+ * NOTE: This property will not be serialized. It can only be populated by the server.
358
292
  */
359
- type: IdentityType;
293
+ readonly description?: string;
360
294
  }
361
295
 
362
- /**
363
- * The resource model definition for an Azure Resource Manager tracked top level resource which has
364
- * 'tags' and a 'location'
365
- * @summary Tracked Resource
366
- */
367
- export interface TrackedResource extends Resource {
296
+ /** Response containing a list of Private Endpoint connections. */
297
+ export interface PrivateEndpointConnectionListResult {
368
298
  /**
369
- * Resource tags.
299
+ * The list of Private Endpoint connections.
300
+ * NOTE: This property will not be serialized. It can only be populated by the server.
370
301
  */
371
- tags?: { [propertyName: string]: string };
302
+ readonly value?: PrivateEndpointConnection[];
372
303
  /**
373
- * The geo-location where the resource lives
304
+ * Request URL that can be used to query next page of private endpoint connections. Returned when the total number of requested private endpoint connections exceed maximum page size.
305
+ * NOTE: This property will not be serialized. It can only be populated by the server.
374
306
  */
375
- location: string;
307
+ readonly nextLink?: string;
376
308
  }
377
309
 
378
- /**
379
- * Describes an Azure Cognitive Search service and its current state.
380
- */
381
- export interface SearchService extends TrackedResource {
310
+ /** Response containing a list of Shared Private Link Resources. */
311
+ export interface SharedPrivateLinkResourceListResult {
382
312
  /**
383
- * The number of replicas in the search service. If specified, it must be a value between 1 and
384
- * 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. Default value: 1.
313
+ * The list of Shared Private Link Resources.
314
+ * NOTE: This property will not be serialized. It can only be populated by the server.
385
315
  */
386
- replicaCount?: number;
316
+ readonly value?: SharedPrivateLinkResource[];
317
+ /** The URL to get the next set of shared private link resources, if there are any. */
318
+ nextLink?: string;
319
+ }
320
+
321
+ /** Input of check name availability API. */
322
+ export interface CheckNameAvailabilityInput {
323
+ /** The search service name to validate. Search service names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in length. */
324
+ name: string;
325
+ /** The type of the resource whose name is to be validated. This value must always be 'searchServices'. */
326
+ type: "searchServices";
327
+ }
328
+
329
+ /** Output of check name availability API. */
330
+ export interface CheckNameAvailabilityOutput {
387
331
  /**
388
- * The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12.
389
- * Values greater than 1 are only valid for standard SKUs. For 'standard3' services with
390
- * hostingMode set to 'highDensity', the allowed values are between 1 and 3. Default value: 1.
332
+ * A value indicating whether the name is available.
333
+ * NOTE: This property will not be serialized. It can only be populated by the server.
391
334
  */
392
- partitionCount?: number;
335
+ readonly isNameAvailable?: boolean;
393
336
  /**
394
- * Applicable only for the standard3 SKU. You can set this property to enable up to 3 high
395
- * density partitions that allow up to 1000 indexes, which is much higher than the maximum
396
- * indexes allowed for any other SKU. For the standard3 SKU, the value is either 'default' or
397
- * 'highDensity'. For all other SKUs, this value must be 'default'. Possible values include:
398
- * 'default', 'highDensity'. Default value: 'default'.
337
+ * The reason why the name is not available. 'Invalid' indicates the name provided does not match the naming requirements (incorrect length, unsupported characters, etc.). 'AlreadyExists' indicates that the name is already in use and is therefore unavailable.
338
+ * NOTE: This property will not be serialized. It can only be populated by the server.
399
339
  */
400
- hostingMode?: HostingMode;
340
+ readonly reason?: UnavailableNameReason;
401
341
  /**
402
- * This value can be set to 'enabled' to avoid breaking changes on existing customer resources
403
- * and templates. If set to 'disabled', traffic over public interface is not allowed, and private
404
- * endpoint connections would be the exclusive access method. Possible values include: 'enabled',
405
- * 'disabled'. Default value: 'enabled'.
342
+ * A message that explains why the name is invalid and provides resource naming requirements. Available only if 'Invalid' is returned in the 'reason' property.
343
+ * NOTE: This property will not be serialized. It can only be populated by the server.
406
344
  */
345
+ readonly message?: string;
346
+ }
347
+
348
+ /** The details of a long running asynchronous shared private link resource operation */
349
+ export interface AsyncOperationResult {
350
+ /** The current status of the long running asynchronous shared private link resource operation. */
351
+ status?: SharedPrivateLinkResourceAsyncOperationResult;
352
+ }
353
+
354
+ /** Describes an existing Private Endpoint connection to the Azure Cognitive Search service. */
355
+ export type PrivateEndpointConnection = Resource & {
356
+ /** Describes the properties of an existing Private Endpoint connection to the Azure Cognitive Search service. */
357
+ properties?: PrivateEndpointConnectionProperties;
358
+ };
359
+
360
+ /** Describes a Shared Private Link Resource managed by the Azure Cognitive Search service. */
361
+ export type SharedPrivateLinkResource = Resource & {
362
+ /** Describes the properties of a Shared Private Link Resource managed by the Azure Cognitive Search service. */
363
+ properties?: SharedPrivateLinkResourceProperties;
364
+ };
365
+
366
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
367
+ export type TrackedResource = Resource & {
368
+ /** Resource tags. */
369
+ tags?: { [propertyName: string]: string };
370
+ /** The geo-location where the resource lives */
371
+ location: string;
372
+ };
373
+
374
+ /** The parameters used to update an Azure Cognitive Search service. */
375
+ export type SearchServiceUpdate = Resource & {
376
+ /** The SKU of the Search Service, which determines price tier and capacity limits. This property is required when creating a new Search Service. */
377
+ sku?: Sku;
378
+ /** The geographic location of the resource. This must be one of the supported and registered Azure Geo Regions (for example, West US, East US, Southeast Asia, and so forth). This property is required when creating a new resource. */
379
+ location?: string;
380
+ /** Tags to help categorize the resource in the Azure portal. */
381
+ tags?: { [propertyName: string]: string };
382
+ /** The identity of the resource. */
383
+ identity?: Identity;
384
+ /** The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. */
385
+ replicaCount?: number;
386
+ /** The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. */
387
+ partitionCount?: number;
388
+ /** Applicable only for the standard3 SKU. You can set this property to enable up to 3 high density partitions that allow up to 1000 indexes, which is much higher than the maximum indexes allowed for any other SKU. For the standard3 SKU, the value is either 'default' or 'highDensity'. For all other SKUs, this value must be 'default'. */
389
+ hostingMode?: HostingMode;
390
+ /** This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. */
407
391
  publicNetworkAccess?: PublicNetworkAccess;
408
392
  /**
409
- * The status of the search service. Possible values include: 'running': The search service is
410
- * running and no provisioning operations are underway. 'provisioning': The search service is
411
- * being provisioned or scaled up or down. 'deleting': The search service is being deleted.
412
- * 'degraded': The search service is degraded. This can occur when the underlying search units
413
- * are not healthy. The search service is most likely operational, but performance might be slow
414
- * and some requests might be dropped. 'disabled': The search service is disabled. In this state,
415
- * the service will reject all API requests. 'error': The search service is in an error state. If
416
- * your service is in the degraded, disabled, or error states, it means the Azure Cognitive
417
- * Search team is actively investigating the underlying issue. Dedicated services in these states
418
- * are still chargeable based on the number of search units provisioned. Possible values include:
419
- * 'running', 'provisioning', 'deleting', 'degraded', 'disabled', 'error'
420
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
393
+ * The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned.
394
+ * NOTE: This property will not be serialized. It can only be populated by the server.
421
395
  */
422
396
  readonly status?: SearchServiceStatus;
423
397
  /**
424
398
  * The details of the search service status.
425
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
399
+ * NOTE: This property will not be serialized. It can only be populated by the server.
426
400
  */
427
401
  readonly statusDetails?: string;
428
402
  /**
429
- * The state of the last provisioning operation performed on the search service. Provisioning is
430
- * an intermediate state that occurs while service capacity is being established. After capacity
431
- * is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications
432
- * can poll provisioning status (the recommended polling interval is from 30 seconds to one
433
- * minute) by using the Get Search Service operation to see when an operation is completed. If
434
- * you are using the free service, this value tends to come back as 'succeeded' directly in the
435
- * call to Create search service. This is because the free service uses capacity that is already
436
- * set up. Possible values include: 'succeeded', 'provisioning', 'failed'
437
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
403
+ * The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up.
404
+ * NOTE: This property will not be serialized. It can only be populated by the server.
438
405
  */
439
406
  readonly provisioningState?: ProvisioningState;
440
- /**
441
- * Network specific rules that determine how the Azure Cognitive Search service may be reached.
442
- */
407
+ /** Network specific rules that determine how the Azure Cognitive Search service may be reached. */
443
408
  networkRuleSet?: NetworkRuleSet;
444
409
  /**
445
410
  * The list of private endpoint connections to the Azure Cognitive Search service.
446
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
411
+ * NOTE: This property will not be serialized. It can only be populated by the server.
447
412
  */
448
413
  readonly privateEndpointConnections?: PrivateEndpointConnection[];
449
414
  /**
450
415
  * The list of shared private link resources managed by the Azure Cognitive Search service.
451
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
416
+ * NOTE: This property will not be serialized. It can only be populated by the server.
452
417
  */
453
418
  readonly sharedPrivateLinkResources?: SharedPrivateLinkResource[];
419
+ };
420
+
421
+ /** Describes a supported private link resource for the Azure Cognitive Search service. */
422
+ export type PrivateLinkResource = Resource & {
454
423
  /**
455
- * The SKU of the Search Service, which determines price tier and capacity limits. This property
456
- * is required when creating a new Search Service.
424
+ * Describes the properties of a supported private link resource for the Azure Cognitive Search service.
425
+ * NOTE: This property will not be serialized. It can only be populated by the server.
457
426
  */
427
+ readonly properties?: PrivateLinkResourceProperties;
428
+ };
429
+
430
+ /** Describes an Azure Cognitive Search service and its current state. */
431
+ export type SearchService = TrackedResource & {
432
+ /** The SKU of the Search Service, which determines price tier and capacity limits. This property is required when creating a new Search Service. */
458
433
  sku?: Sku;
459
- /**
460
- * The identity of the resource.
461
- */
434
+ /** The identity of the resource. */
462
435
  identity?: Identity;
463
- }
464
-
465
- /**
466
- * The parameters used to update an Azure Cognitive Search service.
467
- */
468
- export interface SearchServiceUpdate extends Resource {
469
- /**
470
- * The number of replicas in the search service. If specified, it must be a value between 1 and
471
- * 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. Default value: 1.
472
- */
436
+ /** The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. */
473
437
  replicaCount?: number;
474
- /**
475
- * The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12.
476
- * Values greater than 1 are only valid for standard SKUs. For 'standard3' services with
477
- * hostingMode set to 'highDensity', the allowed values are between 1 and 3. Default value: 1.
478
- */
438
+ /** The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. */
479
439
  partitionCount?: number;
480
- /**
481
- * Applicable only for the standard3 SKU. You can set this property to enable up to 3 high
482
- * density partitions that allow up to 1000 indexes, which is much higher than the maximum
483
- * indexes allowed for any other SKU. For the standard3 SKU, the value is either 'default' or
484
- * 'highDensity'. For all other SKUs, this value must be 'default'. Possible values include:
485
- * 'default', 'highDensity'. Default value: 'default'.
486
- */
440
+ /** Applicable only for the standard3 SKU. You can set this property to enable up to 3 high density partitions that allow up to 1000 indexes, which is much higher than the maximum indexes allowed for any other SKU. For the standard3 SKU, the value is either 'default' or 'highDensity'. For all other SKUs, this value must be 'default'. */
487
441
  hostingMode?: HostingMode;
488
- /**
489
- * This value can be set to 'enabled' to avoid breaking changes on existing customer resources
490
- * and templates. If set to 'disabled', traffic over public interface is not allowed, and private
491
- * endpoint connections would be the exclusive access method. Possible values include: 'enabled',
492
- * 'disabled'. Default value: 'enabled'.
493
- */
442
+ /** This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. */
494
443
  publicNetworkAccess?: PublicNetworkAccess;
495
444
  /**
496
- * The status of the search service. Possible values include: 'running': The search service is
497
- * running and no provisioning operations are underway. 'provisioning': The search service is
498
- * being provisioned or scaled up or down. 'deleting': The search service is being deleted.
499
- * 'degraded': The search service is degraded. This can occur when the underlying search units
500
- * are not healthy. The search service is most likely operational, but performance might be slow
501
- * and some requests might be dropped. 'disabled': The search service is disabled. In this state,
502
- * the service will reject all API requests. 'error': The search service is in an error state. If
503
- * your service is in the degraded, disabled, or error states, it means the Azure Cognitive
504
- * Search team is actively investigating the underlying issue. Dedicated services in these states
505
- * are still chargeable based on the number of search units provisioned. Possible values include:
506
- * 'running', 'provisioning', 'deleting', 'degraded', 'disabled', 'error'
507
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
445
+ * The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned.
446
+ * NOTE: This property will not be serialized. It can only be populated by the server.
508
447
  */
509
448
  readonly status?: SearchServiceStatus;
510
449
  /**
511
450
  * The details of the search service status.
512
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
451
+ * NOTE: This property will not be serialized. It can only be populated by the server.
513
452
  */
514
453
  readonly statusDetails?: string;
515
454
  /**
516
- * The state of the last provisioning operation performed on the search service. Provisioning is
517
- * an intermediate state that occurs while service capacity is being established. After capacity
518
- * is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications
519
- * can poll provisioning status (the recommended polling interval is from 30 seconds to one
520
- * minute) by using the Get Search Service operation to see when an operation is completed. If
521
- * you are using the free service, this value tends to come back as 'succeeded' directly in the
522
- * call to Create search service. This is because the free service uses capacity that is already
523
- * set up. Possible values include: 'succeeded', 'provisioning', 'failed'
524
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
455
+ * The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up.
456
+ * NOTE: This property will not be serialized. It can only be populated by the server.
525
457
  */
526
458
  readonly provisioningState?: ProvisioningState;
527
- /**
528
- * Network specific rules that determine how the Azure Cognitive Search service may be reached.
529
- */
459
+ /** Network specific rules that determine how the Azure Cognitive Search service may be reached. */
530
460
  networkRuleSet?: NetworkRuleSet;
531
461
  /**
532
462
  * The list of private endpoint connections to the Azure Cognitive Search service.
533
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
463
+ * NOTE: This property will not be serialized. It can only be populated by the server.
534
464
  */
535
465
  readonly privateEndpointConnections?: PrivateEndpointConnection[];
536
466
  /**
537
467
  * The list of shared private link resources managed by the Azure Cognitive Search service.
538
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
468
+ * NOTE: This property will not be serialized. It can only be populated by the server.
539
469
  */
540
470
  readonly sharedPrivateLinkResources?: SharedPrivateLinkResource[];
541
- /**
542
- * The SKU of the Search Service, which determines price tier and capacity limits. This property
543
- * is required when creating a new Search Service.
544
- */
545
- sku?: Sku;
546
- /**
547
- * The geographic location of the resource. This must be one of the supported and registered
548
- * Azure Geo Regions (for example, West US, East US, Southeast Asia, and so forth). This property
549
- * is required when creating a new resource.
550
- */
551
- location?: string;
552
- /**
553
- * Tags to help categorize the resource in the Azure portal.
554
- */
555
- tags?: { [propertyName: string]: string };
556
- /**
557
- * The identity of the resource.
558
- */
559
- identity?: Identity;
560
- }
561
-
562
- /**
563
- * The details of a long running asynchronous shared private link resource operation
564
- */
565
- export interface AsyncOperationResult {
566
- /**
567
- * The current status of the long running asynchronous shared private link resource operation.
568
- * Possible values include: 'Running', 'Succeeded', 'Failed'
569
- */
570
- status?: SharedPrivateLinkResourceAsyncOperationResult;
571
- }
572
-
573
- /**
574
- * The object that describes the operation.
575
- */
576
- export interface OperationDisplay {
577
- /**
578
- * The friendly name of the resource provider.
579
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
580
- */
581
- readonly provider?: string;
582
- /**
583
- * The operation type: read, write, delete, listKeys/action, etc.
584
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
585
- */
586
- readonly operation?: string;
587
- /**
588
- * The resource type on which the operation is performed.
589
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
590
- */
591
- readonly resource?: string;
592
- /**
593
- * The friendly name of the operation.
594
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
595
- */
596
- readonly description?: string;
597
- }
598
-
599
- /**
600
- * Describes a REST API operation.
601
- */
602
- export interface Operation {
603
- /**
604
- * The name of the operation. This name is of the form {provider}/{resource}/{operation}.
605
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
606
- */
607
- readonly name?: string;
608
- /**
609
- * The object that describes the operation.
610
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
611
- */
612
- readonly display?: OperationDisplay;
613
- }
614
-
615
- /**
616
- * The resource model definition for a Azure Resource Manager proxy resource. It will not have tags
617
- * and a location
618
- * @summary Proxy Resource
619
- */
620
- export interface ProxyResource extends Resource {
621
- }
622
-
623
- /**
624
- * The resource model definition for an Azure Resource Manager resource with an etag.
625
- * @summary Entity Resource
626
- */
627
- export interface AzureEntityResource extends Resource {
628
- /**
629
- * Resource Etag.
630
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
631
- */
632
- readonly etag?: string;
633
- }
471
+ };
634
472
 
635
- /**
636
- * Additional parameters for a set of operations.
637
- */
473
+ /** Parameter group */
638
474
  export interface SearchManagementRequestOptions {
639
- /**
640
- * A client-generated GUID value that identifies this request. If specified, this will be
641
- * included in response information as a way to track the request.
642
- */
475
+ /** A client-generated GUID value that identifies this request. If specified, this will be included in response information as a way to track the request. */
643
476
  clientRequestId?: string;
644
477
  }
645
478
 
646
- /**
647
- * Optional Parameters.
648
- */
649
- export interface AdminKeysGetOptionalParams extends msRest.RequestOptionsBase {
650
- /**
651
- * Additional parameters for the operation
652
- */
479
+ /** Known values of {@link UnavailableNameReason} that the service accepts. */
480
+ export enum KnownUnavailableNameReason {
481
+ Invalid = "Invalid",
482
+ AlreadyExists = "AlreadyExists"
483
+ }
484
+
485
+ /**
486
+ * Defines values for UnavailableNameReason. \
487
+ * {@link KnownUnavailableNameReason} can be used interchangeably with UnavailableNameReason,
488
+ * this enum contains the known values that the service supports.
489
+ * ### Known values supported by the service
490
+ * **Invalid** \
491
+ * **AlreadyExists**
492
+ */
493
+ export type UnavailableNameReason = string;
494
+
495
+ /** Known values of {@link SharedPrivateLinkResourceAsyncOperationResult} that the service accepts. */
496
+ export enum KnownSharedPrivateLinkResourceAsyncOperationResult {
497
+ Running = "Running",
498
+ Succeeded = "Succeeded",
499
+ Failed = "Failed"
500
+ }
501
+
502
+ /**
503
+ * Defines values for SharedPrivateLinkResourceAsyncOperationResult. \
504
+ * {@link KnownSharedPrivateLinkResourceAsyncOperationResult} can be used interchangeably with SharedPrivateLinkResourceAsyncOperationResult,
505
+ * this enum contains the known values that the service supports.
506
+ * ### Known values supported by the service
507
+ * **Running** \
508
+ * **Succeeded** \
509
+ * **Failed**
510
+ */
511
+ export type SharedPrivateLinkResourceAsyncOperationResult = string;
512
+ /** Defines values for AdminKeyKind. */
513
+ export type AdminKeyKind = "primary" | "secondary";
514
+ /** Defines values for HostingMode. */
515
+ export type HostingMode = "default" | "highDensity";
516
+ /** Defines values for PublicNetworkAccess. */
517
+ export type PublicNetworkAccess = "enabled" | "disabled";
518
+ /** Defines values for SearchServiceStatus. */
519
+ export type SearchServiceStatus =
520
+ | "running"
521
+ | "provisioning"
522
+ | "deleting"
523
+ | "degraded"
524
+ | "disabled"
525
+ | "error";
526
+ /** Defines values for ProvisioningState. */
527
+ export type ProvisioningState = "succeeded" | "provisioning" | "failed";
528
+ /** Defines values for PrivateLinkServiceConnectionStatus. */
529
+ export type PrivateLinkServiceConnectionStatus =
530
+ | "Pending"
531
+ | "Approved"
532
+ | "Rejected"
533
+ | "Disconnected";
534
+ /** Defines values for SharedPrivateLinkResourceStatus. */
535
+ export type SharedPrivateLinkResourceStatus =
536
+ | "Pending"
537
+ | "Approved"
538
+ | "Rejected"
539
+ | "Disconnected";
540
+ /** Defines values for SharedPrivateLinkResourceProvisioningState. */
541
+ export type SharedPrivateLinkResourceProvisioningState =
542
+ | "Updating"
543
+ | "Deleting"
544
+ | "Failed"
545
+ | "Succeeded"
546
+ | "Incomplete";
547
+ /** Defines values for SkuName. */
548
+ export type SkuName =
549
+ | "free"
550
+ | "basic"
551
+ | "standard"
552
+ | "standard2"
553
+ | "standard3"
554
+ | "storage_optimized_l1"
555
+ | "storage_optimized_l2";
556
+ /** Defines values for IdentityType. */
557
+ export type IdentityType = "None" | "SystemAssigned";
558
+
559
+ /** Optional parameters. */
560
+ export interface OperationsListOptionalParams
561
+ extends coreClient.OperationOptions {}
562
+
563
+ /** Contains response data for the list operation. */
564
+ export type OperationsListResponse = OperationListResult;
565
+
566
+ /** Optional parameters. */
567
+ export interface AdminKeysGetOptionalParams
568
+ extends coreClient.OperationOptions {
569
+ /** Parameter group */
653
570
  searchManagementRequestOptions?: SearchManagementRequestOptions;
654
571
  }
655
572
 
656
- /**
657
- * Optional Parameters.
658
- */
659
- export interface AdminKeysRegenerateOptionalParams extends msRest.RequestOptionsBase {
660
- /**
661
- * Additional parameters for the operation
662
- */
663
- searchManagementRequestOptions?: SearchManagementRequestOptions;
664
- }
573
+ /** Contains response data for the get operation. */
574
+ export type AdminKeysGetResponse = AdminKeyResult;
665
575
 
666
- /**
667
- * Optional Parameters.
668
- */
669
- export interface QueryKeysCreateOptionalParams extends msRest.RequestOptionsBase {
670
- /**
671
- * Additional parameters for the operation
672
- */
576
+ /** Optional parameters. */
577
+ export interface AdminKeysRegenerateOptionalParams
578
+ extends coreClient.OperationOptions {
579
+ /** Parameter group */
673
580
  searchManagementRequestOptions?: SearchManagementRequestOptions;
674
581
  }
675
582
 
676
- /**
677
- * Optional Parameters.
678
- */
679
- export interface QueryKeysListBySearchServiceOptionalParams extends msRest.RequestOptionsBase {
680
- /**
681
- * Additional parameters for the operation
682
- */
683
- searchManagementRequestOptions?: SearchManagementRequestOptions;
684
- }
583
+ /** Contains response data for the regenerate operation. */
584
+ export type AdminKeysRegenerateResponse = AdminKeyResult;
685
585
 
686
- /**
687
- * Optional Parameters.
688
- */
689
- export interface QueryKeysDeleteMethodOptionalParams extends msRest.RequestOptionsBase {
690
- /**
691
- * Additional parameters for the operation
692
- */
586
+ /** Optional parameters. */
587
+ export interface QueryKeysCreateOptionalParams
588
+ extends coreClient.OperationOptions {
589
+ /** Parameter group */
693
590
  searchManagementRequestOptions?: SearchManagementRequestOptions;
694
591
  }
695
592
 
696
- /**
697
- * Optional Parameters.
698
- */
699
- export interface QueryKeysListBySearchServiceNextOptionalParams extends msRest.RequestOptionsBase {
700
- /**
701
- * Additional parameters for the operation
702
- */
703
- searchManagementRequestOptions?: SearchManagementRequestOptions;
704
- }
593
+ /** Contains response data for the create operation. */
594
+ export type QueryKeysCreateResponse = QueryKey;
705
595
 
706
- /**
707
- * Optional Parameters.
708
- */
709
- export interface ServicesCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase {
710
- /**
711
- * Additional parameters for the operation
712
- */
596
+ /** Optional parameters. */
597
+ export interface QueryKeysListBySearchServiceOptionalParams
598
+ extends coreClient.OperationOptions {
599
+ /** Parameter group */
713
600
  searchManagementRequestOptions?: SearchManagementRequestOptions;
714
601
  }
715
602
 
716
- /**
717
- * Optional Parameters.
718
- */
719
- export interface ServicesUpdateOptionalParams extends msRest.RequestOptionsBase {
720
- /**
721
- * Additional parameters for the operation
722
- */
723
- searchManagementRequestOptions?: SearchManagementRequestOptions;
724
- }
603
+ /** Contains response data for the listBySearchService operation. */
604
+ export type QueryKeysListBySearchServiceResponse = ListQueryKeysResult;
725
605
 
726
- /**
727
- * Optional Parameters.
728
- */
729
- export interface ServicesGetOptionalParams extends msRest.RequestOptionsBase {
730
- /**
731
- * Additional parameters for the operation
732
- */
606
+ /** Optional parameters. */
607
+ export interface QueryKeysDeleteOptionalParams
608
+ extends coreClient.OperationOptions {
609
+ /** Parameter group */
733
610
  searchManagementRequestOptions?: SearchManagementRequestOptions;
734
611
  }
735
612
 
736
- /**
737
- * Optional Parameters.
738
- */
739
- export interface ServicesDeleteMethodOptionalParams extends msRest.RequestOptionsBase {
740
- /**
741
- * Additional parameters for the operation
742
- */
613
+ /** Optional parameters. */
614
+ export interface QueryKeysListBySearchServiceNextOptionalParams
615
+ extends coreClient.OperationOptions {
616
+ /** Parameter group */
743
617
  searchManagementRequestOptions?: SearchManagementRequestOptions;
744
618
  }
745
619
 
746
- /**
747
- * Optional Parameters.
748
- */
749
- export interface ServicesListByResourceGroupOptionalParams extends msRest.RequestOptionsBase {
750
- /**
751
- * Additional parameters for the operation
752
- */
753
- searchManagementRequestOptions?: SearchManagementRequestOptions;
754
- }
620
+ /** Contains response data for the listBySearchServiceNext operation. */
621
+ export type QueryKeysListBySearchServiceNextResponse = ListQueryKeysResult;
755
622
 
756
- /**
757
- * Optional Parameters.
758
- */
759
- export interface ServicesListBySubscriptionOptionalParams extends msRest.RequestOptionsBase {
760
- /**
761
- * Additional parameters for the operation
762
- */
623
+ /** Optional parameters. */
624
+ export interface ServicesCreateOrUpdateOptionalParams
625
+ extends coreClient.OperationOptions {
626
+ /** Parameter group */
763
627
  searchManagementRequestOptions?: SearchManagementRequestOptions;
628
+ /** Delay to wait until next poll, in milliseconds. */
629
+ updateIntervalInMs?: number;
630
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
631
+ resumeFrom?: string;
764
632
  }
765
633
 
766
- /**
767
- * Optional Parameters.
768
- */
769
- export interface ServicesCheckNameAvailabilityOptionalParams extends msRest.RequestOptionsBase {
770
- /**
771
- * Additional parameters for the operation
772
- */
773
- searchManagementRequestOptions?: SearchManagementRequestOptions;
774
- }
634
+ /** Contains response data for the createOrUpdate operation. */
635
+ export type ServicesCreateOrUpdateResponse = SearchService;
775
636
 
776
- /**
777
- * Optional Parameters.
778
- */
779
- export interface ServicesBeginCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase {
780
- /**
781
- * Additional parameters for the operation
782
- */
637
+ /** Optional parameters. */
638
+ export interface ServicesUpdateOptionalParams
639
+ extends coreClient.OperationOptions {
640
+ /** Parameter group */
783
641
  searchManagementRequestOptions?: SearchManagementRequestOptions;
784
642
  }
785
643
 
786
- /**
787
- * Optional Parameters.
788
- */
789
- export interface ServicesListByResourceGroupNextOptionalParams extends msRest.RequestOptionsBase {
790
- /**
791
- * Additional parameters for the operation
792
- */
793
- searchManagementRequestOptions?: SearchManagementRequestOptions;
794
- }
644
+ /** Contains response data for the update operation. */
645
+ export type ServicesUpdateResponse = SearchService;
795
646
 
796
- /**
797
- * Optional Parameters.
798
- */
799
- export interface ServicesListBySubscriptionNextOptionalParams extends msRest.RequestOptionsBase {
800
- /**
801
- * Additional parameters for the operation
802
- */
647
+ /** Optional parameters. */
648
+ export interface ServicesGetOptionalParams extends coreClient.OperationOptions {
649
+ /** Parameter group */
803
650
  searchManagementRequestOptions?: SearchManagementRequestOptions;
804
651
  }
805
652
 
806
- /**
807
- * Optional Parameters.
808
- */
809
- export interface PrivateLinkResourcesListSupportedOptionalParams extends msRest.RequestOptionsBase {
810
- /**
811
- * Additional parameters for the operation
812
- */
813
- searchManagementRequestOptions?: SearchManagementRequestOptions;
814
- }
653
+ /** Contains response data for the get operation. */
654
+ export type ServicesGetResponse = SearchService;
815
655
 
816
- /**
817
- * Optional Parameters.
818
- */
819
- export interface PrivateEndpointConnectionsUpdateOptionalParams extends msRest.RequestOptionsBase {
820
- /**
821
- * Additional parameters for the operation
822
- */
656
+ /** Optional parameters. */
657
+ export interface ServicesDeleteOptionalParams
658
+ extends coreClient.OperationOptions {
659
+ /** Parameter group */
823
660
  searchManagementRequestOptions?: SearchManagementRequestOptions;
824
661
  }
825
662
 
826
- /**
827
- * Optional Parameters.
828
- */
829
- export interface PrivateEndpointConnectionsGetOptionalParams extends msRest.RequestOptionsBase {
830
- /**
831
- * Additional parameters for the operation
832
- */
663
+ /** Optional parameters. */
664
+ export interface ServicesListByResourceGroupOptionalParams
665
+ extends coreClient.OperationOptions {
666
+ /** Parameter group */
833
667
  searchManagementRequestOptions?: SearchManagementRequestOptions;
834
668
  }
835
669
 
836
- /**
837
- * Optional Parameters.
838
- */
839
- export interface PrivateEndpointConnectionsDeleteMethodOptionalParams extends msRest.RequestOptionsBase {
840
- /**
841
- * Additional parameters for the operation
842
- */
670
+ /** Contains response data for the listByResourceGroup operation. */
671
+ export type ServicesListByResourceGroupResponse = SearchServiceListResult;
672
+
673
+ /** Optional parameters. */
674
+ export interface ServicesListBySubscriptionOptionalParams
675
+ extends coreClient.OperationOptions {
676
+ /** Parameter group */
843
677
  searchManagementRequestOptions?: SearchManagementRequestOptions;
844
678
  }
845
679
 
846
- /**
847
- * Optional Parameters.
848
- */
849
- export interface PrivateEndpointConnectionsListByServiceOptionalParams extends msRest.RequestOptionsBase {
850
- /**
851
- * Additional parameters for the operation
852
- */
680
+ /** Contains response data for the listBySubscription operation. */
681
+ export type ServicesListBySubscriptionResponse = SearchServiceListResult;
682
+
683
+ /** Optional parameters. */
684
+ export interface ServicesCheckNameAvailabilityOptionalParams
685
+ extends coreClient.OperationOptions {
686
+ /** Parameter group */
853
687
  searchManagementRequestOptions?: SearchManagementRequestOptions;
854
688
  }
855
689
 
856
- /**
857
- * Optional Parameters.
858
- */
859
- export interface PrivateEndpointConnectionsListByServiceNextOptionalParams extends msRest.RequestOptionsBase {
860
- /**
861
- * Additional parameters for the operation
862
- */
690
+ /** Contains response data for the checkNameAvailability operation. */
691
+ export type ServicesCheckNameAvailabilityResponse = CheckNameAvailabilityOutput;
692
+
693
+ /** Optional parameters. */
694
+ export interface ServicesListByResourceGroupNextOptionalParams
695
+ extends coreClient.OperationOptions {
696
+ /** Parameter group */
863
697
  searchManagementRequestOptions?: SearchManagementRequestOptions;
864
698
  }
865
699
 
866
- /**
867
- * Optional Parameters.
868
- */
869
- export interface SharedPrivateLinkResourcesCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase {
870
- /**
871
- * Additional parameters for the operation
872
- */
700
+ /** Contains response data for the listByResourceGroupNext operation. */
701
+ export type ServicesListByResourceGroupNextResponse = SearchServiceListResult;
702
+
703
+ /** Optional parameters. */
704
+ export interface ServicesListBySubscriptionNextOptionalParams
705
+ extends coreClient.OperationOptions {
706
+ /** Parameter group */
873
707
  searchManagementRequestOptions?: SearchManagementRequestOptions;
874
708
  }
875
709
 
876
- /**
877
- * Optional Parameters.
878
- */
879
- export interface SharedPrivateLinkResourcesGetOptionalParams extends msRest.RequestOptionsBase {
880
- /**
881
- * Additional parameters for the operation
882
- */
710
+ /** Contains response data for the listBySubscriptionNext operation. */
711
+ export type ServicesListBySubscriptionNextResponse = SearchServiceListResult;
712
+
713
+ /** Optional parameters. */
714
+ export interface PrivateLinkResourcesListSupportedOptionalParams
715
+ extends coreClient.OperationOptions {
716
+ /** Parameter group */
883
717
  searchManagementRequestOptions?: SearchManagementRequestOptions;
884
718
  }
885
719
 
886
- /**
887
- * Optional Parameters.
888
- */
889
- export interface SharedPrivateLinkResourcesDeleteMethodOptionalParams extends msRest.RequestOptionsBase {
890
- /**
891
- * Additional parameters for the operation
892
- */
720
+ /** Contains response data for the listSupported operation. */
721
+ export type PrivateLinkResourcesListSupportedResponse = PrivateLinkResourcesResult;
722
+
723
+ /** Optional parameters. */
724
+ export interface PrivateEndpointConnectionsUpdateOptionalParams
725
+ extends coreClient.OperationOptions {
726
+ /** Parameter group */
893
727
  searchManagementRequestOptions?: SearchManagementRequestOptions;
894
728
  }
895
729
 
896
- /**
897
- * Optional Parameters.
898
- */
899
- export interface SharedPrivateLinkResourcesListByServiceOptionalParams extends msRest.RequestOptionsBase {
900
- /**
901
- * Additional parameters for the operation
902
- */
730
+ /** Contains response data for the update operation. */
731
+ export type PrivateEndpointConnectionsUpdateResponse = PrivateEndpointConnection;
732
+
733
+ /** Optional parameters. */
734
+ export interface PrivateEndpointConnectionsGetOptionalParams
735
+ extends coreClient.OperationOptions {
736
+ /** Parameter group */
903
737
  searchManagementRequestOptions?: SearchManagementRequestOptions;
904
738
  }
905
739
 
906
- /**
907
- * Optional Parameters.
908
- */
909
- export interface SharedPrivateLinkResourcesBeginCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase {
910
- /**
911
- * Additional parameters for the operation
912
- */
740
+ /** Contains response data for the get operation. */
741
+ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
742
+
743
+ /** Optional parameters. */
744
+ export interface PrivateEndpointConnectionsDeleteOptionalParams
745
+ extends coreClient.OperationOptions {
746
+ /** Parameter group */
913
747
  searchManagementRequestOptions?: SearchManagementRequestOptions;
914
748
  }
915
749
 
916
- /**
917
- * Optional Parameters.
918
- */
919
- export interface SharedPrivateLinkResourcesBeginDeleteMethodOptionalParams extends msRest.RequestOptionsBase {
920
- /**
921
- * Additional parameters for the operation
922
- */
750
+ /** Contains response data for the delete operation. */
751
+ export type PrivateEndpointConnectionsDeleteResponse = PrivateEndpointConnection;
752
+
753
+ /** Optional parameters. */
754
+ export interface PrivateEndpointConnectionsListByServiceOptionalParams
755
+ extends coreClient.OperationOptions {
756
+ /** Parameter group */
923
757
  searchManagementRequestOptions?: SearchManagementRequestOptions;
924
758
  }
925
759
 
926
- /**
927
- * Optional Parameters.
928
- */
929
- export interface SharedPrivateLinkResourcesListByServiceNextOptionalParams extends msRest.RequestOptionsBase {
930
- /**
931
- * Additional parameters for the operation
932
- */
760
+ /** Contains response data for the listByService operation. */
761
+ export type PrivateEndpointConnectionsListByServiceResponse = PrivateEndpointConnectionListResult;
762
+
763
+ /** Optional parameters. */
764
+ export interface PrivateEndpointConnectionsListByServiceNextOptionalParams
765
+ extends coreClient.OperationOptions {
766
+ /** Parameter group */
933
767
  searchManagementRequestOptions?: SearchManagementRequestOptions;
934
768
  }
935
769
 
936
- /**
937
- * An interface representing SearchManagementClientOptions.
938
- */
939
- export interface SearchManagementClientOptions extends AzureServiceClientOptions {
940
- baseUri?: string;
941
- }
770
+ /** Contains response data for the listByServiceNext operation. */
771
+ export type PrivateEndpointConnectionsListByServiceNextResponse = PrivateEndpointConnectionListResult;
942
772
 
943
- /**
944
- * @interface
945
- * The result of the request to list REST API operations. It contains a list of operations and a
946
- * URL to get the next set of results.
947
- * @extends Array<Operation>
948
- */
949
- export interface OperationListResult extends Array<Operation> {
950
- /**
951
- * The URL to get the next set of operation list results, if any.
952
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
953
- */
954
- readonly nextLink?: string;
773
+ /** Optional parameters. */
774
+ export interface SharedPrivateLinkResourcesCreateOrUpdateOptionalParams
775
+ extends coreClient.OperationOptions {
776
+ /** Parameter group */
777
+ searchManagementRequestOptions?: SearchManagementRequestOptions;
778
+ /** Delay to wait until next poll, in milliseconds. */
779
+ updateIntervalInMs?: number;
780
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
781
+ resumeFrom?: string;
955
782
  }
956
783
 
957
- /**
958
- * @interface
959
- * Response containing the query API keys for a given Azure Cognitive Search service.
960
- * @extends Array<QueryKey>
961
- */
962
- export interface ListQueryKeysResult extends Array<QueryKey> {
963
- /**
964
- * Request URL that can be used to query next page of query keys. Returned when the total number
965
- * of requested query keys exceed maximum page size.
966
- */
967
- readonly nextLink?: string;
968
- }
784
+ /** Contains response data for the createOrUpdate operation. */
785
+ export type SharedPrivateLinkResourcesCreateOrUpdateResponse = SharedPrivateLinkResource;
969
786
 
970
- /**
971
- * @interface
972
- * Response containing a list of Azure Cognitive Search services.
973
- * @extends Array<SearchService>
974
- */
975
- export interface SearchServiceListResult extends Array<SearchService> {
976
- /**
977
- * Request URL that can be used to query next page of search services. Returned when the total
978
- * number of requested search services exceed maximum page size.
979
- */
980
- readonly nextLink?: string;
787
+ /** Optional parameters. */
788
+ export interface SharedPrivateLinkResourcesGetOptionalParams
789
+ extends coreClient.OperationOptions {
790
+ /** Parameter group */
791
+ searchManagementRequestOptions?: SearchManagementRequestOptions;
981
792
  }
982
793
 
983
- /**
984
- * @interface
985
- * Response containing a list of supported Private Link Resources.
986
- * @extends Array<PrivateLinkResource>
987
- */
988
- export interface PrivateLinkResourcesResult extends Array<PrivateLinkResource> {
989
- }
794
+ /** Contains response data for the get operation. */
795
+ export type SharedPrivateLinkResourcesGetResponse = SharedPrivateLinkResource;
990
796
 
991
- /**
992
- * @interface
993
- * Response containing a list of Private Endpoint connections.
994
- * @extends Array<PrivateEndpointConnection>
995
- */
996
- export interface PrivateEndpointConnectionListResult extends Array<PrivateEndpointConnection> {
997
- /**
998
- * Request URL that can be used to query next page of private endpoint connections. Returned when
999
- * the total number of requested private endpoint connections exceed maximum page size.
1000
- */
1001
- readonly nextLink?: string;
797
+ /** Optional parameters. */
798
+ export interface SharedPrivateLinkResourcesDeleteOptionalParams
799
+ extends coreClient.OperationOptions {
800
+ /** Parameter group */
801
+ searchManagementRequestOptions?: SearchManagementRequestOptions;
802
+ /** Delay to wait until next poll, in milliseconds. */
803
+ updateIntervalInMs?: number;
804
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
805
+ resumeFrom?: string;
1002
806
  }
1003
807
 
1004
- /**
1005
- * @interface
1006
- * Response containing a list of Shared Private Link Resources.
1007
- * @extends Array<SharedPrivateLinkResource>
1008
- */
1009
- export interface SharedPrivateLinkResourceListResult extends Array<SharedPrivateLinkResource> {
1010
- /**
1011
- * The URL to get the next set of shared private link resources, if there are any.
1012
- */
1013
- nextLink?: string;
808
+ /** Optional parameters. */
809
+ export interface SharedPrivateLinkResourcesListByServiceOptionalParams
810
+ extends coreClient.OperationOptions {
811
+ /** Parameter group */
812
+ searchManagementRequestOptions?: SearchManagementRequestOptions;
1014
813
  }
1015
814
 
1016
- /**
1017
- * Defines values for UnavailableNameReason.
1018
- * Possible values include: 'Invalid', 'AlreadyExists'
1019
- * @readonly
1020
- * @enum {string}
1021
- */
1022
- export type UnavailableNameReason = 'Invalid' | 'AlreadyExists';
1023
-
1024
- /**
1025
- * Defines values for SkuName.
1026
- * Possible values include: 'free', 'basic', 'standard', 'standard2', 'standard3',
1027
- * 'storage_optimized_l1', 'storage_optimized_l2'
1028
- * @readonly
1029
- * @enum {string}
1030
- */
1031
- export type SkuName = 'free' | 'basic' | 'standard' | 'standard2' | 'standard3' | 'storage_optimized_l1' | 'storage_optimized_l2';
1032
-
1033
- /**
1034
- * Defines values for PrivateLinkServiceConnectionStatus.
1035
- * Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected'
1036
- * @readonly
1037
- * @enum {string}
1038
- */
1039
- export type PrivateLinkServiceConnectionStatus = 'Pending' | 'Approved' | 'Rejected' | 'Disconnected';
1040
-
1041
- /**
1042
- * Defines values for SharedPrivateLinkResourceStatus.
1043
- * Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected'
1044
- * @readonly
1045
- * @enum {string}
1046
- */
1047
- export type SharedPrivateLinkResourceStatus = 'Pending' | 'Approved' | 'Rejected' | 'Disconnected';
1048
-
1049
- /**
1050
- * Defines values for SharedPrivateLinkResourceProvisioningState.
1051
- * Possible values include: 'Updating', 'Deleting', 'Failed', 'Succeeded', 'Incomplete'
1052
- * @readonly
1053
- * @enum {string}
1054
- */
1055
- export type SharedPrivateLinkResourceProvisioningState = 'Updating' | 'Deleting' | 'Failed' | 'Succeeded' | 'Incomplete';
1056
-
1057
- /**
1058
- * Defines values for HostingMode.
1059
- * Possible values include: 'default', 'highDensity'
1060
- * @readonly
1061
- * @enum {string}
1062
- */
1063
- export type HostingMode = 'default' | 'highDensity';
1064
-
1065
- /**
1066
- * Defines values for PublicNetworkAccess.
1067
- * Possible values include: 'enabled', 'disabled'
1068
- * @readonly
1069
- * @enum {string}
1070
- */
1071
- export type PublicNetworkAccess = 'enabled' | 'disabled';
1072
-
1073
- /**
1074
- * Defines values for SearchServiceStatus.
1075
- * Possible values include: 'running', 'provisioning', 'deleting', 'degraded', 'disabled', 'error'
1076
- * @readonly
1077
- * @enum {string}
1078
- */
1079
- export type SearchServiceStatus = 'running' | 'provisioning' | 'deleting' | 'degraded' | 'disabled' | 'error';
1080
-
1081
- /**
1082
- * Defines values for ProvisioningState.
1083
- * Possible values include: 'succeeded', 'provisioning', 'failed'
1084
- * @readonly
1085
- * @enum {string}
1086
- */
1087
- export type ProvisioningState = 'succeeded' | 'provisioning' | 'failed';
1088
-
1089
- /**
1090
- * Defines values for IdentityType.
1091
- * Possible values include: 'None', 'SystemAssigned'
1092
- * @readonly
1093
- * @enum {string}
1094
- */
1095
- export type IdentityType = 'None' | 'SystemAssigned';
1096
-
1097
- /**
1098
- * Defines values for SharedPrivateLinkResourceAsyncOperationResult.
1099
- * Possible values include: 'Running', 'Succeeded', 'Failed'
1100
- * @readonly
1101
- * @enum {string}
1102
- */
1103
- export type SharedPrivateLinkResourceAsyncOperationResult = 'Running' | 'Succeeded' | 'Failed';
1104
-
1105
- /**
1106
- * Defines values for AdminKeyKind.
1107
- * Possible values include: 'primary', 'secondary'
1108
- * @readonly
1109
- * @enum {string}
1110
- */
1111
- export type AdminKeyKind = 'primary' | 'secondary';
1112
-
1113
- /**
1114
- * Contains response data for the list operation.
1115
- */
1116
- export type OperationsListResponse = OperationListResult & {
1117
- /**
1118
- * The underlying HTTP response.
1119
- */
1120
- _response: msRest.HttpResponse & {
1121
- /**
1122
- * The response body as text (string format)
1123
- */
1124
- bodyAsText: string;
1125
-
1126
- /**
1127
- * The response body as parsed JSON or XML
1128
- */
1129
- parsedBody: OperationListResult;
1130
- };
1131
- };
1132
-
1133
- /**
1134
- * Contains response data for the get operation.
1135
- */
1136
- export type AdminKeysGetResponse = AdminKeyResult & {
1137
- /**
1138
- * The underlying HTTP response.
1139
- */
1140
- _response: msRest.HttpResponse & {
1141
- /**
1142
- * The response body as text (string format)
1143
- */
1144
- bodyAsText: string;
1145
-
1146
- /**
1147
- * The response body as parsed JSON or XML
1148
- */
1149
- parsedBody: AdminKeyResult;
1150
- };
1151
- };
1152
-
1153
- /**
1154
- * Contains response data for the regenerate operation.
1155
- */
1156
- export type AdminKeysRegenerateResponse = AdminKeyResult & {
1157
- /**
1158
- * The underlying HTTP response.
1159
- */
1160
- _response: msRest.HttpResponse & {
1161
- /**
1162
- * The response body as text (string format)
1163
- */
1164
- bodyAsText: string;
1165
-
1166
- /**
1167
- * The response body as parsed JSON or XML
1168
- */
1169
- parsedBody: AdminKeyResult;
1170
- };
1171
- };
1172
-
1173
- /**
1174
- * Contains response data for the create operation.
1175
- */
1176
- export type QueryKeysCreateResponse = QueryKey & {
1177
- /**
1178
- * The underlying HTTP response.
1179
- */
1180
- _response: msRest.HttpResponse & {
1181
- /**
1182
- * The response body as text (string format)
1183
- */
1184
- bodyAsText: string;
1185
-
1186
- /**
1187
- * The response body as parsed JSON or XML
1188
- */
1189
- parsedBody: QueryKey;
1190
- };
1191
- };
1192
-
1193
- /**
1194
- * Contains response data for the listBySearchService operation.
1195
- */
1196
- export type QueryKeysListBySearchServiceResponse = ListQueryKeysResult & {
1197
- /**
1198
- * The underlying HTTP response.
1199
- */
1200
- _response: msRest.HttpResponse & {
1201
- /**
1202
- * The response body as text (string format)
1203
- */
1204
- bodyAsText: string;
1205
-
1206
- /**
1207
- * The response body as parsed JSON or XML
1208
- */
1209
- parsedBody: ListQueryKeysResult;
1210
- };
1211
- };
1212
-
1213
- /**
1214
- * Contains response data for the listBySearchServiceNext operation.
1215
- */
1216
- export type QueryKeysListBySearchServiceNextResponse = ListQueryKeysResult & {
1217
- /**
1218
- * The underlying HTTP response.
1219
- */
1220
- _response: msRest.HttpResponse & {
1221
- /**
1222
- * The response body as text (string format)
1223
- */
1224
- bodyAsText: string;
1225
-
1226
- /**
1227
- * The response body as parsed JSON or XML
1228
- */
1229
- parsedBody: ListQueryKeysResult;
1230
- };
1231
- };
815
+ /** Contains response data for the listByService operation. */
816
+ export type SharedPrivateLinkResourcesListByServiceResponse = SharedPrivateLinkResourceListResult;
1232
817
 
1233
- /**
1234
- * Contains response data for the createOrUpdate operation.
1235
- */
1236
- export type ServicesCreateOrUpdateResponse = SearchService & {
1237
- /**
1238
- * The underlying HTTP response.
1239
- */
1240
- _response: msRest.HttpResponse & {
1241
- /**
1242
- * The response body as text (string format)
1243
- */
1244
- bodyAsText: string;
1245
-
1246
- /**
1247
- * The response body as parsed JSON or XML
1248
- */
1249
- parsedBody: SearchService;
1250
- };
1251
- };
1252
-
1253
- /**
1254
- * Contains response data for the update operation.
1255
- */
1256
- export type ServicesUpdateResponse = SearchService & {
1257
- /**
1258
- * The underlying HTTP response.
1259
- */
1260
- _response: msRest.HttpResponse & {
1261
- /**
1262
- * The response body as text (string format)
1263
- */
1264
- bodyAsText: string;
1265
-
1266
- /**
1267
- * The response body as parsed JSON or XML
1268
- */
1269
- parsedBody: SearchService;
1270
- };
1271
- };
1272
-
1273
- /**
1274
- * Contains response data for the get operation.
1275
- */
1276
- export type ServicesGetResponse = SearchService & {
1277
- /**
1278
- * The underlying HTTP response.
1279
- */
1280
- _response: msRest.HttpResponse & {
1281
- /**
1282
- * The response body as text (string format)
1283
- */
1284
- bodyAsText: string;
1285
-
1286
- /**
1287
- * The response body as parsed JSON or XML
1288
- */
1289
- parsedBody: SearchService;
1290
- };
1291
- };
1292
-
1293
- /**
1294
- * Contains response data for the listByResourceGroup operation.
1295
- */
1296
- export type ServicesListByResourceGroupResponse = SearchServiceListResult & {
1297
- /**
1298
- * The underlying HTTP response.
1299
- */
1300
- _response: msRest.HttpResponse & {
1301
- /**
1302
- * The response body as text (string format)
1303
- */
1304
- bodyAsText: string;
1305
-
1306
- /**
1307
- * The response body as parsed JSON or XML
1308
- */
1309
- parsedBody: SearchServiceListResult;
1310
- };
1311
- };
1312
-
1313
- /**
1314
- * Contains response data for the listBySubscription operation.
1315
- */
1316
- export type ServicesListBySubscriptionResponse = SearchServiceListResult & {
1317
- /**
1318
- * The underlying HTTP response.
1319
- */
1320
- _response: msRest.HttpResponse & {
1321
- /**
1322
- * The response body as text (string format)
1323
- */
1324
- bodyAsText: string;
1325
-
1326
- /**
1327
- * The response body as parsed JSON or XML
1328
- */
1329
- parsedBody: SearchServiceListResult;
1330
- };
1331
- };
1332
-
1333
- /**
1334
- * Contains response data for the checkNameAvailability operation.
1335
- */
1336
- export type ServicesCheckNameAvailabilityResponse = CheckNameAvailabilityOutput & {
1337
- /**
1338
- * The underlying HTTP response.
1339
- */
1340
- _response: msRest.HttpResponse & {
1341
- /**
1342
- * The response body as text (string format)
1343
- */
1344
- bodyAsText: string;
1345
-
1346
- /**
1347
- * The response body as parsed JSON or XML
1348
- */
1349
- parsedBody: CheckNameAvailabilityOutput;
1350
- };
1351
- };
1352
-
1353
- /**
1354
- * Contains response data for the beginCreateOrUpdate operation.
1355
- */
1356
- export type ServicesBeginCreateOrUpdateResponse = SearchService & {
1357
- /**
1358
- * The underlying HTTP response.
1359
- */
1360
- _response: msRest.HttpResponse & {
1361
- /**
1362
- * The response body as text (string format)
1363
- */
1364
- bodyAsText: string;
1365
-
1366
- /**
1367
- * The response body as parsed JSON or XML
1368
- */
1369
- parsedBody: SearchService;
1370
- };
1371
- };
1372
-
1373
- /**
1374
- * Contains response data for the listByResourceGroupNext operation.
1375
- */
1376
- export type ServicesListByResourceGroupNextResponse = SearchServiceListResult & {
1377
- /**
1378
- * The underlying HTTP response.
1379
- */
1380
- _response: msRest.HttpResponse & {
1381
- /**
1382
- * The response body as text (string format)
1383
- */
1384
- bodyAsText: string;
1385
-
1386
- /**
1387
- * The response body as parsed JSON or XML
1388
- */
1389
- parsedBody: SearchServiceListResult;
1390
- };
1391
- };
1392
-
1393
- /**
1394
- * Contains response data for the listBySubscriptionNext operation.
1395
- */
1396
- export type ServicesListBySubscriptionNextResponse = SearchServiceListResult & {
1397
- /**
1398
- * The underlying HTTP response.
1399
- */
1400
- _response: msRest.HttpResponse & {
1401
- /**
1402
- * The response body as text (string format)
1403
- */
1404
- bodyAsText: string;
1405
-
1406
- /**
1407
- * The response body as parsed JSON or XML
1408
- */
1409
- parsedBody: SearchServiceListResult;
1410
- };
1411
- };
1412
-
1413
- /**
1414
- * Contains response data for the listSupported operation.
1415
- */
1416
- export type PrivateLinkResourcesListSupportedResponse = PrivateLinkResourcesResult & {
1417
- /**
1418
- * The underlying HTTP response.
1419
- */
1420
- _response: msRest.HttpResponse & {
1421
- /**
1422
- * The response body as text (string format)
1423
- */
1424
- bodyAsText: string;
1425
-
1426
- /**
1427
- * The response body as parsed JSON or XML
1428
- */
1429
- parsedBody: PrivateLinkResourcesResult;
1430
- };
1431
- };
1432
-
1433
- /**
1434
- * Contains response data for the update operation.
1435
- */
1436
- export type PrivateEndpointConnectionsUpdateResponse = PrivateEndpointConnection & {
1437
- /**
1438
- * The underlying HTTP response.
1439
- */
1440
- _response: msRest.HttpResponse & {
1441
- /**
1442
- * The response body as text (string format)
1443
- */
1444
- bodyAsText: string;
1445
-
1446
- /**
1447
- * The response body as parsed JSON or XML
1448
- */
1449
- parsedBody: PrivateEndpointConnection;
1450
- };
1451
- };
1452
-
1453
- /**
1454
- * Contains response data for the get operation.
1455
- */
1456
- export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & {
1457
- /**
1458
- * The underlying HTTP response.
1459
- */
1460
- _response: msRest.HttpResponse & {
1461
- /**
1462
- * The response body as text (string format)
1463
- */
1464
- bodyAsText: string;
1465
-
1466
- /**
1467
- * The response body as parsed JSON or XML
1468
- */
1469
- parsedBody: PrivateEndpointConnection;
1470
- };
1471
- };
1472
-
1473
- /**
1474
- * Contains response data for the deleteMethod operation.
1475
- */
1476
- export type PrivateEndpointConnectionsDeleteMethodResponse = PrivateEndpointConnection & {
1477
- /**
1478
- * The underlying HTTP response.
1479
- */
1480
- _response: msRest.HttpResponse & {
1481
- /**
1482
- * The response body as text (string format)
1483
- */
1484
- bodyAsText: string;
1485
-
1486
- /**
1487
- * The response body as parsed JSON or XML
1488
- */
1489
- parsedBody: PrivateEndpointConnection;
1490
- };
1491
- };
1492
-
1493
- /**
1494
- * Contains response data for the listByService operation.
1495
- */
1496
- export type PrivateEndpointConnectionsListByServiceResponse = PrivateEndpointConnectionListResult & {
1497
- /**
1498
- * The underlying HTTP response.
1499
- */
1500
- _response: msRest.HttpResponse & {
1501
- /**
1502
- * The response body as text (string format)
1503
- */
1504
- bodyAsText: string;
1505
-
1506
- /**
1507
- * The response body as parsed JSON or XML
1508
- */
1509
- parsedBody: PrivateEndpointConnectionListResult;
1510
- };
1511
- };
1512
-
1513
- /**
1514
- * Contains response data for the listByServiceNext operation.
1515
- */
1516
- export type PrivateEndpointConnectionsListByServiceNextResponse = PrivateEndpointConnectionListResult & {
1517
- /**
1518
- * The underlying HTTP response.
1519
- */
1520
- _response: msRest.HttpResponse & {
1521
- /**
1522
- * The response body as text (string format)
1523
- */
1524
- bodyAsText: string;
1525
-
1526
- /**
1527
- * The response body as parsed JSON or XML
1528
- */
1529
- parsedBody: PrivateEndpointConnectionListResult;
1530
- };
1531
- };
1532
-
1533
- /**
1534
- * Contains response data for the createOrUpdate operation.
1535
- */
1536
- export type SharedPrivateLinkResourcesCreateOrUpdateResponse = SharedPrivateLinkResource & {
1537
- /**
1538
- * The underlying HTTP response.
1539
- */
1540
- _response: msRest.HttpResponse & {
1541
- /**
1542
- * The response body as text (string format)
1543
- */
1544
- bodyAsText: string;
1545
-
1546
- /**
1547
- * The response body as parsed JSON or XML
1548
- */
1549
- parsedBody: SharedPrivateLinkResource;
1550
- };
1551
- };
1552
-
1553
- /**
1554
- * Contains response data for the get operation.
1555
- */
1556
- export type SharedPrivateLinkResourcesGetResponse = SharedPrivateLinkResource & {
1557
- /**
1558
- * The underlying HTTP response.
1559
- */
1560
- _response: msRest.HttpResponse & {
1561
- /**
1562
- * The response body as text (string format)
1563
- */
1564
- bodyAsText: string;
1565
-
1566
- /**
1567
- * The response body as parsed JSON or XML
1568
- */
1569
- parsedBody: SharedPrivateLinkResource;
1570
- };
1571
- };
1572
-
1573
- /**
1574
- * Contains response data for the listByService operation.
1575
- */
1576
- export type SharedPrivateLinkResourcesListByServiceResponse = SharedPrivateLinkResourceListResult & {
1577
- /**
1578
- * The underlying HTTP response.
1579
- */
1580
- _response: msRest.HttpResponse & {
1581
- /**
1582
- * The response body as text (string format)
1583
- */
1584
- bodyAsText: string;
1585
-
1586
- /**
1587
- * The response body as parsed JSON or XML
1588
- */
1589
- parsedBody: SharedPrivateLinkResourceListResult;
1590
- };
1591
- };
818
+ /** Optional parameters. */
819
+ export interface SharedPrivateLinkResourcesListByServiceNextOptionalParams
820
+ extends coreClient.OperationOptions {
821
+ /** Parameter group */
822
+ searchManagementRequestOptions?: SearchManagementRequestOptions;
823
+ }
1592
824
 
1593
- /**
1594
- * Contains response data for the beginCreateOrUpdate operation.
1595
- */
1596
- export type SharedPrivateLinkResourcesBeginCreateOrUpdateResponse = SharedPrivateLinkResource & {
1597
- /**
1598
- * The underlying HTTP response.
1599
- */
1600
- _response: msRest.HttpResponse & {
1601
- /**
1602
- * The response body as text (string format)
1603
- */
1604
- bodyAsText: string;
1605
-
1606
- /**
1607
- * The response body as parsed JSON or XML
1608
- */
1609
- parsedBody: SharedPrivateLinkResource;
1610
- };
1611
- };
825
+ /** Contains response data for the listByServiceNext operation. */
826
+ export type SharedPrivateLinkResourcesListByServiceNextResponse = SharedPrivateLinkResourceListResult;
1612
827
 
1613
- /**
1614
- * Contains response data for the listByServiceNext operation.
1615
- */
1616
- export type SharedPrivateLinkResourcesListByServiceNextResponse = SharedPrivateLinkResourceListResult & {
1617
- /**
1618
- * The underlying HTTP response.
1619
- */
1620
- _response: msRest.HttpResponse & {
1621
- /**
1622
- * The response body as text (string format)
1623
- */
1624
- bodyAsText: string;
1625
-
1626
- /**
1627
- * The response body as parsed JSON or XML
1628
- */
1629
- parsedBody: SharedPrivateLinkResourceListResult;
1630
- };
1631
- };
828
+ /** Optional parameters. */
829
+ export interface SearchManagementClientOptionalParams
830
+ extends coreClient.ServiceClientOptions {
831
+ /** server parameter */
832
+ $host?: string;
833
+ /** Api Version */
834
+ apiVersion?: string;
835
+ /** Overrides client endpoint. */
836
+ endpoint?: string;
837
+ }