@azure/arm-search 3.2.0 → 3.3.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 (154) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/LICENSE +1 -1
  3. package/README.md +2 -2
  4. package/dist/index.js +1805 -777
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist-esm/samples-dev/adminKeysGetSample.js +3 -3
  9. package/dist-esm/samples-dev/adminKeysRegenerateSample.js +1 -1
  10. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.d.ts +2 -0
  11. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.d.ts.map +1 -0
  12. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.js +39 -0
  13. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.js.map +1 -0
  14. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListByServiceSample.d.ts +2 -0
  15. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListByServiceSample.d.ts.map +1 -0
  16. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListByServiceSample.js +54 -0
  17. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListByServiceSample.js.map +1 -0
  18. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.d.ts +2 -0
  19. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.d.ts.map +1 -0
  20. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.js +39 -0
  21. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.js.map +1 -0
  22. package/dist-esm/samples-dev/operationsListSample.js +3 -3
  23. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  24. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
  25. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
  26. package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.js +1 -1
  27. package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.js.map +1 -1
  28. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js +8 -8
  29. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js.map +1 -1
  30. package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.js +1 -1
  31. package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.js.map +1 -1
  32. package/dist-esm/samples-dev/queryKeysCreateSample.js +2 -2
  33. package/dist-esm/samples-dev/queryKeysCreateSample.js.map +1 -1
  34. package/dist-esm/samples-dev/queryKeysDeleteSample.js +1 -1
  35. package/dist-esm/samples-dev/queryKeysListBySearchServiceSample.js +3 -3
  36. package/dist-esm/samples-dev/queryKeysListBySearchServiceSample.js.map +1 -1
  37. package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js +1 -1
  38. package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js +81 -19
  39. package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js.map +1 -1
  40. package/dist-esm/samples-dev/servicesDeleteSample.js +1 -1
  41. package/dist-esm/samples-dev/servicesGetSample.js +1 -1
  42. package/dist-esm/samples-dev/servicesListByResourceGroupSample.js +1 -1
  43. package/dist-esm/samples-dev/servicesListByResourceGroupSample.js.map +1 -1
  44. package/dist-esm/samples-dev/servicesListBySubscriptionSample.js +1 -1
  45. package/dist-esm/samples-dev/servicesListBySubscriptionSample.js.map +1 -1
  46. package/dist-esm/samples-dev/servicesUpdateSample.js +68 -18
  47. package/dist-esm/samples-dev/servicesUpdateSample.js.map +1 -1
  48. package/dist-esm/samples-dev/sharedPrivateLinkResourcesCreateOrUpdateSample.js +4 -4
  49. package/dist-esm/samples-dev/sharedPrivateLinkResourcesCreateOrUpdateSample.js.map +1 -1
  50. package/dist-esm/samples-dev/sharedPrivateLinkResourcesDeleteSample.js +1 -1
  51. package/dist-esm/samples-dev/sharedPrivateLinkResourcesGetSample.js +1 -1
  52. package/dist-esm/samples-dev/sharedPrivateLinkResourcesListByServiceSample.js +1 -1
  53. package/dist-esm/samples-dev/sharedPrivateLinkResourcesListByServiceSample.js.map +1 -1
  54. package/dist-esm/samples-dev/usageBySubscriptionSkuSample.js +1 -1
  55. package/dist-esm/samples-dev/usagesListBySubscriptionSample.js +3 -3
  56. package/dist-esm/samples-dev/usagesListBySubscriptionSample.js.map +1 -1
  57. package/dist-esm/src/lroImpl.js +1 -1
  58. package/dist-esm/src/models/index.d.ts +508 -113
  59. package/dist-esm/src/models/index.d.ts.map +1 -1
  60. package/dist-esm/src/models/index.js +90 -12
  61. package/dist-esm/src/models/index.js.map +1 -1
  62. package/dist-esm/src/models/mappers.d.ts +19 -0
  63. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  64. package/dist-esm/src/models/mappers.js +1028 -411
  65. package/dist-esm/src/models/mappers.js.map +1 -1
  66. package/dist-esm/src/models/parameters.d.ts +2 -0
  67. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  68. package/dist-esm/src/models/parameters.js +85 -57
  69. package/dist-esm/src/models/parameters.js.map +1 -1
  70. package/dist-esm/src/operations/adminKeys.d.ts +5 -5
  71. package/dist-esm/src/operations/adminKeys.js +15 -15
  72. package/dist-esm/src/operations/adminKeys.js.map +1 -1
  73. package/dist-esm/src/operations/index.d.ts +1 -0
  74. package/dist-esm/src/operations/index.d.ts.map +1 -1
  75. package/dist-esm/src/operations/index.js +1 -0
  76. package/dist-esm/src/operations/index.js.map +1 -1
  77. package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.d.ts +79 -0
  78. package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
  79. package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.js +289 -0
  80. package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
  81. package/dist-esm/src/operations/operations.js +5 -5
  82. package/dist-esm/src/operations/operations.js.map +1 -1
  83. package/dist-esm/src/operations/privateEndpointConnections.d.ts +19 -19
  84. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  85. package/dist-esm/src/operations/privateEndpointConnections.js +49 -49
  86. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  87. package/dist-esm/src/operations/privateLinkResources.d.ts +4 -4
  88. package/dist-esm/src/operations/privateLinkResources.js +10 -10
  89. package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
  90. package/dist-esm/src/operations/queryKeys.d.ts +12 -12
  91. package/dist-esm/src/operations/queryKeys.js +32 -32
  92. package/dist-esm/src/operations/queryKeys.js.map +1 -1
  93. package/dist-esm/src/operations/services.d.ts +17 -17
  94. package/dist-esm/src/operations/services.d.ts.map +1 -1
  95. package/dist-esm/src/operations/services.js +75 -75
  96. package/dist-esm/src/operations/services.js.map +1 -1
  97. package/dist-esm/src/operations/sharedPrivateLinkResources.d.ts +21 -21
  98. package/dist-esm/src/operations/sharedPrivateLinkResources.d.ts.map +1 -1
  99. package/dist-esm/src/operations/sharedPrivateLinkResources.js +62 -62
  100. package/dist-esm/src/operations/sharedPrivateLinkResources.js.map +1 -1
  101. package/dist-esm/src/operations/usages.d.ts +2 -2
  102. package/dist-esm/src/operations/usages.js +13 -13
  103. package/dist-esm/src/operations/usages.js.map +1 -1
  104. package/dist-esm/src/operationsInterfaces/adminKeys.d.ts +5 -5
  105. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
  106. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  107. package/dist-esm/src/operationsInterfaces/index.js +1 -0
  108. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  109. package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +50 -0
  110. package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
  111. package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.js +9 -0
  112. package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -0
  113. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +15 -15
  114. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +2 -2
  115. package/dist-esm/src/operationsInterfaces/queryKeys.d.ts +7 -7
  116. package/dist-esm/src/operationsInterfaces/services.d.ts +17 -17
  117. package/dist-esm/src/operationsInterfaces/sharedPrivateLinkResources.d.ts +17 -17
  118. package/dist-esm/src/operationsInterfaces/usages.d.ts +1 -1
  119. package/dist-esm/src/pagingHelper.js.map +1 -1
  120. package/dist-esm/src/searchManagementClient.d.ts +3 -2
  121. package/dist-esm/src/searchManagementClient.d.ts.map +1 -1
  122. package/dist-esm/src/searchManagementClient.js +17 -15
  123. package/dist-esm/src/searchManagementClient.js.map +1 -1
  124. package/dist-esm/test/search_examples.js.map +1 -1
  125. package/package.json +12 -11
  126. package/review/arm-search.api.md +270 -6
  127. package/src/lroImpl.ts +3 -3
  128. package/src/models/index.ts +573 -140
  129. package/src/models/mappers.ts +1217 -561
  130. package/src/models/parameters.ts +90 -58
  131. package/src/operations/adminKeys.ts +22 -24
  132. package/src/operations/index.ts +1 -0
  133. package/src/operations/networkSecurityPerimeterConfigurations.ts +400 -0
  134. package/src/operations/operations.ts +10 -10
  135. package/src/operations/privateEndpointConnections.ts +74 -77
  136. package/src/operations/privateLinkResources.ts +21 -22
  137. package/src/operations/queryKeys.ts +52 -55
  138. package/src/operations/services.ts +118 -126
  139. package/src/operations/sharedPrivateLinkResources.ts +103 -108
  140. package/src/operations/usages.ts +24 -25
  141. package/src/operationsInterfaces/adminKeys.ts +8 -8
  142. package/src/operationsInterfaces/index.ts +1 -0
  143. package/src/operationsInterfaces/networkSecurityPerimeterConfigurations.ts +90 -0
  144. package/src/operationsInterfaces/operations.ts +1 -1
  145. package/src/operationsInterfaces/privateEndpointConnections.ts +20 -20
  146. package/src/operationsInterfaces/privateLinkResources.ts +4 -4
  147. package/src/operationsInterfaces/queryKeys.ts +11 -11
  148. package/src/operationsInterfaces/services.ts +26 -26
  149. package/src/operationsInterfaces/sharedPrivateLinkResources.ts +24 -24
  150. package/src/operationsInterfaces/usages.ts +3 -3
  151. package/src/pagingHelper.ts +1 -1
  152. package/src/searchManagementClient.ts +33 -28
  153. package/types/arm-search.d.ts +650 -171
  154. package/types/tsdoc-metadata.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var tslib = require('tslib');
4
6
  var coreClient = require('@azure/core-client');
5
7
  var coreRestPipeline = require('@azure/core-rest-pipeline');
@@ -64,6 +66,38 @@ function setContinuationToken(page, continuationToken) {
64
66
  * Code generated by Microsoft (R) AutoRest Code Generator.
65
67
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
66
68
  */
69
+ /** Known values of {@link PublicNetworkAccess} that the service accepts. */
70
+ exports.KnownPublicNetworkAccess = void 0;
71
+ (function (KnownPublicNetworkAccess) {
72
+ /** The search service is accessible from traffic originating from the public internet. */
73
+ KnownPublicNetworkAccess["Enabled"] = "enabled";
74
+ /** The search service is not accessible from traffic originating from the public internet. Access is only permitted over approved private endpoint connections. */
75
+ KnownPublicNetworkAccess["Disabled"] = "disabled";
76
+ })(exports.KnownPublicNetworkAccess || (exports.KnownPublicNetworkAccess = {}));
77
+ /** Known values of {@link SearchBypass} that the service accepts. */
78
+ exports.KnownSearchBypass = void 0;
79
+ (function (KnownSearchBypass) {
80
+ /** Indicates that no origin can bypass the rules defined in the 'ipRules' section. This is the default. */
81
+ KnownSearchBypass["None"] = "None";
82
+ /** Indicates that requests originating from the Azure portal can bypass the rules defined in the 'ipRules' section. */
83
+ KnownSearchBypass["AzurePortal"] = "AzurePortal";
84
+ })(exports.KnownSearchBypass || (exports.KnownSearchBypass = {}));
85
+ /** Known values of {@link SearchDisabledDataExfiltrationOption} that the service accepts. */
86
+ exports.KnownSearchDisabledDataExfiltrationOption = void 0;
87
+ (function (KnownSearchDisabledDataExfiltrationOption) {
88
+ /** Indicates that all data exfiltration scenarios are disabled. */
89
+ KnownSearchDisabledDataExfiltrationOption["All"] = "All";
90
+ })(exports.KnownSearchDisabledDataExfiltrationOption || (exports.KnownSearchDisabledDataExfiltrationOption = {}));
91
+ /** Known values of {@link SearchSemanticSearch} that the service accepts. */
92
+ exports.KnownSearchSemanticSearch = void 0;
93
+ (function (KnownSearchSemanticSearch) {
94
+ /** Indicates that semantic reranker is disabled for the search service. This is the default. */
95
+ KnownSearchSemanticSearch["Disabled"] = "disabled";
96
+ /** Enables semantic reranker on a search service and indicates that it is to be used within the limits of the free plan. The free plan would cap the volume of semantic ranking requests and is offered at no extra charge. This is the default for newly provisioned search services. */
97
+ KnownSearchSemanticSearch["Free"] = "free";
98
+ /** Enables semantic reranker on a search service as a billable feature, with higher throughput and volume of semantically reranked queries. */
99
+ KnownSearchSemanticSearch["Standard"] = "standard";
100
+ })(exports.KnownSearchSemanticSearch || (exports.KnownSearchSemanticSearch = {}));
67
101
  /** Known values of {@link PrivateLinkServiceConnectionProvisioningState} that the service accepts. */
68
102
  exports.KnownPrivateLinkServiceConnectionProvisioningState = void 0;
69
103
  (function (KnownPrivateLinkServiceConnectionProvisioningState) {
@@ -77,23 +111,69 @@ exports.KnownPrivateLinkServiceConnectionProvisioningState = void 0;
77
111
  KnownPrivateLinkServiceConnectionProvisioningState["Succeeded"] = "Succeeded";
78
112
  /** Provisioning request for the private link service connection resource has been accepted but the process of creation has not commenced yet. */
79
113
  KnownPrivateLinkServiceConnectionProvisioningState["Incomplete"] = "Incomplete";
80
- /** Provisioning request for the private link service connection resource has been canceled */
114
+ /** Provisioning request for the private link service connection resource has been canceled. */
81
115
  KnownPrivateLinkServiceConnectionProvisioningState["Canceled"] = "Canceled";
82
116
  })(exports.KnownPrivateLinkServiceConnectionProvisioningState || (exports.KnownPrivateLinkServiceConnectionProvisioningState = {}));
83
- /** Known values of {@link SearchSemanticSearch} that the service accepts. */
84
- exports.KnownSearchSemanticSearch = void 0;
85
- (function (KnownSearchSemanticSearch) {
86
- /** Indicates that semantic search is disabled for the search service. */
87
- KnownSearchSemanticSearch["Disabled"] = "disabled";
88
- /** Enables semantic search on a search service and indicates that it is to be used within the limits of the free tier. This would cap the volume of semantic search requests and is offered at no extra charge. This is the default for newly provisioned search services. */
89
- KnownSearchSemanticSearch["Free"] = "free";
90
- /** Enables semantic search on a search service as a billable feature, with higher throughput and volume of semantic search queries. */
91
- KnownSearchSemanticSearch["Standard"] = "standard";
92
- })(exports.KnownSearchSemanticSearch || (exports.KnownSearchSemanticSearch = {}));
117
+ /** Known values of {@link SharedPrivateLinkResourceStatus} that the service accepts. */
118
+ exports.KnownSharedPrivateLinkResourceStatus = void 0;
119
+ (function (KnownSharedPrivateLinkResourceStatus) {
120
+ /** The shared private link resource has been created and is pending approval. */
121
+ KnownSharedPrivateLinkResourceStatus["Pending"] = "Pending";
122
+ /** The shared private link resource is approved and is ready for use. */
123
+ KnownSharedPrivateLinkResourceStatus["Approved"] = "Approved";
124
+ /** The shared private link resource has been rejected and cannot be used. */
125
+ KnownSharedPrivateLinkResourceStatus["Rejected"] = "Rejected";
126
+ /** The shared private link resource has been removed from the service. */
127
+ KnownSharedPrivateLinkResourceStatus["Disconnected"] = "Disconnected";
128
+ })(exports.KnownSharedPrivateLinkResourceStatus || (exports.KnownSharedPrivateLinkResourceStatus = {}));
129
+ /** Known values of {@link SharedPrivateLinkResourceProvisioningState} that the service accepts. */
130
+ exports.KnownSharedPrivateLinkResourceProvisioningState = void 0;
131
+ (function (KnownSharedPrivateLinkResourceProvisioningState) {
132
+ /** The shared private link resource is in the process of being created along with other resources for it to be fully functional. */
133
+ KnownSharedPrivateLinkResourceProvisioningState["Updating"] = "Updating";
134
+ /** The shared private link resource is in the process of being deleted. */
135
+ KnownSharedPrivateLinkResourceProvisioningState["Deleting"] = "Deleting";
136
+ /** The shared private link resource has failed to be provisioned or deleted. */
137
+ KnownSharedPrivateLinkResourceProvisioningState["Failed"] = "Failed";
138
+ /** The shared private link resource has finished provisioning and is ready for approval. */
139
+ KnownSharedPrivateLinkResourceProvisioningState["Succeeded"] = "Succeeded";
140
+ /** Provisioning request for the shared private link resource has been accepted but the process of creation has not commenced yet. */
141
+ KnownSharedPrivateLinkResourceProvisioningState["Incomplete"] = "Incomplete";
142
+ })(exports.KnownSharedPrivateLinkResourceProvisioningState || (exports.KnownSharedPrivateLinkResourceProvisioningState = {}));
143
+ /** Known values of {@link SkuName} that the service accepts. */
144
+ exports.KnownSkuName = void 0;
145
+ (function (KnownSkuName) {
146
+ /** Free tier, with no SLA guarantees and a subset of the features offered on billable tiers. */
147
+ KnownSkuName["Free"] = "free";
148
+ /** Billable tier for a dedicated service having up to 3 replicas. */
149
+ KnownSkuName["Basic"] = "basic";
150
+ /** Billable tier for a dedicated service having up to 12 partitions and 12 replicas. */
151
+ KnownSkuName["Standard"] = "standard";
152
+ /** Similar to 'standard', but with more capacity per search unit. */
153
+ KnownSkuName["Standard2"] = "standard2";
154
+ /** 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'). */
155
+ KnownSkuName["Standard3"] = "standard3";
156
+ /** Billable tier for a dedicated service that supports 1TB per partition, up to 12 partitions. */
157
+ KnownSkuName["StorageOptimizedL1"] = "storage_optimized_l1";
158
+ /** Billable tier for a dedicated service that supports 2TB per partition, up to 12 partitions. */
159
+ KnownSkuName["StorageOptimizedL2"] = "storage_optimized_l2";
160
+ })(exports.KnownSkuName || (exports.KnownSkuName = {}));
161
+ /** Known values of {@link IdentityType} that the service accepts. */
162
+ exports.KnownIdentityType = void 0;
163
+ (function (KnownIdentityType) {
164
+ /** Indicates that any identity associated with the search service needs to be removed. */
165
+ KnownIdentityType["None"] = "None";
166
+ /** Indicates that system-assigned identity for the search service will be enabled. */
167
+ KnownIdentityType["SystemAssigned"] = "SystemAssigned";
168
+ /** Indicates that one or more user assigned identities will be assigned to the search service. */
169
+ KnownIdentityType["UserAssigned"] = "UserAssigned";
170
+ /** Indicates that system-assigned identity for the search service will be enabled along with the assignment of one or more user assigned identities. */
171
+ KnownIdentityType["SystemAssignedUserAssigned"] = "SystemAssigned, UserAssigned";
172
+ })(exports.KnownIdentityType || (exports.KnownIdentityType = {}));
93
173
  /** Known values of {@link UnavailableNameReason} that the service accepts. */
94
174
  exports.KnownUnavailableNameReason = void 0;
95
175
  (function (KnownUnavailableNameReason) {
96
- /** The search service name does not match naming requirements. */
176
+ /** The search service name doesn't match naming requirements. */
97
177
  KnownUnavailableNameReason["Invalid"] = "Invalid";
98
178
  /** The search service name is already assigned to a different search service. */
99
179
  KnownUnavailableNameReason["AlreadyExists"] = "AlreadyExists";
@@ -129,20 +209,20 @@ const OperationListResult = {
129
209
  element: {
130
210
  type: {
131
211
  name: "Composite",
132
- className: "Operation"
133
- }
134
- }
135
- }
212
+ className: "Operation",
213
+ },
214
+ },
215
+ },
136
216
  },
137
217
  nextLink: {
138
218
  serializedName: "nextLink",
139
219
  readOnly: true,
140
220
  type: {
141
- name: "String"
142
- }
143
- }
144
- }
145
- }
221
+ name: "String",
222
+ },
223
+ },
224
+ },
225
+ },
146
226
  };
147
227
  const Operation = {
148
228
  type: {
@@ -153,18 +233,40 @@ const Operation = {
153
233
  serializedName: "name",
154
234
  readOnly: true,
155
235
  type: {
156
- name: "String"
157
- }
236
+ name: "String",
237
+ },
158
238
  },
159
239
  display: {
160
240
  serializedName: "display",
161
241
  type: {
162
242
  name: "Composite",
163
- className: "OperationDisplay"
164
- }
165
- }
166
- }
167
- }
243
+ className: "OperationDisplay",
244
+ },
245
+ },
246
+ isDataAction: {
247
+ serializedName: "isDataAction",
248
+ readOnly: true,
249
+ nullable: true,
250
+ type: {
251
+ name: "Boolean",
252
+ },
253
+ },
254
+ origin: {
255
+ serializedName: "origin",
256
+ readOnly: true,
257
+ type: {
258
+ name: "String",
259
+ },
260
+ },
261
+ properties: {
262
+ serializedName: "properties",
263
+ type: {
264
+ name: "Composite",
265
+ className: "OperationProperties",
266
+ },
267
+ },
268
+ },
269
+ },
168
270
  };
169
271
  const OperationDisplay = {
170
272
  type: {
@@ -175,32 +277,223 @@ const OperationDisplay = {
175
277
  serializedName: "provider",
176
278
  readOnly: true,
177
279
  type: {
178
- name: "String"
179
- }
280
+ name: "String",
281
+ },
180
282
  },
181
283
  operation: {
182
284
  serializedName: "operation",
183
285
  readOnly: true,
184
286
  type: {
185
- name: "String"
186
- }
287
+ name: "String",
288
+ },
187
289
  },
188
290
  resource: {
189
291
  serializedName: "resource",
190
292
  readOnly: true,
191
293
  type: {
192
- name: "String"
193
- }
294
+ name: "String",
295
+ },
194
296
  },
195
297
  description: {
196
298
  serializedName: "description",
197
299
  readOnly: true,
198
300
  type: {
199
- name: "String"
200
- }
201
- }
202
- }
203
- }
301
+ name: "String",
302
+ },
303
+ },
304
+ },
305
+ },
306
+ };
307
+ const OperationProperties = {
308
+ type: {
309
+ name: "Composite",
310
+ className: "OperationProperties",
311
+ modelProperties: {
312
+ serviceSpecification: {
313
+ serializedName: "serviceSpecification",
314
+ type: {
315
+ name: "Composite",
316
+ className: "OperationServiceSpecification",
317
+ },
318
+ },
319
+ },
320
+ },
321
+ };
322
+ const OperationServiceSpecification = {
323
+ type: {
324
+ name: "Composite",
325
+ className: "OperationServiceSpecification",
326
+ modelProperties: {
327
+ metricSpecifications: {
328
+ serializedName: "metricSpecifications",
329
+ readOnly: true,
330
+ type: {
331
+ name: "Sequence",
332
+ element: {
333
+ type: {
334
+ name: "Composite",
335
+ className: "OperationMetricsSpecification",
336
+ },
337
+ },
338
+ },
339
+ },
340
+ logSpecifications: {
341
+ serializedName: "logSpecifications",
342
+ readOnly: true,
343
+ type: {
344
+ name: "Sequence",
345
+ element: {
346
+ type: {
347
+ name: "Composite",
348
+ className: "OperationLogsSpecification",
349
+ },
350
+ },
351
+ },
352
+ },
353
+ },
354
+ },
355
+ };
356
+ const OperationMetricsSpecification = {
357
+ type: {
358
+ name: "Composite",
359
+ className: "OperationMetricsSpecification",
360
+ modelProperties: {
361
+ name: {
362
+ serializedName: "name",
363
+ readOnly: true,
364
+ type: {
365
+ name: "String",
366
+ },
367
+ },
368
+ displayName: {
369
+ serializedName: "displayName",
370
+ readOnly: true,
371
+ type: {
372
+ name: "String",
373
+ },
374
+ },
375
+ displayDescription: {
376
+ serializedName: "displayDescription",
377
+ readOnly: true,
378
+ type: {
379
+ name: "String",
380
+ },
381
+ },
382
+ unit: {
383
+ serializedName: "unit",
384
+ readOnly: true,
385
+ type: {
386
+ name: "String",
387
+ },
388
+ },
389
+ aggregationType: {
390
+ serializedName: "aggregationType",
391
+ readOnly: true,
392
+ type: {
393
+ name: "String",
394
+ },
395
+ },
396
+ dimensions: {
397
+ serializedName: "dimensions",
398
+ readOnly: true,
399
+ type: {
400
+ name: "Sequence",
401
+ element: {
402
+ type: {
403
+ name: "Composite",
404
+ className: "OperationMetricDimension",
405
+ },
406
+ },
407
+ },
408
+ },
409
+ availabilities: {
410
+ serializedName: "availabilities",
411
+ readOnly: true,
412
+ type: {
413
+ name: "Sequence",
414
+ element: {
415
+ type: {
416
+ name: "Composite",
417
+ className: "OperationAvailability",
418
+ },
419
+ },
420
+ },
421
+ },
422
+ },
423
+ },
424
+ };
425
+ const OperationMetricDimension = {
426
+ type: {
427
+ name: "Composite",
428
+ className: "OperationMetricDimension",
429
+ modelProperties: {
430
+ name: {
431
+ serializedName: "name",
432
+ readOnly: true,
433
+ type: {
434
+ name: "String",
435
+ },
436
+ },
437
+ displayName: {
438
+ serializedName: "displayName",
439
+ readOnly: true,
440
+ type: {
441
+ name: "String",
442
+ },
443
+ },
444
+ },
445
+ },
446
+ };
447
+ const OperationAvailability = {
448
+ type: {
449
+ name: "Composite",
450
+ className: "OperationAvailability",
451
+ modelProperties: {
452
+ timeGrain: {
453
+ serializedName: "timeGrain",
454
+ readOnly: true,
455
+ type: {
456
+ name: "String",
457
+ },
458
+ },
459
+ blobDuration: {
460
+ serializedName: "blobDuration",
461
+ readOnly: true,
462
+ type: {
463
+ name: "String",
464
+ },
465
+ },
466
+ },
467
+ },
468
+ };
469
+ const OperationLogsSpecification = {
470
+ type: {
471
+ name: "Composite",
472
+ className: "OperationLogsSpecification",
473
+ modelProperties: {
474
+ name: {
475
+ serializedName: "name",
476
+ readOnly: true,
477
+ type: {
478
+ name: "String",
479
+ },
480
+ },
481
+ displayName: {
482
+ serializedName: "displayName",
483
+ readOnly: true,
484
+ type: {
485
+ name: "String",
486
+ },
487
+ },
488
+ blobDuration: {
489
+ serializedName: "blobDuration",
490
+ readOnly: true,
491
+ type: {
492
+ name: "String",
493
+ },
494
+ },
495
+ },
496
+ },
204
497
  };
205
498
  const CloudError = {
206
499
  type: {
@@ -211,11 +504,17 @@ const CloudError = {
211
504
  serializedName: "error",
212
505
  type: {
213
506
  name: "Composite",
214
- className: "CloudErrorBody"
215
- }
216
- }
217
- }
218
- }
507
+ className: "CloudErrorBody",
508
+ },
509
+ },
510
+ message: {
511
+ serializedName: "message",
512
+ type: {
513
+ name: "String",
514
+ },
515
+ },
516
+ },
517
+ },
219
518
  };
220
519
  const CloudErrorBody = {
221
520
  type: {
@@ -225,20 +524,20 @@ const CloudErrorBody = {
225
524
  code: {
226
525
  serializedName: "code",
227
526
  type: {
228
- name: "String"
229
- }
527
+ name: "String",
528
+ },
230
529
  },
231
530
  message: {
232
531
  serializedName: "message",
233
532
  type: {
234
- name: "String"
235
- }
533
+ name: "String",
534
+ },
236
535
  },
237
536
  target: {
238
537
  serializedName: "target",
239
538
  type: {
240
- name: "String"
241
- }
539
+ name: "String",
540
+ },
242
541
  },
243
542
  details: {
244
543
  serializedName: "details",
@@ -247,13 +546,13 @@ const CloudErrorBody = {
247
546
  element: {
248
547
  type: {
249
548
  name: "Composite",
250
- className: "CloudErrorBody"
251
- }
252
- }
253
- }
254
- }
255
- }
256
- }
549
+ className: "CloudErrorBody",
550
+ },
551
+ },
552
+ },
553
+ },
554
+ },
555
+ },
257
556
  };
258
557
  const AdminKeyResult = {
259
558
  type: {
@@ -264,18 +563,18 @@ const AdminKeyResult = {
264
563
  serializedName: "primaryKey",
265
564
  readOnly: true,
266
565
  type: {
267
- name: "String"
268
- }
566
+ name: "String",
567
+ },
269
568
  },
270
569
  secondaryKey: {
271
570
  serializedName: "secondaryKey",
272
571
  readOnly: true,
273
572
  type: {
274
- name: "String"
275
- }
276
- }
277
- }
278
- }
573
+ name: "String",
574
+ },
575
+ },
576
+ },
577
+ },
279
578
  };
280
579
  const QueryKey = {
281
580
  type: {
@@ -286,18 +585,18 @@ const QueryKey = {
286
585
  serializedName: "name",
287
586
  readOnly: true,
288
587
  type: {
289
- name: "String"
290
- }
588
+ name: "String",
589
+ },
291
590
  },
292
591
  key: {
293
592
  serializedName: "key",
294
593
  readOnly: true,
295
594
  type: {
296
- name: "String"
297
- }
298
- }
299
- }
300
- }
595
+ name: "String",
596
+ },
597
+ },
598
+ },
599
+ },
301
600
  };
302
601
  const ListQueryKeysResult = {
303
602
  type: {
@@ -312,20 +611,20 @@ const ListQueryKeysResult = {
312
611
  element: {
313
612
  type: {
314
613
  name: "Composite",
315
- className: "QueryKey"
316
- }
317
- }
318
- }
614
+ className: "QueryKey",
615
+ },
616
+ },
617
+ },
319
618
  },
320
619
  nextLink: {
321
620
  serializedName: "nextLink",
322
621
  readOnly: true,
323
622
  type: {
324
- name: "String"
325
- }
326
- }
327
- }
328
- }
623
+ name: "String",
624
+ },
625
+ },
626
+ },
627
+ },
329
628
  };
330
629
  const NetworkRuleSet = {
331
630
  type: {
@@ -339,13 +638,19 @@ const NetworkRuleSet = {
339
638
  element: {
340
639
  type: {
341
640
  name: "Composite",
342
- className: "IpRule"
343
- }
344
- }
345
- }
346
- }
347
- }
348
- }
641
+ className: "IpRule",
642
+ },
643
+ },
644
+ },
645
+ },
646
+ bypass: {
647
+ serializedName: "bypass",
648
+ type: {
649
+ name: "String",
650
+ },
651
+ },
652
+ },
653
+ },
349
654
  };
350
655
  const IpRule = {
351
656
  type: {
@@ -355,11 +660,11 @@ const IpRule = {
355
660
  value: {
356
661
  serializedName: "value",
357
662
  type: {
358
- name: "String"
359
- }
360
- }
361
- }
362
- }
663
+ name: "String",
664
+ },
665
+ },
666
+ },
667
+ },
363
668
  };
364
669
  const EncryptionWithCmk = {
365
670
  type: {
@@ -370,19 +675,19 @@ const EncryptionWithCmk = {
370
675
  serializedName: "enforcement",
371
676
  type: {
372
677
  name: "Enum",
373
- allowedValues: ["Disabled", "Enabled", "Unspecified"]
374
- }
678
+ allowedValues: ["Disabled", "Enabled", "Unspecified"],
679
+ },
375
680
  },
376
681
  encryptionComplianceStatus: {
377
682
  serializedName: "encryptionComplianceStatus",
378
683
  readOnly: true,
379
684
  type: {
380
685
  name: "Enum",
381
- allowedValues: ["Compliant", "NonCompliant"]
382
- }
383
- }
384
- }
385
- }
686
+ allowedValues: ["Compliant", "NonCompliant"],
687
+ },
688
+ },
689
+ },
690
+ },
386
691
  };
387
692
  const DataPlaneAuthOptions = {
388
693
  type: {
@@ -393,18 +698,18 @@ const DataPlaneAuthOptions = {
393
698
  serializedName: "apiKeyOnly",
394
699
  type: {
395
700
  name: "Dictionary",
396
- value: { type: { name: "any" } }
397
- }
701
+ value: { type: { name: "any" } },
702
+ },
398
703
  },
399
704
  aadOrApiKey: {
400
705
  serializedName: "aadOrApiKey",
401
706
  type: {
402
707
  name: "Composite",
403
- className: "DataPlaneAadOrApiKeyAuthOption"
404
- }
405
- }
406
- }
407
- }
708
+ className: "DataPlaneAadOrApiKeyAuthOption",
709
+ },
710
+ },
711
+ },
712
+ },
408
713
  };
409
714
  const DataPlaneAadOrApiKeyAuthOption = {
410
715
  type: {
@@ -415,11 +720,11 @@ const DataPlaneAadOrApiKeyAuthOption = {
415
720
  serializedName: "aadAuthFailureMode",
416
721
  type: {
417
722
  name: "Enum",
418
- allowedValues: ["http403", "http401WithBearerChallenge"]
419
- }
420
- }
421
- }
422
- }
723
+ allowedValues: ["http403", "http401WithBearerChallenge"],
724
+ },
725
+ },
726
+ },
727
+ },
423
728
  };
424
729
  const PrivateEndpointConnectionProperties = {
425
730
  type: {
@@ -430,30 +735,30 @@ const PrivateEndpointConnectionProperties = {
430
735
  serializedName: "privateEndpoint",
431
736
  type: {
432
737
  name: "Composite",
433
- className: "PrivateEndpointConnectionPropertiesPrivateEndpoint"
434
- }
738
+ className: "PrivateEndpointConnectionPropertiesPrivateEndpoint",
739
+ },
435
740
  },
436
741
  privateLinkServiceConnectionState: {
437
742
  serializedName: "privateLinkServiceConnectionState",
438
743
  type: {
439
744
  name: "Composite",
440
- className: "PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState"
441
- }
745
+ className: "PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState",
746
+ },
442
747
  },
443
748
  groupId: {
444
749
  serializedName: "groupId",
445
750
  type: {
446
- name: "String"
447
- }
751
+ name: "String",
752
+ },
448
753
  },
449
754
  provisioningState: {
450
755
  serializedName: "provisioningState",
451
756
  type: {
452
- name: "String"
453
- }
454
- }
455
- }
456
- }
757
+ name: "String",
758
+ },
759
+ },
760
+ },
761
+ },
457
762
  };
458
763
  const PrivateEndpointConnectionPropertiesPrivateEndpoint = {
459
764
  type: {
@@ -463,11 +768,11 @@ const PrivateEndpointConnectionPropertiesPrivateEndpoint = {
463
768
  id: {
464
769
  serializedName: "id",
465
770
  type: {
466
- name: "String"
467
- }
468
- }
469
- }
470
- }
771
+ name: "String",
772
+ },
773
+ },
774
+ },
775
+ },
471
776
  };
472
777
  const PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState = {
473
778
  type: {
@@ -478,24 +783,24 @@ const PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState = {
478
783
  serializedName: "status",
479
784
  type: {
480
785
  name: "Enum",
481
- allowedValues: ["Pending", "Approved", "Rejected", "Disconnected"]
482
- }
786
+ allowedValues: ["Pending", "Approved", "Rejected", "Disconnected"],
787
+ },
483
788
  },
484
789
  description: {
485
790
  serializedName: "description",
486
791
  type: {
487
- name: "String"
488
- }
792
+ name: "String",
793
+ },
489
794
  },
490
795
  actionsRequired: {
491
796
  defaultValue: "None",
492
797
  serializedName: "actionsRequired",
493
798
  type: {
494
- name: "String"
495
- }
496
- }
497
- }
498
- }
799
+ name: "String",
800
+ },
801
+ },
802
+ },
803
+ },
499
804
  };
500
805
  const Resource = {
501
806
  type: {
@@ -506,25 +811,25 @@ const Resource = {
506
811
  serializedName: "id",
507
812
  readOnly: true,
508
813
  type: {
509
- name: "String"
510
- }
814
+ name: "String",
815
+ },
511
816
  },
512
817
  name: {
513
818
  serializedName: "name",
514
819
  readOnly: true,
515
820
  type: {
516
- name: "String"
517
- }
821
+ name: "String",
822
+ },
518
823
  },
519
824
  type: {
520
825
  serializedName: "type",
521
826
  readOnly: true,
522
827
  type: {
523
- name: "String"
524
- }
525
- }
526
- }
527
- }
828
+ name: "String",
829
+ },
830
+ },
831
+ },
832
+ },
528
833
  };
529
834
  const SharedPrivateLinkResourceProperties = {
530
835
  type: {
@@ -534,49 +839,41 @@ const SharedPrivateLinkResourceProperties = {
534
839
  privateLinkResourceId: {
535
840
  serializedName: "privateLinkResourceId",
536
841
  type: {
537
- name: "String"
538
- }
842
+ name: "String",
843
+ },
539
844
  },
540
845
  groupId: {
541
846
  serializedName: "groupId",
542
847
  type: {
543
- name: "String"
544
- }
848
+ name: "String",
849
+ },
545
850
  },
546
851
  requestMessage: {
547
852
  serializedName: "requestMessage",
548
853
  type: {
549
- name: "String"
550
- }
854
+ name: "String",
855
+ },
551
856
  },
552
857
  resourceRegion: {
553
858
  serializedName: "resourceRegion",
554
859
  type: {
555
- name: "String"
556
- }
860
+ name: "String",
861
+ },
557
862
  },
558
863
  status: {
559
864
  serializedName: "status",
560
865
  type: {
561
- name: "Enum",
562
- allowedValues: ["Pending", "Approved", "Rejected", "Disconnected"]
563
- }
866
+ name: "String",
867
+ },
564
868
  },
565
869
  provisioningState: {
566
870
  serializedName: "provisioningState",
567
871
  type: {
568
- name: "Enum",
569
- allowedValues: [
570
- "Updating",
571
- "Deleting",
572
- "Failed",
573
- "Succeeded",
574
- "Incomplete"
575
- ]
576
- }
577
- }
578
- }
579
- }
872
+ name: "String",
873
+ },
874
+ },
875
+ },
876
+ },
580
877
  };
581
878
  const Sku = {
582
879
  type: {
@@ -586,20 +883,11 @@ const Sku = {
586
883
  name: {
587
884
  serializedName: "name",
588
885
  type: {
589
- name: "Enum",
590
- allowedValues: [
591
- "free",
592
- "basic",
593
- "standard",
594
- "standard2",
595
- "standard3",
596
- "storage_optimized_l1",
597
- "storage_optimized_l2"
598
- ]
599
- }
600
- }
601
- }
602
- }
886
+ name: "String",
887
+ },
888
+ },
889
+ },
890
+ },
603
891
  };
604
892
  const Identity = {
605
893
  type: {
@@ -610,26 +898,59 @@ const Identity = {
610
898
  serializedName: "principalId",
611
899
  readOnly: true,
612
900
  type: {
613
- name: "String"
614
- }
901
+ name: "String",
902
+ },
615
903
  },
616
904
  tenantId: {
617
905
  serializedName: "tenantId",
618
906
  readOnly: true,
619
907
  type: {
620
- name: "String"
621
- }
908
+ name: "String",
909
+ },
622
910
  },
623
911
  type: {
624
912
  serializedName: "type",
625
913
  required: true,
626
914
  type: {
627
- name: "Enum",
628
- allowedValues: ["None", "SystemAssigned"]
629
- }
630
- }
631
- }
632
- }
915
+ name: "String",
916
+ },
917
+ },
918
+ userAssignedIdentities: {
919
+ serializedName: "userAssignedIdentities",
920
+ type: {
921
+ name: "Dictionary",
922
+ value: {
923
+ type: {
924
+ name: "Composite",
925
+ className: "UserAssignedManagedIdentity",
926
+ },
927
+ },
928
+ },
929
+ },
930
+ },
931
+ },
932
+ };
933
+ const UserAssignedManagedIdentity = {
934
+ type: {
935
+ name: "Composite",
936
+ className: "UserAssignedManagedIdentity",
937
+ modelProperties: {
938
+ principalId: {
939
+ serializedName: "principalId",
940
+ readOnly: true,
941
+ type: {
942
+ name: "String",
943
+ },
944
+ },
945
+ clientId: {
946
+ serializedName: "clientId",
947
+ readOnly: true,
948
+ type: {
949
+ name: "String",
950
+ },
951
+ },
952
+ },
953
+ },
633
954
  };
634
955
  const SearchServiceListResult = {
635
956
  type: {
@@ -644,20 +965,20 @@ const SearchServiceListResult = {
644
965
  element: {
645
966
  type: {
646
967
  name: "Composite",
647
- className: "SearchService"
648
- }
649
- }
650
- }
968
+ className: "SearchService",
969
+ },
970
+ },
971
+ },
651
972
  },
652
973
  nextLink: {
653
974
  serializedName: "nextLink",
654
975
  readOnly: true,
655
976
  type: {
656
- name: "String"
657
- }
658
- }
659
- }
660
- }
977
+ name: "String",
978
+ },
979
+ },
980
+ },
981
+ },
661
982
  };
662
983
  const PrivateLinkResourcesResult = {
663
984
  type: {
@@ -672,13 +993,13 @@ const PrivateLinkResourcesResult = {
672
993
  element: {
673
994
  type: {
674
995
  name: "Composite",
675
- className: "PrivateLinkResource"
676
- }
677
- }
678
- }
679
- }
680
- }
681
- }
996
+ className: "PrivateLinkResource",
997
+ },
998
+ },
999
+ },
1000
+ },
1001
+ },
1002
+ },
682
1003
  };
683
1004
  const PrivateLinkResourceProperties = {
684
1005
  type: {
@@ -689,8 +1010,8 @@ const PrivateLinkResourceProperties = {
689
1010
  serializedName: "groupId",
690
1011
  readOnly: true,
691
1012
  type: {
692
- name: "String"
693
- }
1013
+ name: "String",
1014
+ },
694
1015
  },
695
1016
  requiredMembers: {
696
1017
  serializedName: "requiredMembers",
@@ -699,10 +1020,10 @@ const PrivateLinkResourceProperties = {
699
1020
  name: "Sequence",
700
1021
  element: {
701
1022
  type: {
702
- name: "String"
703
- }
704
- }
705
- }
1023
+ name: "String",
1024
+ },
1025
+ },
1026
+ },
706
1027
  },
707
1028
  requiredZoneNames: {
708
1029
  serializedName: "requiredZoneNames",
@@ -711,10 +1032,10 @@ const PrivateLinkResourceProperties = {
711
1032
  name: "Sequence",
712
1033
  element: {
713
1034
  type: {
714
- name: "String"
715
- }
716
- }
717
- }
1035
+ name: "String",
1036
+ },
1037
+ },
1038
+ },
718
1039
  },
719
1040
  shareablePrivateLinkResourceTypes: {
720
1041
  serializedName: "shareablePrivateLinkResourceTypes",
@@ -724,13 +1045,13 @@ const PrivateLinkResourceProperties = {
724
1045
  element: {
725
1046
  type: {
726
1047
  name: "Composite",
727
- className: "ShareablePrivateLinkResourceType"
728
- }
729
- }
730
- }
731
- }
732
- }
733
- }
1048
+ className: "ShareablePrivateLinkResourceType",
1049
+ },
1050
+ },
1051
+ },
1052
+ },
1053
+ },
1054
+ },
734
1055
  };
735
1056
  const ShareablePrivateLinkResourceType = {
736
1057
  type: {
@@ -741,18 +1062,18 @@ const ShareablePrivateLinkResourceType = {
741
1062
  serializedName: "name",
742
1063
  readOnly: true,
743
1064
  type: {
744
- name: "String"
745
- }
1065
+ name: "String",
1066
+ },
746
1067
  },
747
1068
  properties: {
748
1069
  serializedName: "properties",
749
1070
  type: {
750
1071
  name: "Composite",
751
- className: "ShareablePrivateLinkResourceProperties"
752
- }
753
- }
754
- }
755
- }
1072
+ className: "ShareablePrivateLinkResourceProperties",
1073
+ },
1074
+ },
1075
+ },
1076
+ },
756
1077
  };
757
1078
  const ShareablePrivateLinkResourceProperties = {
758
1079
  type: {
@@ -763,25 +1084,25 @@ const ShareablePrivateLinkResourceProperties = {
763
1084
  serializedName: "type",
764
1085
  readOnly: true,
765
1086
  type: {
766
- name: "String"
767
- }
1087
+ name: "String",
1088
+ },
768
1089
  },
769
1090
  groupId: {
770
1091
  serializedName: "groupId",
771
1092
  readOnly: true,
772
1093
  type: {
773
- name: "String"
774
- }
1094
+ name: "String",
1095
+ },
775
1096
  },
776
1097
  description: {
777
1098
  serializedName: "description",
778
1099
  readOnly: true,
779
1100
  type: {
780
- name: "String"
781
- }
782
- }
783
- }
784
- }
1101
+ name: "String",
1102
+ },
1103
+ },
1104
+ },
1105
+ },
785
1106
  };
786
1107
  const PrivateEndpointConnectionListResult = {
787
1108
  type: {
@@ -796,20 +1117,20 @@ const PrivateEndpointConnectionListResult = {
796
1117
  element: {
797
1118
  type: {
798
1119
  name: "Composite",
799
- className: "PrivateEndpointConnection"
800
- }
801
- }
802
- }
1120
+ className: "PrivateEndpointConnection",
1121
+ },
1122
+ },
1123
+ },
803
1124
  },
804
1125
  nextLink: {
805
1126
  serializedName: "nextLink",
806
1127
  readOnly: true,
807
1128
  type: {
808
- name: "String"
809
- }
810
- }
811
- }
812
- }
1129
+ name: "String",
1130
+ },
1131
+ },
1132
+ },
1133
+ },
813
1134
  };
814
1135
  const SharedPrivateLinkResourceListResult = {
815
1136
  type: {
@@ -824,19 +1145,19 @@ const SharedPrivateLinkResourceListResult = {
824
1145
  element: {
825
1146
  type: {
826
1147
  name: "Composite",
827
- className: "SharedPrivateLinkResource"
828
- }
829
- }
830
- }
1148
+ className: "SharedPrivateLinkResource",
1149
+ },
1150
+ },
1151
+ },
831
1152
  },
832
1153
  nextLink: {
833
1154
  serializedName: "nextLink",
834
1155
  type: {
835
- name: "String"
836
- }
837
- }
838
- }
839
- }
1156
+ name: "String",
1157
+ },
1158
+ },
1159
+ },
1160
+ },
840
1161
  };
841
1162
  const CheckNameAvailabilityInput = {
842
1163
  type: {
@@ -847,19 +1168,19 @@ const CheckNameAvailabilityInput = {
847
1168
  serializedName: "name",
848
1169
  required: true,
849
1170
  type: {
850
- name: "String"
851
- }
1171
+ name: "String",
1172
+ },
852
1173
  },
853
1174
  typeParam: {
854
1175
  defaultValue: "searchServices",
855
1176
  isConstant: true,
856
1177
  serializedName: "type",
857
1178
  type: {
858
- name: "String"
859
- }
860
- }
861
- }
862
- }
1179
+ name: "String",
1180
+ },
1181
+ },
1182
+ },
1183
+ },
863
1184
  };
864
1185
  const CheckNameAvailabilityOutput = {
865
1186
  type: {
@@ -870,26 +1191,26 @@ const CheckNameAvailabilityOutput = {
870
1191
  serializedName: "nameAvailable",
871
1192
  readOnly: true,
872
1193
  type: {
873
- name: "Boolean"
874
- }
1194
+ name: "Boolean",
1195
+ },
875
1196
  },
876
1197
  reason: {
877
1198
  serializedName: "reason",
878
1199
  readOnly: true,
879
1200
  type: {
880
- name: "String"
881
- }
1201
+ name: "String",
1202
+ },
882
1203
  },
883
1204
  message: {
884
1205
  serializedName: "message",
885
1206
  readOnly: true,
886
1207
  type: {
887
- name: "String"
888
- }
889
- }
890
- }
891
- }
892
- };
1208
+ name: "String",
1209
+ },
1210
+ },
1211
+ },
1212
+ },
1213
+ };
893
1214
  const QuotaUsagesListResult = {
894
1215
  type: {
895
1216
  name: "Composite",
@@ -903,20 +1224,20 @@ const QuotaUsagesListResult = {
903
1224
  element: {
904
1225
  type: {
905
1226
  name: "Composite",
906
- className: "QuotaUsageResult"
907
- }
908
- }
909
- }
1227
+ className: "QuotaUsageResult",
1228
+ },
1229
+ },
1230
+ },
910
1231
  },
911
1232
  nextLink: {
912
1233
  serializedName: "nextLink",
913
1234
  readOnly: true,
914
1235
  type: {
915
- name: "String"
916
- }
917
- }
918
- }
919
- }
1236
+ name: "String",
1237
+ },
1238
+ },
1239
+ },
1240
+ },
920
1241
  };
921
1242
  const QuotaUsageResult = {
922
1243
  type: {
@@ -926,36 +1247,36 @@ const QuotaUsageResult = {
926
1247
  id: {
927
1248
  serializedName: "id",
928
1249
  type: {
929
- name: "String"
930
- }
1250
+ name: "String",
1251
+ },
931
1252
  },
932
1253
  unit: {
933
1254
  serializedName: "unit",
934
1255
  type: {
935
- name: "String"
936
- }
1256
+ name: "String",
1257
+ },
937
1258
  },
938
1259
  currentValue: {
939
1260
  serializedName: "currentValue",
940
1261
  type: {
941
- name: "Number"
942
- }
1262
+ name: "Number",
1263
+ },
943
1264
  },
944
1265
  limit: {
945
1266
  serializedName: "limit",
946
1267
  type: {
947
- name: "Number"
948
- }
1268
+ name: "Number",
1269
+ },
949
1270
  },
950
1271
  name: {
951
1272
  serializedName: "name",
952
1273
  type: {
953
1274
  name: "Composite",
954
- className: "QuotaUsageResultName"
955
- }
956
- }
957
- }
958
- }
1275
+ className: "QuotaUsageResultName",
1276
+ },
1277
+ },
1278
+ },
1279
+ },
959
1280
  };
960
1281
  const QuotaUsageResultName = {
961
1282
  type: {
@@ -965,17 +1286,298 @@ const QuotaUsageResultName = {
965
1286
  value: {
966
1287
  serializedName: "value",
967
1288
  type: {
968
- name: "String"
969
- }
1289
+ name: "String",
1290
+ },
970
1291
  },
971
1292
  localizedValue: {
972
1293
  serializedName: "localizedValue",
973
1294
  type: {
974
- name: "String"
975
- }
976
- }
977
- }
978
- }
1295
+ name: "String",
1296
+ },
1297
+ },
1298
+ },
1299
+ },
1300
+ };
1301
+ const NetworkSecurityPerimeterConfigurationListResult = {
1302
+ type: {
1303
+ name: "Composite",
1304
+ className: "NetworkSecurityPerimeterConfigurationListResult",
1305
+ modelProperties: {
1306
+ value: {
1307
+ serializedName: "value",
1308
+ readOnly: true,
1309
+ type: {
1310
+ name: "Sequence",
1311
+ element: {
1312
+ type: {
1313
+ name: "Composite",
1314
+ className: "NetworkSecurityPerimeterConfiguration",
1315
+ },
1316
+ },
1317
+ },
1318
+ },
1319
+ nextLink: {
1320
+ serializedName: "nextLink",
1321
+ readOnly: true,
1322
+ type: {
1323
+ name: "String",
1324
+ },
1325
+ },
1326
+ },
1327
+ },
1328
+ };
1329
+ const NSPConfigPerimeter = {
1330
+ type: {
1331
+ name: "Composite",
1332
+ className: "NSPConfigPerimeter",
1333
+ modelProperties: {
1334
+ id: {
1335
+ serializedName: "id",
1336
+ type: {
1337
+ name: "String",
1338
+ },
1339
+ },
1340
+ perimeterGuid: {
1341
+ serializedName: "perimeterGuid",
1342
+ type: {
1343
+ name: "String",
1344
+ },
1345
+ },
1346
+ location: {
1347
+ serializedName: "location",
1348
+ type: {
1349
+ name: "String",
1350
+ },
1351
+ },
1352
+ },
1353
+ },
1354
+ };
1355
+ const NSPConfigAssociation = {
1356
+ type: {
1357
+ name: "Composite",
1358
+ className: "NSPConfigAssociation",
1359
+ modelProperties: {
1360
+ name: {
1361
+ serializedName: "name",
1362
+ type: {
1363
+ name: "String",
1364
+ },
1365
+ },
1366
+ accessMode: {
1367
+ serializedName: "accessMode",
1368
+ type: {
1369
+ name: "String",
1370
+ },
1371
+ },
1372
+ },
1373
+ },
1374
+ };
1375
+ const NSPConfigProfile = {
1376
+ type: {
1377
+ name: "Composite",
1378
+ className: "NSPConfigProfile",
1379
+ modelProperties: {
1380
+ name: {
1381
+ serializedName: "name",
1382
+ type: {
1383
+ name: "String",
1384
+ },
1385
+ },
1386
+ accessRulesVersion: {
1387
+ serializedName: "accessRulesVersion",
1388
+ type: {
1389
+ name: "String",
1390
+ },
1391
+ },
1392
+ accessRules: {
1393
+ serializedName: "accessRules",
1394
+ type: {
1395
+ name: "Sequence",
1396
+ element: {
1397
+ type: {
1398
+ name: "Composite",
1399
+ className: "NSPConfigAccessRule",
1400
+ },
1401
+ },
1402
+ },
1403
+ },
1404
+ },
1405
+ },
1406
+ };
1407
+ const NSPConfigAccessRule = {
1408
+ type: {
1409
+ name: "Composite",
1410
+ className: "NSPConfigAccessRule",
1411
+ modelProperties: {
1412
+ name: {
1413
+ serializedName: "name",
1414
+ type: {
1415
+ name: "String",
1416
+ },
1417
+ },
1418
+ properties: {
1419
+ serializedName: "properties",
1420
+ type: {
1421
+ name: "Composite",
1422
+ className: "NSPConfigAccessRuleProperties",
1423
+ },
1424
+ },
1425
+ },
1426
+ },
1427
+ };
1428
+ const NSPConfigAccessRuleProperties = {
1429
+ type: {
1430
+ name: "Composite",
1431
+ className: "NSPConfigAccessRuleProperties",
1432
+ modelProperties: {
1433
+ direction: {
1434
+ serializedName: "direction",
1435
+ type: {
1436
+ name: "String",
1437
+ },
1438
+ },
1439
+ addressPrefixes: {
1440
+ serializedName: "addressPrefixes",
1441
+ type: {
1442
+ name: "Sequence",
1443
+ element: {
1444
+ type: {
1445
+ name: "String",
1446
+ },
1447
+ },
1448
+ },
1449
+ },
1450
+ fullyQualifiedDomainNames: {
1451
+ serializedName: "fullyQualifiedDomainNames",
1452
+ type: {
1453
+ name: "Sequence",
1454
+ element: {
1455
+ type: {
1456
+ name: "String",
1457
+ },
1458
+ },
1459
+ },
1460
+ },
1461
+ subscriptions: {
1462
+ serializedName: "subscriptions",
1463
+ type: {
1464
+ name: "Sequence",
1465
+ element: {
1466
+ type: {
1467
+ name: "String",
1468
+ },
1469
+ },
1470
+ },
1471
+ },
1472
+ networkSecurityPerimeters: {
1473
+ serializedName: "networkSecurityPerimeters",
1474
+ type: {
1475
+ name: "Sequence",
1476
+ element: {
1477
+ type: {
1478
+ name: "Composite",
1479
+ className: "NSPConfigNetworkSecurityPerimeterRule",
1480
+ },
1481
+ },
1482
+ },
1483
+ },
1484
+ },
1485
+ },
1486
+ };
1487
+ const NSPConfigNetworkSecurityPerimeterRule = {
1488
+ type: {
1489
+ name: "Composite",
1490
+ className: "NSPConfigNetworkSecurityPerimeterRule",
1491
+ modelProperties: {
1492
+ id: {
1493
+ serializedName: "id",
1494
+ type: {
1495
+ name: "String",
1496
+ },
1497
+ },
1498
+ perimeterGuid: {
1499
+ serializedName: "perimeterGuid",
1500
+ type: {
1501
+ name: "String",
1502
+ },
1503
+ },
1504
+ location: {
1505
+ serializedName: "location",
1506
+ type: {
1507
+ name: "String",
1508
+ },
1509
+ },
1510
+ },
1511
+ },
1512
+ };
1513
+ const NSPProvisioningIssue = {
1514
+ type: {
1515
+ name: "Composite",
1516
+ className: "NSPProvisioningIssue",
1517
+ modelProperties: {
1518
+ name: {
1519
+ serializedName: "name",
1520
+ type: {
1521
+ name: "String",
1522
+ },
1523
+ },
1524
+ properties: {
1525
+ serializedName: "properties",
1526
+ type: {
1527
+ name: "Composite",
1528
+ className: "NSPProvisioningIssueProperties",
1529
+ },
1530
+ },
1531
+ },
1532
+ },
1533
+ };
1534
+ const NSPProvisioningIssueProperties = {
1535
+ type: {
1536
+ name: "Composite",
1537
+ className: "NSPProvisioningIssueProperties",
1538
+ modelProperties: {
1539
+ issueType: {
1540
+ serializedName: "issueType",
1541
+ type: {
1542
+ name: "String",
1543
+ },
1544
+ },
1545
+ severity: {
1546
+ serializedName: "severity",
1547
+ type: {
1548
+ name: "String",
1549
+ },
1550
+ },
1551
+ description: {
1552
+ serializedName: "description",
1553
+ type: {
1554
+ name: "String",
1555
+ },
1556
+ },
1557
+ suggestedResourceIds: {
1558
+ serializedName: "suggestedResourceIds",
1559
+ type: {
1560
+ name: "Sequence",
1561
+ element: {
1562
+ type: {
1563
+ name: "String",
1564
+ },
1565
+ },
1566
+ },
1567
+ },
1568
+ suggestedAccessRules: {
1569
+ serializedName: "suggestedAccessRules",
1570
+ type: {
1571
+ name: "Sequence",
1572
+ element: {
1573
+ type: {
1574
+ name: "String",
1575
+ },
1576
+ },
1577
+ },
1578
+ },
1579
+ },
1580
+ },
979
1581
  };
980
1582
  const AsyncOperationResult = {
981
1583
  type: {
@@ -985,11 +1587,11 @@ const AsyncOperationResult = {
985
1587
  status: {
986
1588
  serializedName: "status",
987
1589
  type: {
988
- name: "String"
989
- }
990
- }
991
- }
992
- }
1590
+ name: "String",
1591
+ },
1592
+ },
1593
+ },
1594
+ },
993
1595
  };
994
1596
  const PrivateEndpointConnection = {
995
1597
  type: {
@@ -999,10 +1601,10 @@ const PrivateEndpointConnection = {
999
1601
  serializedName: "properties",
1000
1602
  type: {
1001
1603
  name: "Composite",
1002
- className: "PrivateEndpointConnectionProperties"
1003
- }
1004
- } })
1005
- }
1604
+ className: "PrivateEndpointConnectionProperties",
1605
+ },
1606
+ } }),
1607
+ },
1006
1608
  };
1007
1609
  const SharedPrivateLinkResource = {
1008
1610
  type: {
@@ -1012,10 +1614,10 @@ const SharedPrivateLinkResource = {
1012
1614
  serializedName: "properties",
1013
1615
  type: {
1014
1616
  name: "Composite",
1015
- className: "SharedPrivateLinkResourceProperties"
1016
- }
1017
- } })
1018
- }
1617
+ className: "SharedPrivateLinkResourceProperties",
1618
+ },
1619
+ } }),
1620
+ },
1019
1621
  };
1020
1622
  const TrackedResource = {
1021
1623
  type: {
@@ -1025,16 +1627,16 @@ const TrackedResource = {
1025
1627
  serializedName: "tags",
1026
1628
  type: {
1027
1629
  name: "Dictionary",
1028
- value: { type: { name: "String" } }
1029
- }
1630
+ value: { type: { name: "String" } },
1631
+ },
1030
1632
  }, location: {
1031
1633
  serializedName: "location",
1032
1634
  required: true,
1033
1635
  type: {
1034
- name: "String"
1035
- }
1036
- } })
1037
- }
1636
+ name: "String",
1637
+ },
1638
+ } }),
1639
+ },
1038
1640
  };
1039
1641
  const SearchServiceUpdate = {
1040
1642
  type: {
@@ -1044,59 +1646,58 @@ const SearchServiceUpdate = {
1044
1646
  serializedName: "sku",
1045
1647
  type: {
1046
1648
  name: "Composite",
1047
- className: "Sku"
1048
- }
1649
+ className: "Sku",
1650
+ },
1049
1651
  }, location: {
1050
1652
  serializedName: "location",
1051
1653
  type: {
1052
- name: "String"
1053
- }
1654
+ name: "String",
1655
+ },
1054
1656
  }, tags: {
1055
1657
  serializedName: "tags",
1056
1658
  type: {
1057
1659
  name: "Dictionary",
1058
- value: { type: { name: "String" } }
1059
- }
1660
+ value: { type: { name: "String" } },
1661
+ },
1060
1662
  }, identity: {
1061
1663
  serializedName: "identity",
1062
1664
  type: {
1063
1665
  name: "Composite",
1064
- className: "Identity"
1065
- }
1666
+ className: "Identity",
1667
+ },
1066
1668
  }, replicaCount: {
1067
1669
  defaultValue: 1,
1068
1670
  constraints: {
1069
1671
  InclusiveMaximum: 12,
1070
- InclusiveMinimum: 1
1672
+ InclusiveMinimum: 1,
1071
1673
  },
1072
1674
  serializedName: "properties.replicaCount",
1073
1675
  type: {
1074
- name: "Number"
1075
- }
1676
+ name: "Number",
1677
+ },
1076
1678
  }, partitionCount: {
1077
1679
  defaultValue: 1,
1078
1680
  constraints: {
1079
1681
  InclusiveMaximum: 12,
1080
- InclusiveMinimum: 1
1682
+ InclusiveMinimum: 1,
1081
1683
  },
1082
1684
  serializedName: "properties.partitionCount",
1083
1685
  type: {
1084
- name: "Number"
1085
- }
1686
+ name: "Number",
1687
+ },
1086
1688
  }, hostingMode: {
1087
1689
  defaultValue: "default",
1088
1690
  serializedName: "properties.hostingMode",
1089
1691
  type: {
1090
1692
  name: "Enum",
1091
- allowedValues: ["default", "highDensity"]
1092
- }
1693
+ allowedValues: ["default", "highDensity"],
1694
+ },
1093
1695
  }, publicNetworkAccess: {
1094
1696
  defaultValue: "enabled",
1095
1697
  serializedName: "properties.publicNetworkAccess",
1096
1698
  type: {
1097
- name: "Enum",
1098
- allowedValues: ["enabled", "disabled"]
1099
- }
1699
+ name: "String",
1700
+ },
1100
1701
  }, status: {
1101
1702
  serializedName: "properties.status",
1102
1703
  readOnly: true,
@@ -1108,46 +1709,63 @@ const SearchServiceUpdate = {
1108
1709
  "deleting",
1109
1710
  "degraded",
1110
1711
  "disabled",
1111
- "error"
1112
- ]
1113
- }
1712
+ "error",
1713
+ "stopped",
1714
+ ],
1715
+ },
1114
1716
  }, statusDetails: {
1115
1717
  serializedName: "properties.statusDetails",
1116
1718
  readOnly: true,
1117
1719
  type: {
1118
- name: "String"
1119
- }
1720
+ name: "String",
1721
+ },
1120
1722
  }, provisioningState: {
1121
1723
  serializedName: "properties.provisioningState",
1122
1724
  readOnly: true,
1123
1725
  type: {
1124
1726
  name: "Enum",
1125
- allowedValues: ["succeeded", "provisioning", "failed"]
1126
- }
1727
+ allowedValues: ["succeeded", "provisioning", "failed"],
1728
+ },
1127
1729
  }, networkRuleSet: {
1128
1730
  serializedName: "properties.networkRuleSet",
1129
1731
  type: {
1130
1732
  name: "Composite",
1131
- className: "NetworkRuleSet"
1132
- }
1733
+ className: "NetworkRuleSet",
1734
+ },
1735
+ }, disabledDataExfiltrationOptions: {
1736
+ serializedName: "properties.disabledDataExfiltrationOptions",
1737
+ type: {
1738
+ name: "Sequence",
1739
+ element: {
1740
+ type: {
1741
+ name: "String",
1742
+ },
1743
+ },
1744
+ },
1133
1745
  }, encryptionWithCmk: {
1134
1746
  serializedName: "properties.encryptionWithCmk",
1135
1747
  type: {
1136
1748
  name: "Composite",
1137
- className: "EncryptionWithCmk"
1138
- }
1749
+ className: "EncryptionWithCmk",
1750
+ },
1139
1751
  }, disableLocalAuth: {
1140
1752
  serializedName: "properties.disableLocalAuth",
1141
1753
  nullable: true,
1142
1754
  type: {
1143
- name: "Boolean"
1144
- }
1755
+ name: "Boolean",
1756
+ },
1145
1757
  }, authOptions: {
1146
1758
  serializedName: "properties.authOptions",
1147
1759
  type: {
1148
1760
  name: "Composite",
1149
- className: "DataPlaneAuthOptions"
1150
- }
1761
+ className: "DataPlaneAuthOptions",
1762
+ },
1763
+ }, semanticSearch: {
1764
+ serializedName: "properties.semanticSearch",
1765
+ nullable: true,
1766
+ type: {
1767
+ name: "String",
1768
+ },
1151
1769
  }, privateEndpointConnections: {
1152
1770
  serializedName: "properties.privateEndpointConnections",
1153
1771
  readOnly: true,
@@ -1156,16 +1774,10 @@ const SearchServiceUpdate = {
1156
1774
  element: {
1157
1775
  type: {
1158
1776
  name: "Composite",
1159
- className: "PrivateEndpointConnection"
1160
- }
1161
- }
1162
- }
1163
- }, semanticSearch: {
1164
- serializedName: "properties.semanticSearch",
1165
- nullable: true,
1166
- type: {
1167
- name: "String"
1168
- }
1777
+ className: "PrivateEndpointConnection",
1778
+ },
1779
+ },
1780
+ },
1169
1781
  }, sharedPrivateLinkResources: {
1170
1782
  serializedName: "properties.sharedPrivateLinkResources",
1171
1783
  readOnly: true,
@@ -1174,12 +1786,18 @@ const SearchServiceUpdate = {
1174
1786
  element: {
1175
1787
  type: {
1176
1788
  name: "Composite",
1177
- className: "SharedPrivateLinkResource"
1178
- }
1179
- }
1180
- }
1181
- } })
1182
- }
1789
+ className: "SharedPrivateLinkResource",
1790
+ },
1791
+ },
1792
+ },
1793
+ }, eTag: {
1794
+ serializedName: "properties.eTag",
1795
+ readOnly: true,
1796
+ type: {
1797
+ name: "String",
1798
+ },
1799
+ } }),
1800
+ },
1183
1801
  };
1184
1802
  const PrivateLinkResource = {
1185
1803
  type: {
@@ -1189,10 +1807,17 @@ const PrivateLinkResource = {
1189
1807
  serializedName: "properties",
1190
1808
  type: {
1191
1809
  name: "Composite",
1192
- className: "PrivateLinkResourceProperties"
1193
- }
1194
- } })
1195
- }
1810
+ className: "PrivateLinkResourceProperties",
1811
+ },
1812
+ } }),
1813
+ },
1814
+ };
1815
+ const ProxyResource = {
1816
+ type: {
1817
+ name: "Composite",
1818
+ className: "ProxyResource",
1819
+ modelProperties: Object.assign({}, Resource.type.modelProperties),
1820
+ },
1196
1821
  };
1197
1822
  const SearchService = {
1198
1823
  type: {
@@ -1202,48 +1827,47 @@ const SearchService = {
1202
1827
  serializedName: "sku",
1203
1828
  type: {
1204
1829
  name: "Composite",
1205
- className: "Sku"
1206
- }
1830
+ className: "Sku",
1831
+ },
1207
1832
  }, identity: {
1208
1833
  serializedName: "identity",
1209
1834
  type: {
1210
1835
  name: "Composite",
1211
- className: "Identity"
1212
- }
1836
+ className: "Identity",
1837
+ },
1213
1838
  }, replicaCount: {
1214
1839
  defaultValue: 1,
1215
1840
  constraints: {
1216
1841
  InclusiveMaximum: 12,
1217
- InclusiveMinimum: 1
1842
+ InclusiveMinimum: 1,
1218
1843
  },
1219
1844
  serializedName: "properties.replicaCount",
1220
1845
  type: {
1221
- name: "Number"
1222
- }
1846
+ name: "Number",
1847
+ },
1223
1848
  }, partitionCount: {
1224
1849
  defaultValue: 1,
1225
1850
  constraints: {
1226
1851
  InclusiveMaximum: 12,
1227
- InclusiveMinimum: 1
1852
+ InclusiveMinimum: 1,
1228
1853
  },
1229
1854
  serializedName: "properties.partitionCount",
1230
1855
  type: {
1231
- name: "Number"
1232
- }
1856
+ name: "Number",
1857
+ },
1233
1858
  }, hostingMode: {
1234
1859
  defaultValue: "default",
1235
1860
  serializedName: "properties.hostingMode",
1236
1861
  type: {
1237
1862
  name: "Enum",
1238
- allowedValues: ["default", "highDensity"]
1239
- }
1863
+ allowedValues: ["default", "highDensity"],
1864
+ },
1240
1865
  }, publicNetworkAccess: {
1241
1866
  defaultValue: "enabled",
1242
1867
  serializedName: "properties.publicNetworkAccess",
1243
1868
  type: {
1244
- name: "Enum",
1245
- allowedValues: ["enabled", "disabled"]
1246
- }
1869
+ name: "String",
1870
+ },
1247
1871
  }, status: {
1248
1872
  serializedName: "properties.status",
1249
1873
  readOnly: true,
@@ -1255,46 +1879,63 @@ const SearchService = {
1255
1879
  "deleting",
1256
1880
  "degraded",
1257
1881
  "disabled",
1258
- "error"
1259
- ]
1260
- }
1882
+ "error",
1883
+ "stopped",
1884
+ ],
1885
+ },
1261
1886
  }, statusDetails: {
1262
1887
  serializedName: "properties.statusDetails",
1263
1888
  readOnly: true,
1264
1889
  type: {
1265
- name: "String"
1266
- }
1890
+ name: "String",
1891
+ },
1267
1892
  }, provisioningState: {
1268
1893
  serializedName: "properties.provisioningState",
1269
1894
  readOnly: true,
1270
1895
  type: {
1271
1896
  name: "Enum",
1272
- allowedValues: ["succeeded", "provisioning", "failed"]
1273
- }
1897
+ allowedValues: ["succeeded", "provisioning", "failed"],
1898
+ },
1274
1899
  }, networkRuleSet: {
1275
1900
  serializedName: "properties.networkRuleSet",
1276
1901
  type: {
1277
1902
  name: "Composite",
1278
- className: "NetworkRuleSet"
1279
- }
1903
+ className: "NetworkRuleSet",
1904
+ },
1905
+ }, disabledDataExfiltrationOptions: {
1906
+ serializedName: "properties.disabledDataExfiltrationOptions",
1907
+ type: {
1908
+ name: "Sequence",
1909
+ element: {
1910
+ type: {
1911
+ name: "String",
1912
+ },
1913
+ },
1914
+ },
1280
1915
  }, encryptionWithCmk: {
1281
1916
  serializedName: "properties.encryptionWithCmk",
1282
1917
  type: {
1283
1918
  name: "Composite",
1284
- className: "EncryptionWithCmk"
1285
- }
1919
+ className: "EncryptionWithCmk",
1920
+ },
1286
1921
  }, disableLocalAuth: {
1287
1922
  serializedName: "properties.disableLocalAuth",
1288
1923
  nullable: true,
1289
1924
  type: {
1290
- name: "Boolean"
1291
- }
1925
+ name: "Boolean",
1926
+ },
1292
1927
  }, authOptions: {
1293
1928
  serializedName: "properties.authOptions",
1294
1929
  type: {
1295
1930
  name: "Composite",
1296
- className: "DataPlaneAuthOptions"
1297
- }
1931
+ className: "DataPlaneAuthOptions",
1932
+ },
1933
+ }, semanticSearch: {
1934
+ serializedName: "properties.semanticSearch",
1935
+ nullable: true,
1936
+ type: {
1937
+ name: "String",
1938
+ },
1298
1939
  }, privateEndpointConnections: {
1299
1940
  serializedName: "properties.privateEndpointConnections",
1300
1941
  readOnly: true,
@@ -1303,16 +1944,10 @@ const SearchService = {
1303
1944
  element: {
1304
1945
  type: {
1305
1946
  name: "Composite",
1306
- className: "PrivateEndpointConnection"
1307
- }
1308
- }
1309
- }
1310
- }, semanticSearch: {
1311
- serializedName: "properties.semanticSearch",
1312
- nullable: true,
1313
- type: {
1314
- name: "String"
1315
- }
1947
+ className: "PrivateEndpointConnection",
1948
+ },
1949
+ },
1950
+ },
1316
1951
  }, sharedPrivateLinkResources: {
1317
1952
  serializedName: "properties.sharedPrivateLinkResources",
1318
1953
  readOnly: true,
@@ -1321,12 +1956,74 @@ const SearchService = {
1321
1956
  element: {
1322
1957
  type: {
1323
1958
  name: "Composite",
1324
- className: "SharedPrivateLinkResource"
1325
- }
1326
- }
1327
- }
1328
- } })
1329
- }
1959
+ className: "SharedPrivateLinkResource",
1960
+ },
1961
+ },
1962
+ },
1963
+ }, eTag: {
1964
+ serializedName: "properties.eTag",
1965
+ readOnly: true,
1966
+ type: {
1967
+ name: "String",
1968
+ },
1969
+ } }),
1970
+ },
1971
+ };
1972
+ const NetworkSecurityPerimeterConfiguration = {
1973
+ type: {
1974
+ name: "Composite",
1975
+ className: "NetworkSecurityPerimeterConfiguration",
1976
+ modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { provisioningState: {
1977
+ serializedName: "properties.provisioningState",
1978
+ readOnly: true,
1979
+ type: {
1980
+ name: "String",
1981
+ },
1982
+ }, networkSecurityPerimeter: {
1983
+ serializedName: "properties.networkSecurityPerimeter",
1984
+ type: {
1985
+ name: "Composite",
1986
+ className: "NSPConfigPerimeter",
1987
+ },
1988
+ }, resourceAssociation: {
1989
+ serializedName: "properties.resourceAssociation",
1990
+ type: {
1991
+ name: "Composite",
1992
+ className: "NSPConfigAssociation",
1993
+ },
1994
+ }, profile: {
1995
+ serializedName: "properties.profile",
1996
+ type: {
1997
+ name: "Composite",
1998
+ className: "NSPConfigProfile",
1999
+ },
2000
+ }, provisioningIssues: {
2001
+ serializedName: "properties.provisioningIssues",
2002
+ type: {
2003
+ name: "Sequence",
2004
+ element: {
2005
+ type: {
2006
+ name: "Composite",
2007
+ className: "NSPProvisioningIssue",
2008
+ },
2009
+ },
2010
+ },
2011
+ } }),
2012
+ },
2013
+ };
2014
+ const NetworkSecurityPerimeterConfigurationsReconcileHeaders = {
2015
+ type: {
2016
+ name: "Composite",
2017
+ className: "NetworkSecurityPerimeterConfigurationsReconcileHeaders",
2018
+ modelProperties: {
2019
+ location: {
2020
+ serializedName: "location",
2021
+ type: {
2022
+ name: "String",
2023
+ },
2024
+ },
2025
+ },
2026
+ },
1330
2027
  };
1331
2028
 
1332
2029
  var Mappers = /*#__PURE__*/Object.freeze({
@@ -1343,10 +2040,27 @@ var Mappers = /*#__PURE__*/Object.freeze({
1343
2040
  Identity: Identity,
1344
2041
  IpRule: IpRule,
1345
2042
  ListQueryKeysResult: ListQueryKeysResult,
2043
+ NSPConfigAccessRule: NSPConfigAccessRule,
2044
+ NSPConfigAccessRuleProperties: NSPConfigAccessRuleProperties,
2045
+ NSPConfigAssociation: NSPConfigAssociation,
2046
+ NSPConfigNetworkSecurityPerimeterRule: NSPConfigNetworkSecurityPerimeterRule,
2047
+ NSPConfigPerimeter: NSPConfigPerimeter,
2048
+ NSPConfigProfile: NSPConfigProfile,
2049
+ NSPProvisioningIssue: NSPProvisioningIssue,
2050
+ NSPProvisioningIssueProperties: NSPProvisioningIssueProperties,
1346
2051
  NetworkRuleSet: NetworkRuleSet,
2052
+ NetworkSecurityPerimeterConfiguration: NetworkSecurityPerimeterConfiguration,
2053
+ NetworkSecurityPerimeterConfigurationListResult: NetworkSecurityPerimeterConfigurationListResult,
2054
+ NetworkSecurityPerimeterConfigurationsReconcileHeaders: NetworkSecurityPerimeterConfigurationsReconcileHeaders,
1347
2055
  Operation: Operation,
2056
+ OperationAvailability: OperationAvailability,
1348
2057
  OperationDisplay: OperationDisplay,
1349
2058
  OperationListResult: OperationListResult,
2059
+ OperationLogsSpecification: OperationLogsSpecification,
2060
+ OperationMetricDimension: OperationMetricDimension,
2061
+ OperationMetricsSpecification: OperationMetricsSpecification,
2062
+ OperationProperties: OperationProperties,
2063
+ OperationServiceSpecification: OperationServiceSpecification,
1350
2064
  PrivateEndpointConnection: PrivateEndpointConnection,
1351
2065
  PrivateEndpointConnectionListResult: PrivateEndpointConnectionListResult,
1352
2066
  PrivateEndpointConnectionProperties: PrivateEndpointConnectionProperties,
@@ -1355,6 +2069,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
1355
2069
  PrivateLinkResource: PrivateLinkResource,
1356
2070
  PrivateLinkResourceProperties: PrivateLinkResourceProperties,
1357
2071
  PrivateLinkResourcesResult: PrivateLinkResourcesResult,
2072
+ ProxyResource: ProxyResource,
1358
2073
  QueryKey: QueryKey,
1359
2074
  QuotaUsageResult: QuotaUsageResult,
1360
2075
  QuotaUsageResultName: QuotaUsageResultName,
@@ -1369,7 +2084,8 @@ var Mappers = /*#__PURE__*/Object.freeze({
1369
2084
  SharedPrivateLinkResourceListResult: SharedPrivateLinkResourceListResult,
1370
2085
  SharedPrivateLinkResourceProperties: SharedPrivateLinkResourceProperties,
1371
2086
  Sku: Sku,
1372
- TrackedResource: TrackedResource
2087
+ TrackedResource: TrackedResource,
2088
+ UserAssignedManagedIdentity: UserAssignedManagedIdentity
1373
2089
  });
1374
2090
 
1375
2091
  /*
@@ -1386,9 +2102,9 @@ const accept = {
1386
2102
  isConstant: true,
1387
2103
  serializedName: "Accept",
1388
2104
  type: {
1389
- name: "String"
1390
- }
1391
- }
2105
+ name: "String",
2106
+ },
2107
+ },
1392
2108
  };
1393
2109
  const $host = {
1394
2110
  parameterPath: "$host",
@@ -1396,21 +2112,21 @@ const $host = {
1396
2112
  serializedName: "$host",
1397
2113
  required: true,
1398
2114
  type: {
1399
- name: "String"
1400
- }
2115
+ name: "String",
2116
+ },
1401
2117
  },
1402
- skipEncoding: true
2118
+ skipEncoding: true,
1403
2119
  };
1404
2120
  const apiVersion = {
1405
2121
  parameterPath: "apiVersion",
1406
2122
  mapper: {
1407
- defaultValue: "2023-11-01",
2123
+ defaultValue: "2024-03-01-preview",
1408
2124
  isConstant: true,
1409
2125
  serializedName: "api-version",
1410
2126
  type: {
1411
- name: "String"
1412
- }
1413
- }
2127
+ name: "String",
2128
+ },
2129
+ },
1414
2130
  };
1415
2131
  const resourceGroupName = {
1416
2132
  parameterPath: "resourceGroupName",
@@ -1418,32 +2134,35 @@ const resourceGroupName = {
1418
2134
  serializedName: "resourceGroupName",
1419
2135
  required: true,
1420
2136
  type: {
1421
- name: "String"
1422
- }
1423
- }
2137
+ name: "String",
2138
+ },
2139
+ },
1424
2140
  };
1425
2141
  const searchServiceName = {
1426
2142
  parameterPath: "searchServiceName",
1427
2143
  mapper: {
2144
+ constraints: {
2145
+ Pattern: new RegExp("^(?=.{2,60}$)[a-z0-9][a-z0-9]+(-[a-z0-9]+)*$"),
2146
+ },
1428
2147
  serializedName: "searchServiceName",
1429
2148
  required: true,
1430
2149
  type: {
1431
- name: "String"
1432
- }
1433
- }
2150
+ name: "String",
2151
+ },
2152
+ },
1434
2153
  };
1435
2154
  const clientRequestId = {
1436
2155
  parameterPath: [
1437
2156
  "options",
1438
2157
  "searchManagementRequestOptions",
1439
- "clientRequestId"
2158
+ "clientRequestId",
1440
2159
  ],
1441
2160
  mapper: {
1442
2161
  serializedName: "x-ms-client-request-id",
1443
2162
  type: {
1444
- name: "Uuid"
1445
- }
1446
- }
2163
+ name: "Uuid",
2164
+ },
2165
+ },
1447
2166
  };
1448
2167
  const subscriptionId = {
1449
2168
  parameterPath: "subscriptionId",
@@ -1451,9 +2170,9 @@ const subscriptionId = {
1451
2170
  serializedName: "subscriptionId",
1452
2171
  required: true,
1453
2172
  type: {
1454
- name: "String"
1455
- }
1456
- }
2173
+ name: "String",
2174
+ },
2175
+ },
1457
2176
  };
1458
2177
  const keyKind = {
1459
2178
  parameterPath: "keyKind",
@@ -1462,9 +2181,9 @@ const keyKind = {
1462
2181
  required: true,
1463
2182
  type: {
1464
2183
  name: "Enum",
1465
- allowedValues: ["primary", "secondary"]
1466
- }
1467
- }
2184
+ allowedValues: ["primary", "secondary"],
2185
+ },
2186
+ },
1468
2187
  };
1469
2188
  const name = {
1470
2189
  parameterPath: "name",
@@ -1472,9 +2191,9 @@ const name = {
1472
2191
  serializedName: "name",
1473
2192
  required: true,
1474
2193
  type: {
1475
- name: "String"
1476
- }
1477
- }
2194
+ name: "String",
2195
+ },
2196
+ },
1478
2197
  };
1479
2198
  const key = {
1480
2199
  parameterPath: "key",
@@ -1482,9 +2201,9 @@ const key = {
1482
2201
  serializedName: "key",
1483
2202
  required: true,
1484
2203
  type: {
1485
- name: "String"
1486
- }
1487
- }
2204
+ name: "String",
2205
+ },
2206
+ },
1488
2207
  };
1489
2208
  const nextLink = {
1490
2209
  parameterPath: "nextLink",
@@ -1492,10 +2211,10 @@ const nextLink = {
1492
2211
  serializedName: "nextLink",
1493
2212
  required: true,
1494
2213
  type: {
1495
- name: "String"
1496
- }
2214
+ name: "String",
2215
+ },
1497
2216
  },
1498
- skipEncoding: true
2217
+ skipEncoding: true,
1499
2218
  };
1500
2219
  const contentType = {
1501
2220
  parameterPath: ["options", "contentType"],
@@ -1504,21 +2223,31 @@ const contentType = {
1504
2223
  isConstant: true,
1505
2224
  serializedName: "Content-Type",
1506
2225
  type: {
1507
- name: "String"
1508
- }
1509
- }
2226
+ name: "String",
2227
+ },
2228
+ },
1510
2229
  };
1511
2230
  const service = {
1512
2231
  parameterPath: "service",
1513
- mapper: SearchService
2232
+ mapper: SearchService,
2233
+ };
2234
+ const searchServiceName1 = {
2235
+ parameterPath: "searchServiceName",
2236
+ mapper: {
2237
+ serializedName: "searchServiceName",
2238
+ required: true,
2239
+ type: {
2240
+ name: "String",
2241
+ },
2242
+ },
1514
2243
  };
1515
2244
  const service1 = {
1516
2245
  parameterPath: "service",
1517
- mapper: SearchServiceUpdate
2246
+ mapper: SearchServiceUpdate,
1518
2247
  };
1519
2248
  const privateEndpointConnection = {
1520
2249
  parameterPath: "privateEndpointConnection",
1521
- mapper: PrivateEndpointConnection
2250
+ mapper: PrivateEndpointConnection,
1522
2251
  };
1523
2252
  const privateEndpointConnectionName = {
1524
2253
  parameterPath: "privateEndpointConnectionName",
@@ -1526,13 +2255,13 @@ const privateEndpointConnectionName = {
1526
2255
  serializedName: "privateEndpointConnectionName",
1527
2256
  required: true,
1528
2257
  type: {
1529
- name: "String"
1530
- }
1531
- }
2258
+ name: "String",
2259
+ },
2260
+ },
1532
2261
  };
1533
2262
  const sharedPrivateLinkResource = {
1534
2263
  parameterPath: "sharedPrivateLinkResource",
1535
- mapper: SharedPrivateLinkResource
2264
+ mapper: SharedPrivateLinkResource,
1536
2265
  };
1537
2266
  const sharedPrivateLinkResourceName = {
1538
2267
  parameterPath: "sharedPrivateLinkResourceName",
@@ -1540,9 +2269,9 @@ const sharedPrivateLinkResourceName = {
1540
2269
  serializedName: "sharedPrivateLinkResourceName",
1541
2270
  required: true,
1542
2271
  type: {
1543
- name: "String"
1544
- }
1545
- }
2272
+ name: "String",
2273
+ },
2274
+ },
1546
2275
  };
1547
2276
  const location = {
1548
2277
  parameterPath: "location",
@@ -1550,9 +2279,9 @@ const location = {
1550
2279
  serializedName: "location",
1551
2280
  required: true,
1552
2281
  type: {
1553
- name: "String"
1554
- }
1555
- }
2282
+ name: "String",
2283
+ },
2284
+ },
1556
2285
  };
1557
2286
  const skuName = {
1558
2287
  parameterPath: "skuName",
@@ -1560,9 +2289,24 @@ const skuName = {
1560
2289
  serializedName: "skuName",
1561
2290
  required: true,
1562
2291
  type: {
1563
- name: "String"
1564
- }
1565
- }
2292
+ name: "String",
2293
+ },
2294
+ },
2295
+ };
2296
+ const nspConfigName = {
2297
+ parameterPath: "nspConfigName",
2298
+ mapper: {
2299
+ constraints: {
2300
+ Pattern: new RegExp("^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}\\.[a-z][a-z0-9]*$"),
2301
+ MaxLength: 100,
2302
+ MinLength: 38,
2303
+ },
2304
+ serializedName: "nspConfigName",
2305
+ required: true,
2306
+ type: {
2307
+ name: "String",
2308
+ },
2309
+ },
1566
2310
  };
1567
2311
 
1568
2312
  /*
@@ -1600,7 +2344,7 @@ class OperationsImpl {
1600
2344
  throw new Error("maxPageSize is not supported by this operation.");
1601
2345
  }
1602
2346
  return this.listPagingPage(options, settings);
1603
- }
2347
+ },
1604
2348
  };
1605
2349
  }
1606
2350
  listPagingPage(options, _settings) {
@@ -1639,22 +2383,22 @@ class OperationsImpl {
1639
2383
  }
1640
2384
  }
1641
2385
  // Operation Specifications
1642
- const serializer$8 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
2386
+ const serializer$9 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
1643
2387
  const listOperationSpec = {
1644
2388
  path: "/providers/Microsoft.Search/operations",
1645
2389
  httpMethod: "GET",
1646
2390
  responses: {
1647
2391
  200: {
1648
- bodyMapper: OperationListResult
2392
+ bodyMapper: OperationListResult,
1649
2393
  },
1650
2394
  default: {
1651
- bodyMapper: CloudError
1652
- }
2395
+ bodyMapper: CloudError,
2396
+ },
1653
2397
  },
1654
2398
  queryParameters: [apiVersion],
1655
2399
  urlParameters: [$host],
1656
2400
  headerParameters: [accept],
1657
- serializer: serializer$8
2401
+ serializer: serializer$9,
1658
2402
  };
1659
2403
 
1660
2404
  /*
@@ -1674,23 +2418,23 @@ class AdminKeysImpl {
1674
2418
  this.client = client;
1675
2419
  }
1676
2420
  /**
1677
- * Gets the primary and secondary admin API keys for the specified Azure Cognitive Search service.
2421
+ * Gets the primary and secondary admin API keys for the specified Azure AI Search service.
1678
2422
  * @param resourceGroupName The name of the resource group within the current subscription. You can
1679
2423
  * obtain this value from the Azure Resource Manager API or the portal.
1680
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
1681
- * specified resource group.
2424
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
2425
+ * resource group.
1682
2426
  * @param options The options parameters.
1683
2427
  */
1684
2428
  get(resourceGroupName, searchServiceName, options) {
1685
- return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, options }, getOperationSpec$3);
2429
+ return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, options }, getOperationSpec$4);
1686
2430
  }
1687
2431
  /**
1688
2432
  * Regenerates either the primary or secondary admin API key. You can only regenerate one key at a
1689
2433
  * time.
1690
2434
  * @param resourceGroupName The name of the resource group within the current subscription. You can
1691
2435
  * obtain this value from the Azure Resource Manager API or the portal.
1692
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
1693
- * specified resource group.
2436
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
2437
+ * resource group.
1694
2438
  * @param keyKind Specifies which key to regenerate. Valid values include 'primary' and 'secondary'.
1695
2439
  * @param options The options parameters.
1696
2440
  */
@@ -1699,38 +2443,38 @@ class AdminKeysImpl {
1699
2443
  }
1700
2444
  }
1701
2445
  // Operation Specifications
1702
- const serializer$7 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
1703
- const getOperationSpec$3 = {
2446
+ const serializer$8 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
2447
+ const getOperationSpec$4 = {
1704
2448
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/listAdminKeys",
1705
2449
  httpMethod: "POST",
1706
2450
  responses: {
1707
2451
  200: {
1708
- bodyMapper: AdminKeyResult
2452
+ bodyMapper: AdminKeyResult,
1709
2453
  },
1710
2454
  default: {
1711
- bodyMapper: CloudError
1712
- }
2455
+ bodyMapper: CloudError,
2456
+ },
1713
2457
  },
1714
2458
  queryParameters: [apiVersion],
1715
2459
  urlParameters: [
1716
2460
  $host,
1717
2461
  resourceGroupName,
1718
2462
  searchServiceName,
1719
- subscriptionId
2463
+ subscriptionId,
1720
2464
  ],
1721
2465
  headerParameters: [accept, clientRequestId],
1722
- serializer: serializer$7
2466
+ serializer: serializer$8,
1723
2467
  };
1724
2468
  const regenerateOperationSpec = {
1725
2469
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/regenerateAdminKey/{keyKind}",
1726
2470
  httpMethod: "POST",
1727
2471
  responses: {
1728
2472
  200: {
1729
- bodyMapper: AdminKeyResult
2473
+ bodyMapper: AdminKeyResult,
1730
2474
  },
1731
2475
  default: {
1732
- bodyMapper: CloudError
1733
- }
2476
+ bodyMapper: CloudError,
2477
+ },
1734
2478
  },
1735
2479
  queryParameters: [apiVersion],
1736
2480
  urlParameters: [
@@ -1738,10 +2482,10 @@ const regenerateOperationSpec = {
1738
2482
  resourceGroupName,
1739
2483
  searchServiceName,
1740
2484
  subscriptionId,
1741
- keyKind
2485
+ keyKind,
1742
2486
  ],
1743
2487
  headerParameters: [accept, clientRequestId],
1744
- serializer: serializer$7
2488
+ serializer: serializer$8,
1745
2489
  };
1746
2490
 
1747
2491
  /*
@@ -1762,11 +2506,11 @@ class QueryKeysImpl {
1762
2506
  this.client = client;
1763
2507
  }
1764
2508
  /**
1765
- * Returns the list of query API keys for the given Azure Cognitive Search service.
2509
+ * Returns the list of query API keys for the given Azure AI Search service.
1766
2510
  * @param resourceGroupName The name of the resource group within the current subscription. You can
1767
2511
  * obtain this value from the Azure Resource Manager API or the portal.
1768
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
1769
- * specified resource group.
2512
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
2513
+ * resource group.
1770
2514
  * @param options The options parameters.
1771
2515
  */
1772
2516
  listBySearchService(resourceGroupName, searchServiceName, options) {
@@ -1783,7 +2527,7 @@ class QueryKeysImpl {
1783
2527
  throw new Error("maxPageSize is not supported by this operation.");
1784
2528
  }
1785
2529
  return this.listBySearchServicePagingPage(resourceGroupName, searchServiceName, options, settings);
1786
- }
2530
+ },
1787
2531
  };
1788
2532
  }
1789
2533
  listBySearchServicePagingPage(resourceGroupName, searchServiceName, options, settings) {
@@ -1831,8 +2575,8 @@ class QueryKeysImpl {
1831
2575
  * service.
1832
2576
  * @param resourceGroupName The name of the resource group within the current subscription. You can
1833
2577
  * obtain this value from the Azure Resource Manager API or the portal.
1834
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
1835
- * specified resource group.
2578
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
2579
+ * resource group.
1836
2580
  * @param name The name of the new query API key.
1837
2581
  * @param options The options parameters.
1838
2582
  */
@@ -1840,11 +2584,11 @@ class QueryKeysImpl {
1840
2584
  return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, name, options }, createOperationSpec);
1841
2585
  }
1842
2586
  /**
1843
- * Returns the list of query API keys for the given Azure Cognitive Search service.
2587
+ * Returns the list of query API keys for the given Azure AI Search service.
1844
2588
  * @param resourceGroupName The name of the resource group within the current subscription. You can
1845
2589
  * obtain this value from the Azure Resource Manager API or the portal.
1846
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
1847
- * specified resource group.
2590
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
2591
+ * resource group.
1848
2592
  * @param options The options parameters.
1849
2593
  */
1850
2594
  _listBySearchService(resourceGroupName, searchServiceName, options) {
@@ -1855,8 +2599,8 @@ class QueryKeysImpl {
1855
2599
  * regenerating a query key is to delete and then recreate it.
1856
2600
  * @param resourceGroupName The name of the resource group within the current subscription. You can
1857
2601
  * obtain this value from the Azure Resource Manager API or the portal.
1858
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
1859
- * specified resource group.
2602
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
2603
+ * resource group.
1860
2604
  * @param key The query key to be deleted. Query keys are identified by value, not by name.
1861
2605
  * @param options The options parameters.
1862
2606
  */
@@ -1867,8 +2611,8 @@ class QueryKeysImpl {
1867
2611
  * ListBySearchServiceNext
1868
2612
  * @param resourceGroupName The name of the resource group within the current subscription. You can
1869
2613
  * obtain this value from the Azure Resource Manager API or the portal.
1870
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
1871
- * specified resource group.
2614
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
2615
+ * resource group.
1872
2616
  * @param nextLink The nextLink from the previous successful call to the ListBySearchService method.
1873
2617
  * @param options The options parameters.
1874
2618
  */
@@ -1877,17 +2621,17 @@ class QueryKeysImpl {
1877
2621
  }
1878
2622
  }
1879
2623
  // Operation Specifications
1880
- const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
2624
+ const serializer$7 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
1881
2625
  const createOperationSpec = {
1882
2626
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/createQueryKey/{name}",
1883
2627
  httpMethod: "POST",
1884
2628
  responses: {
1885
2629
  200: {
1886
- bodyMapper: QueryKey
2630
+ bodyMapper: QueryKey,
1887
2631
  },
1888
2632
  default: {
1889
- bodyMapper: CloudError
1890
- }
2633
+ bodyMapper: CloudError,
2634
+ },
1891
2635
  },
1892
2636
  queryParameters: [apiVersion],
1893
2637
  urlParameters: [
@@ -1895,31 +2639,31 @@ const createOperationSpec = {
1895
2639
  resourceGroupName,
1896
2640
  searchServiceName,
1897
2641
  subscriptionId,
1898
- name
2642
+ name,
1899
2643
  ],
1900
2644
  headerParameters: [accept, clientRequestId],
1901
- serializer: serializer$6
2645
+ serializer: serializer$7,
1902
2646
  };
1903
2647
  const listBySearchServiceOperationSpec = {
1904
2648
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/listQueryKeys",
1905
2649
  httpMethod: "POST",
1906
2650
  responses: {
1907
2651
  200: {
1908
- bodyMapper: ListQueryKeysResult
2652
+ bodyMapper: ListQueryKeysResult,
1909
2653
  },
1910
2654
  default: {
1911
- bodyMapper: CloudError
1912
- }
2655
+ bodyMapper: CloudError,
2656
+ },
1913
2657
  },
1914
2658
  queryParameters: [apiVersion],
1915
2659
  urlParameters: [
1916
2660
  $host,
1917
2661
  resourceGroupName,
1918
2662
  searchServiceName,
1919
- subscriptionId
2663
+ subscriptionId,
1920
2664
  ],
1921
2665
  headerParameters: [accept, clientRequestId],
1922
- serializer: serializer$6
2666
+ serializer: serializer$7,
1923
2667
  };
1924
2668
  const deleteOperationSpec$3 = {
1925
2669
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/deleteQueryKey/{key}",
@@ -1929,8 +2673,8 @@ const deleteOperationSpec$3 = {
1929
2673
  204: {},
1930
2674
  404: {},
1931
2675
  default: {
1932
- bodyMapper: CloudError
1933
- }
2676
+ bodyMapper: CloudError,
2677
+ },
1934
2678
  },
1935
2679
  queryParameters: [apiVersion],
1936
2680
  urlParameters: [
@@ -1938,31 +2682,31 @@ const deleteOperationSpec$3 = {
1938
2682
  resourceGroupName,
1939
2683
  searchServiceName,
1940
2684
  subscriptionId,
1941
- key
2685
+ key,
1942
2686
  ],
1943
2687
  headerParameters: [accept, clientRequestId],
1944
- serializer: serializer$6
2688
+ serializer: serializer$7,
1945
2689
  };
1946
2690
  const listBySearchServiceNextOperationSpec = {
1947
2691
  path: "{nextLink}",
1948
2692
  httpMethod: "GET",
1949
2693
  responses: {
1950
2694
  200: {
1951
- bodyMapper: ListQueryKeysResult
2695
+ bodyMapper: ListQueryKeysResult,
1952
2696
  },
1953
2697
  default: {
1954
- bodyMapper: CloudError
1955
- }
2698
+ bodyMapper: CloudError,
2699
+ },
1956
2700
  },
1957
2701
  urlParameters: [
1958
2702
  $host,
1959
2703
  resourceGroupName,
1960
2704
  searchServiceName,
1961
2705
  subscriptionId,
1962
- nextLink
2706
+ nextLink,
1963
2707
  ],
1964
2708
  headerParameters: [accept, clientRequestId],
1965
- serializer: serializer$6
2709
+ serializer: serializer$7,
1966
2710
  };
1967
2711
 
1968
2712
  /*
@@ -1981,7 +2725,7 @@ function createLroSpec(inputs) {
1981
2725
  sendPollRequest: (path, options) => {
1982
2726
  const restSpec = tslib.__rest(spec, ["requestBody"]);
1983
2727
  return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
1984
- }
2728
+ },
1985
2729
  };
1986
2730
  }
1987
2731
 
@@ -2022,7 +2766,7 @@ class ServicesImpl {
2022
2766
  throw new Error("maxPageSize is not supported by this operation.");
2023
2767
  }
2024
2768
  return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
2025
- }
2769
+ },
2026
2770
  };
2027
2771
  }
2028
2772
  listByResourceGroupPagingPage(resourceGroupName, options, settings) {
@@ -2083,7 +2827,7 @@ class ServicesImpl {
2083
2827
  throw new Error("maxPageSize is not supported by this operation.");
2084
2828
  }
2085
2829
  return this.listBySubscriptionPagingPage(options, settings);
2086
- }
2830
+ },
2087
2831
  };
2088
2832
  }
2089
2833
  listBySubscriptionPagingPage(options, settings) {
@@ -2131,12 +2875,12 @@ class ServicesImpl {
2131
2875
  * exists, all properties will be updated with the given values.
2132
2876
  * @param resourceGroupName The name of the resource group within the current subscription. You can
2133
2877
  * obtain this value from the Azure Resource Manager API or the portal.
2134
- * @param searchServiceName The name of the Azure Cognitive Search service to create or update. Search
2135
- * service names must only contain lowercase letters, digits or dashes, cannot use dash as the first
2136
- * two or last one characters, cannot contain consecutive dashes, and must be between 2 and 60
2137
- * characters in length. Search service names must be globally unique since they are part of the
2138
- * service URI (https://<name>.search.windows.net). You cannot change the service name after the
2139
- * service is created.
2878
+ * @param searchServiceName The name of the Azure AI Search service to create or update. Search service
2879
+ * names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or
2880
+ * last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in
2881
+ * length. Search service names must be globally unique since they are part of the service URI
2882
+ * (https://<name>.search.windows.net). You cannot change the service name after the service is
2883
+ * created.
2140
2884
  * @param service The definition of the search service to create or update.
2141
2885
  * @param options The options parameters.
2142
2886
  */
@@ -2160,18 +2904,18 @@ class ServicesImpl {
2160
2904
  rawResponse: {
2161
2905
  statusCode: currentRawResponse.status,
2162
2906
  body: currentRawResponse.parsedBody,
2163
- headers: currentRawResponse.headers.toJSON()
2164
- }
2907
+ headers: currentRawResponse.headers.toJSON(),
2908
+ },
2165
2909
  };
2166
2910
  });
2167
2911
  const lro = createLroSpec({
2168
2912
  sendOperationFn,
2169
2913
  args: { resourceGroupName, searchServiceName, service, options },
2170
- spec: createOrUpdateOperationSpec$1
2914
+ spec: createOrUpdateOperationSpec$1,
2171
2915
  });
2172
2916
  const poller = yield coreLro.createHttpPoller(lro, {
2173
2917
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
2174
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
2918
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
2175
2919
  });
2176
2920
  yield poller.poll();
2177
2921
  return poller;
@@ -2182,12 +2926,12 @@ class ServicesImpl {
2182
2926
  * exists, all properties will be updated with the given values.
2183
2927
  * @param resourceGroupName The name of the resource group within the current subscription. You can
2184
2928
  * obtain this value from the Azure Resource Manager API or the portal.
2185
- * @param searchServiceName The name of the Azure Cognitive Search service to create or update. Search
2186
- * service names must only contain lowercase letters, digits or dashes, cannot use dash as the first
2187
- * two or last one characters, cannot contain consecutive dashes, and must be between 2 and 60
2188
- * characters in length. Search service names must be globally unique since they are part of the
2189
- * service URI (https://<name>.search.windows.net). You cannot change the service name after the
2190
- * service is created.
2929
+ * @param searchServiceName The name of the Azure AI Search service to create or update. Search service
2930
+ * names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or
2931
+ * last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in
2932
+ * length. Search service names must be globally unique since they are part of the service URI
2933
+ * (https://<name>.search.windows.net). You cannot change the service name after the service is
2934
+ * created.
2191
2935
  * @param service The definition of the search service to create or update.
2192
2936
  * @param options The options parameters.
2193
2937
  */
@@ -2201,7 +2945,7 @@ class ServicesImpl {
2201
2945
  * Updates an existing search service in the given resource group.
2202
2946
  * @param resourceGroupName The name of the resource group within the current subscription. You can
2203
2947
  * obtain this value from the Azure Resource Manager API or the portal.
2204
- * @param searchServiceName The name of the Azure Cognitive Search service to update.
2948
+ * @param searchServiceName The name of the Azure AI Search service to update.
2205
2949
  * @param service The definition of the search service to update.
2206
2950
  * @param options The options parameters.
2207
2951
  */
@@ -2212,19 +2956,19 @@ class ServicesImpl {
2212
2956
  * Gets the search service with the given name in the given resource group.
2213
2957
  * @param resourceGroupName The name of the resource group within the current subscription. You can
2214
2958
  * obtain this value from the Azure Resource Manager API or the portal.
2215
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
2216
- * specified resource group.
2959
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
2960
+ * resource group.
2217
2961
  * @param options The options parameters.
2218
2962
  */
2219
2963
  get(resourceGroupName, searchServiceName, options) {
2220
- return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, options }, getOperationSpec$2);
2964
+ return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, options }, getOperationSpec$3);
2221
2965
  }
2222
2966
  /**
2223
2967
  * Deletes a search service in the given resource group, along with its associated resources.
2224
2968
  * @param resourceGroupName The name of the resource group within the current subscription. You can
2225
2969
  * obtain this value from the Azure Resource Manager API or the portal.
2226
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
2227
- * specified resource group.
2970
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
2971
+ * resource group.
2228
2972
  * @param options The options parameters.
2229
2973
  */
2230
2974
  delete(resourceGroupName, searchServiceName, options) {
@@ -2277,90 +3021,90 @@ class ServicesImpl {
2277
3021
  }
2278
3022
  }
2279
3023
  // Operation Specifications
2280
- const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3024
+ const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
2281
3025
  const createOrUpdateOperationSpec$1 = {
2282
3026
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}",
2283
3027
  httpMethod: "PUT",
2284
3028
  responses: {
2285
3029
  200: {
2286
- bodyMapper: SearchService
3030
+ bodyMapper: SearchService,
2287
3031
  },
2288
3032
  201: {
2289
- bodyMapper: SearchService
3033
+ bodyMapper: SearchService,
2290
3034
  },
2291
3035
  202: {
2292
- bodyMapper: SearchService
3036
+ bodyMapper: SearchService,
2293
3037
  },
2294
3038
  204: {
2295
- bodyMapper: SearchService
3039
+ bodyMapper: SearchService,
2296
3040
  },
2297
3041
  default: {
2298
- bodyMapper: CloudError
2299
- }
3042
+ bodyMapper: CloudError,
3043
+ },
2300
3044
  },
2301
3045
  requestBody: service,
2302
3046
  queryParameters: [apiVersion],
2303
3047
  urlParameters: [
2304
3048
  $host,
2305
3049
  resourceGroupName,
2306
- searchServiceName,
2307
- subscriptionId
3050
+ subscriptionId,
3051
+ searchServiceName1,
2308
3052
  ],
2309
3053
  headerParameters: [
2310
3054
  accept,
2311
3055
  clientRequestId,
2312
- contentType
3056
+ contentType,
2313
3057
  ],
2314
3058
  mediaType: "json",
2315
- serializer: serializer$5
3059
+ serializer: serializer$6,
2316
3060
  };
2317
3061
  const updateOperationSpec$1 = {
2318
3062
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}",
2319
3063
  httpMethod: "PATCH",
2320
3064
  responses: {
2321
3065
  200: {
2322
- bodyMapper: SearchService
3066
+ bodyMapper: SearchService,
2323
3067
  },
2324
3068
  default: {
2325
- bodyMapper: CloudError
2326
- }
3069
+ bodyMapper: CloudError,
3070
+ },
2327
3071
  },
2328
3072
  requestBody: service1,
2329
3073
  queryParameters: [apiVersion],
2330
3074
  urlParameters: [
2331
3075
  $host,
2332
3076
  resourceGroupName,
2333
- searchServiceName,
2334
- subscriptionId
3077
+ subscriptionId,
3078
+ searchServiceName1,
2335
3079
  ],
2336
3080
  headerParameters: [
2337
3081
  accept,
2338
3082
  clientRequestId,
2339
- contentType
3083
+ contentType,
2340
3084
  ],
2341
3085
  mediaType: "json",
2342
- serializer: serializer$5
3086
+ serializer: serializer$6,
2343
3087
  };
2344
- const getOperationSpec$2 = {
3088
+ const getOperationSpec$3 = {
2345
3089
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}",
2346
3090
  httpMethod: "GET",
2347
3091
  responses: {
2348
3092
  200: {
2349
- bodyMapper: SearchService
3093
+ bodyMapper: SearchService,
2350
3094
  },
2351
3095
  default: {
2352
- bodyMapper: CloudError
2353
- }
3096
+ bodyMapper: CloudError,
3097
+ },
2354
3098
  },
2355
3099
  queryParameters: [apiVersion],
2356
3100
  urlParameters: [
2357
3101
  $host,
2358
3102
  resourceGroupName,
2359
3103
  searchServiceName,
2360
- subscriptionId
3104
+ subscriptionId,
2361
3105
  ],
2362
3106
  headerParameters: [accept, clientRequestId],
2363
- serializer: serializer$5
3107
+ serializer: serializer$6,
2364
3108
  };
2365
3109
  const deleteOperationSpec$2 = {
2366
3110
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}",
@@ -2370,118 +3114,118 @@ const deleteOperationSpec$2 = {
2370
3114
  204: {},
2371
3115
  404: {},
2372
3116
  default: {
2373
- bodyMapper: CloudError
2374
- }
3117
+ bodyMapper: CloudError,
3118
+ },
2375
3119
  },
2376
3120
  queryParameters: [apiVersion],
2377
3121
  urlParameters: [
2378
3122
  $host,
2379
3123
  resourceGroupName,
2380
3124
  searchServiceName,
2381
- subscriptionId
3125
+ subscriptionId,
2382
3126
  ],
2383
3127
  headerParameters: [accept, clientRequestId],
2384
- serializer: serializer$5
3128
+ serializer: serializer$6,
2385
3129
  };
2386
3130
  const listByResourceGroupOperationSpec = {
2387
3131
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices",
2388
3132
  httpMethod: "GET",
2389
3133
  responses: {
2390
3134
  200: {
2391
- bodyMapper: SearchServiceListResult
3135
+ bodyMapper: SearchServiceListResult,
2392
3136
  },
2393
3137
  default: {
2394
- bodyMapper: CloudError
2395
- }
3138
+ bodyMapper: CloudError,
3139
+ },
2396
3140
  },
2397
3141
  queryParameters: [apiVersion],
2398
3142
  urlParameters: [
2399
3143
  $host,
2400
3144
  resourceGroupName,
2401
- subscriptionId
3145
+ subscriptionId,
2402
3146
  ],
2403
3147
  headerParameters: [accept, clientRequestId],
2404
- serializer: serializer$5
3148
+ serializer: serializer$6,
2405
3149
  };
2406
3150
  const listBySubscriptionOperationSpec$1 = {
2407
3151
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.Search/searchServices",
2408
3152
  httpMethod: "GET",
2409
3153
  responses: {
2410
3154
  200: {
2411
- bodyMapper: SearchServiceListResult
3155
+ bodyMapper: SearchServiceListResult,
2412
3156
  },
2413
3157
  default: {
2414
- bodyMapper: CloudError
2415
- }
3158
+ bodyMapper: CloudError,
3159
+ },
2416
3160
  },
2417
3161
  queryParameters: [apiVersion],
2418
3162
  urlParameters: [$host, subscriptionId],
2419
3163
  headerParameters: [accept, clientRequestId],
2420
- serializer: serializer$5
3164
+ serializer: serializer$6,
2421
3165
  };
2422
3166
  const checkNameAvailabilityOperationSpec = {
2423
3167
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.Search/checkNameAvailability",
2424
3168
  httpMethod: "POST",
2425
3169
  responses: {
2426
3170
  200: {
2427
- bodyMapper: CheckNameAvailabilityOutput
3171
+ bodyMapper: CheckNameAvailabilityOutput,
2428
3172
  },
2429
3173
  default: {
2430
- bodyMapper: CloudError
2431
- }
3174
+ bodyMapper: CloudError,
3175
+ },
2432
3176
  },
2433
3177
  requestBody: {
2434
3178
  parameterPath: { name: ["name"], typeParam: ["typeParam"] },
2435
- mapper: Object.assign(Object.assign({}, CheckNameAvailabilityInput), { required: true })
3179
+ mapper: Object.assign(Object.assign({}, CheckNameAvailabilityInput), { required: true }),
2436
3180
  },
2437
3181
  queryParameters: [apiVersion],
2438
3182
  urlParameters: [$host, subscriptionId],
2439
3183
  headerParameters: [
2440
3184
  accept,
2441
3185
  clientRequestId,
2442
- contentType
3186
+ contentType,
2443
3187
  ],
2444
3188
  mediaType: "json",
2445
- serializer: serializer$5
3189
+ serializer: serializer$6,
2446
3190
  };
2447
3191
  const listByResourceGroupNextOperationSpec = {
2448
3192
  path: "{nextLink}",
2449
3193
  httpMethod: "GET",
2450
3194
  responses: {
2451
3195
  200: {
2452
- bodyMapper: SearchServiceListResult
3196
+ bodyMapper: SearchServiceListResult,
2453
3197
  },
2454
3198
  default: {
2455
- bodyMapper: CloudError
2456
- }
3199
+ bodyMapper: CloudError,
3200
+ },
2457
3201
  },
2458
3202
  urlParameters: [
2459
3203
  $host,
2460
3204
  resourceGroupName,
2461
3205
  subscriptionId,
2462
- nextLink
3206
+ nextLink,
2463
3207
  ],
2464
3208
  headerParameters: [accept, clientRequestId],
2465
- serializer: serializer$5
3209
+ serializer: serializer$6,
2466
3210
  };
2467
3211
  const listBySubscriptionNextOperationSpec$1 = {
2468
3212
  path: "{nextLink}",
2469
3213
  httpMethod: "GET",
2470
3214
  responses: {
2471
3215
  200: {
2472
- bodyMapper: SearchServiceListResult
3216
+ bodyMapper: SearchServiceListResult,
2473
3217
  },
2474
3218
  default: {
2475
- bodyMapper: CloudError
2476
- }
3219
+ bodyMapper: CloudError,
3220
+ },
2477
3221
  },
2478
3222
  urlParameters: [
2479
3223
  $host,
2480
3224
  subscriptionId,
2481
- nextLink
3225
+ nextLink,
2482
3226
  ],
2483
3227
  headerParameters: [accept, clientRequestId],
2484
- serializer: serializer$5
3228
+ serializer: serializer$6,
2485
3229
  };
2486
3230
 
2487
3231
  /*
@@ -2505,8 +3249,8 @@ class PrivateLinkResourcesImpl {
2505
3249
  * Gets a list of all supported private link resource types for the given service.
2506
3250
  * @param resourceGroupName The name of the resource group within the current subscription. You can
2507
3251
  * obtain this value from the Azure Resource Manager API or the portal.
2508
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
2509
- * specified resource group.
3252
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
3253
+ * resource group.
2510
3254
  * @param options The options parameters.
2511
3255
  */
2512
3256
  listSupported(resourceGroupName, searchServiceName, options) {
@@ -2523,7 +3267,7 @@ class PrivateLinkResourcesImpl {
2523
3267
  throw new Error("maxPageSize is not supported by this operation.");
2524
3268
  }
2525
3269
  return this.listSupportedPagingPage(resourceGroupName, searchServiceName, options, settings);
2526
- }
3270
+ },
2527
3271
  };
2528
3272
  }
2529
3273
  listSupportedPagingPage(resourceGroupName, searchServiceName, options, _settings) {
@@ -2557,8 +3301,8 @@ class PrivateLinkResourcesImpl {
2557
3301
  * Gets a list of all supported private link resource types for the given service.
2558
3302
  * @param resourceGroupName The name of the resource group within the current subscription. You can
2559
3303
  * obtain this value from the Azure Resource Manager API or the portal.
2560
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
2561
- * specified resource group.
3304
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
3305
+ * resource group.
2562
3306
  * @param options The options parameters.
2563
3307
  */
2564
3308
  _listSupported(resourceGroupName, searchServiceName, options) {
@@ -2566,27 +3310,27 @@ class PrivateLinkResourcesImpl {
2566
3310
  }
2567
3311
  }
2568
3312
  // Operation Specifications
2569
- const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3313
+ const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
2570
3314
  const listSupportedOperationSpec = {
2571
3315
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/privateLinkResources",
2572
3316
  httpMethod: "GET",
2573
3317
  responses: {
2574
3318
  200: {
2575
- bodyMapper: PrivateLinkResourcesResult
3319
+ bodyMapper: PrivateLinkResourcesResult,
2576
3320
  },
2577
3321
  default: {
2578
- bodyMapper: CloudError
2579
- }
3322
+ bodyMapper: CloudError,
3323
+ },
2580
3324
  },
2581
3325
  queryParameters: [apiVersion],
2582
3326
  urlParameters: [
2583
3327
  $host,
2584
3328
  resourceGroupName,
2585
3329
  searchServiceName,
2586
- subscriptionId
3330
+ subscriptionId,
2587
3331
  ],
2588
3332
  headerParameters: [accept, clientRequestId],
2589
- serializer: serializer$4
3333
+ serializer: serializer$5,
2590
3334
  };
2591
3335
 
2592
3336
  /*
@@ -2610,8 +3354,8 @@ class PrivateEndpointConnectionsImpl {
2610
3354
  * Gets a list of all private endpoint connections in the given service.
2611
3355
  * @param resourceGroupName The name of the resource group within the current subscription. You can
2612
3356
  * obtain this value from the Azure Resource Manager API or the portal.
2613
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
2614
- * specified resource group.
3357
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
3358
+ * resource group.
2615
3359
  * @param options The options parameters.
2616
3360
  */
2617
3361
  listByService(resourceGroupName, searchServiceName, options) {
@@ -2628,7 +3372,7 @@ class PrivateEndpointConnectionsImpl {
2628
3372
  throw new Error("maxPageSize is not supported by this operation.");
2629
3373
  }
2630
3374
  return this.listByServicePagingPage(resourceGroupName, searchServiceName, options, settings);
2631
- }
3375
+ },
2632
3376
  };
2633
3377
  }
2634
3378
  listByServicePagingPage(resourceGroupName, searchServiceName, options, settings) {
@@ -2672,13 +3416,13 @@ class PrivateEndpointConnectionsImpl {
2672
3416
  });
2673
3417
  }
2674
3418
  /**
2675
- * Updates a Private Endpoint connection to the search service in the given resource group.
3419
+ * Updates a private endpoint connection to the search service in the given resource group.
2676
3420
  * @param resourceGroupName The name of the resource group within the current subscription. You can
2677
3421
  * obtain this value from the Azure Resource Manager API or the portal.
2678
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
2679
- * specified resource group.
2680
- * @param privateEndpointConnectionName The name of the private endpoint connection to the Azure
2681
- * Cognitive Search service with the specified resource group.
3422
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
3423
+ * resource group.
3424
+ * @param privateEndpointConnectionName The name of the private endpoint connection to the Azure AI
3425
+ * Search service with the specified resource group.
2682
3426
  * @param privateEndpointConnection The definition of the private endpoint connection to update.
2683
3427
  * @param options The options parameters.
2684
3428
  */
@@ -2688,7 +3432,7 @@ class PrivateEndpointConnectionsImpl {
2688
3432
  searchServiceName,
2689
3433
  privateEndpointConnectionName,
2690
3434
  privateEndpointConnection,
2691
- options
3435
+ options,
2692
3436
  }, updateOperationSpec);
2693
3437
  }
2694
3438
  /**
@@ -2696,10 +3440,10 @@ class PrivateEndpointConnectionsImpl {
2696
3440
  * group.
2697
3441
  * @param resourceGroupName The name of the resource group within the current subscription. You can
2698
3442
  * obtain this value from the Azure Resource Manager API or the portal.
2699
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
2700
- * specified resource group.
2701
- * @param privateEndpointConnectionName The name of the private endpoint connection to the Azure
2702
- * Cognitive Search service with the specified resource group.
3443
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
3444
+ * resource group.
3445
+ * @param privateEndpointConnectionName The name of the private endpoint connection to the Azure AI
3446
+ * Search service with the specified resource group.
2703
3447
  * @param options The options parameters.
2704
3448
  */
2705
3449
  get(resourceGroupName, searchServiceName, privateEndpointConnectionName, options) {
@@ -2707,17 +3451,17 @@ class PrivateEndpointConnectionsImpl {
2707
3451
  resourceGroupName,
2708
3452
  searchServiceName,
2709
3453
  privateEndpointConnectionName,
2710
- options
2711
- }, getOperationSpec$1);
3454
+ options,
3455
+ }, getOperationSpec$2);
2712
3456
  }
2713
3457
  /**
2714
3458
  * Disconnects the private endpoint connection and deletes it from the search service.
2715
3459
  * @param resourceGroupName The name of the resource group within the current subscription. You can
2716
3460
  * obtain this value from the Azure Resource Manager API or the portal.
2717
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
2718
- * specified resource group.
2719
- * @param privateEndpointConnectionName The name of the private endpoint connection to the Azure
2720
- * Cognitive Search service with the specified resource group.
3461
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
3462
+ * resource group.
3463
+ * @param privateEndpointConnectionName The name of the private endpoint connection to the Azure AI
3464
+ * Search service with the specified resource group.
2721
3465
  * @param options The options parameters.
2722
3466
  */
2723
3467
  delete(resourceGroupName, searchServiceName, privateEndpointConnectionName, options) {
@@ -2725,45 +3469,45 @@ class PrivateEndpointConnectionsImpl {
2725
3469
  resourceGroupName,
2726
3470
  searchServiceName,
2727
3471
  privateEndpointConnectionName,
2728
- options
3472
+ options,
2729
3473
  }, deleteOperationSpec$1);
2730
3474
  }
2731
3475
  /**
2732
3476
  * Gets a list of all private endpoint connections in the given service.
2733
3477
  * @param resourceGroupName The name of the resource group within the current subscription. You can
2734
3478
  * obtain this value from the Azure Resource Manager API or the portal.
2735
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
2736
- * specified resource group.
3479
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
3480
+ * resource group.
2737
3481
  * @param options The options parameters.
2738
3482
  */
2739
3483
  _listByService(resourceGroupName, searchServiceName, options) {
2740
- return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, options }, listByServiceOperationSpec$1);
3484
+ return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, options }, listByServiceOperationSpec$2);
2741
3485
  }
2742
3486
  /**
2743
3487
  * ListByServiceNext
2744
3488
  * @param resourceGroupName The name of the resource group within the current subscription. You can
2745
3489
  * obtain this value from the Azure Resource Manager API or the portal.
2746
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
2747
- * specified resource group.
3490
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
3491
+ * resource group.
2748
3492
  * @param nextLink The nextLink from the previous successful call to the ListByService method.
2749
3493
  * @param options The options parameters.
2750
3494
  */
2751
3495
  _listByServiceNext(resourceGroupName, searchServiceName, nextLink, options) {
2752
- return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, nextLink, options }, listByServiceNextOperationSpec$1);
3496
+ return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, nextLink, options }, listByServiceNextOperationSpec$2);
2753
3497
  }
2754
3498
  }
2755
3499
  // Operation Specifications
2756
- const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3500
+ const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
2757
3501
  const updateOperationSpec = {
2758
3502
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/privateEndpointConnections/{privateEndpointConnectionName}",
2759
3503
  httpMethod: "PUT",
2760
3504
  responses: {
2761
3505
  200: {
2762
- bodyMapper: PrivateEndpointConnection
3506
+ bodyMapper: PrivateEndpointConnection,
2763
3507
  },
2764
3508
  default: {
2765
- bodyMapper: CloudError
2766
- }
3509
+ bodyMapper: CloudError,
3510
+ },
2767
3511
  },
2768
3512
  requestBody: privateEndpointConnection,
2769
3513
  queryParameters: [apiVersion],
@@ -2772,26 +3516,26 @@ const updateOperationSpec = {
2772
3516
  resourceGroupName,
2773
3517
  searchServiceName,
2774
3518
  subscriptionId,
2775
- privateEndpointConnectionName
3519
+ privateEndpointConnectionName,
2776
3520
  ],
2777
3521
  headerParameters: [
2778
3522
  accept,
2779
3523
  clientRequestId,
2780
- contentType
3524
+ contentType,
2781
3525
  ],
2782
3526
  mediaType: "json",
2783
- serializer: serializer$3
3527
+ serializer: serializer$4,
2784
3528
  };
2785
- const getOperationSpec$1 = {
3529
+ const getOperationSpec$2 = {
2786
3530
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/privateEndpointConnections/{privateEndpointConnectionName}",
2787
3531
  httpMethod: "GET",
2788
3532
  responses: {
2789
3533
  200: {
2790
- bodyMapper: PrivateEndpointConnection
3534
+ bodyMapper: PrivateEndpointConnection,
2791
3535
  },
2792
3536
  default: {
2793
- bodyMapper: CloudError
2794
- }
3537
+ bodyMapper: CloudError,
3538
+ },
2795
3539
  },
2796
3540
  queryParameters: [apiVersion],
2797
3541
  urlParameters: [
@@ -2799,22 +3543,22 @@ const getOperationSpec$1 = {
2799
3543
  resourceGroupName,
2800
3544
  searchServiceName,
2801
3545
  subscriptionId,
2802
- privateEndpointConnectionName
3546
+ privateEndpointConnectionName,
2803
3547
  ],
2804
3548
  headerParameters: [accept, clientRequestId],
2805
- serializer: serializer$3
3549
+ serializer: serializer$4,
2806
3550
  };
2807
3551
  const deleteOperationSpec$1 = {
2808
3552
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/privateEndpointConnections/{privateEndpointConnectionName}",
2809
3553
  httpMethod: "DELETE",
2810
3554
  responses: {
2811
3555
  200: {
2812
- bodyMapper: PrivateEndpointConnection
3556
+ bodyMapper: PrivateEndpointConnection,
2813
3557
  },
2814
3558
  404: {},
2815
3559
  default: {
2816
- bodyMapper: CloudError
2817
- }
3560
+ bodyMapper: CloudError,
3561
+ },
2818
3562
  },
2819
3563
  queryParameters: [apiVersion],
2820
3564
  urlParameters: [
@@ -2822,52 +3566,52 @@ const deleteOperationSpec$1 = {
2822
3566
  resourceGroupName,
2823
3567
  searchServiceName,
2824
3568
  subscriptionId,
2825
- privateEndpointConnectionName
3569
+ privateEndpointConnectionName,
2826
3570
  ],
2827
3571
  headerParameters: [accept, clientRequestId],
2828
- serializer: serializer$3
3572
+ serializer: serializer$4,
2829
3573
  };
2830
- const listByServiceOperationSpec$1 = {
3574
+ const listByServiceOperationSpec$2 = {
2831
3575
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/privateEndpointConnections",
2832
3576
  httpMethod: "GET",
2833
3577
  responses: {
2834
3578
  200: {
2835
- bodyMapper: PrivateEndpointConnectionListResult
3579
+ bodyMapper: PrivateEndpointConnectionListResult,
2836
3580
  },
2837
3581
  default: {
2838
- bodyMapper: CloudError
2839
- }
3582
+ bodyMapper: CloudError,
3583
+ },
2840
3584
  },
2841
3585
  queryParameters: [apiVersion],
2842
3586
  urlParameters: [
2843
3587
  $host,
2844
3588
  resourceGroupName,
2845
3589
  searchServiceName,
2846
- subscriptionId
3590
+ subscriptionId,
2847
3591
  ],
2848
3592
  headerParameters: [accept, clientRequestId],
2849
- serializer: serializer$3
3593
+ serializer: serializer$4,
2850
3594
  };
2851
- const listByServiceNextOperationSpec$1 = {
3595
+ const listByServiceNextOperationSpec$2 = {
2852
3596
  path: "{nextLink}",
2853
3597
  httpMethod: "GET",
2854
3598
  responses: {
2855
3599
  200: {
2856
- bodyMapper: PrivateEndpointConnectionListResult
3600
+ bodyMapper: PrivateEndpointConnectionListResult,
2857
3601
  },
2858
3602
  default: {
2859
- bodyMapper: CloudError
2860
- }
3603
+ bodyMapper: CloudError,
3604
+ },
2861
3605
  },
2862
3606
  urlParameters: [
2863
3607
  $host,
2864
3608
  resourceGroupName,
2865
3609
  searchServiceName,
2866
3610
  subscriptionId,
2867
- nextLink
3611
+ nextLink,
2868
3612
  ],
2869
3613
  headerParameters: [accept, clientRequestId],
2870
- serializer: serializer$3
3614
+ serializer: serializer$4,
2871
3615
  };
2872
3616
 
2873
3617
  /*
@@ -2891,8 +3635,8 @@ class SharedPrivateLinkResourcesImpl {
2891
3635
  * Gets a list of all shared private link resources managed by the given service.
2892
3636
  * @param resourceGroupName The name of the resource group within the current subscription. You can
2893
3637
  * obtain this value from the Azure Resource Manager API or the portal.
2894
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
2895
- * specified resource group.
3638
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
3639
+ * resource group.
2896
3640
  * @param options The options parameters.
2897
3641
  */
2898
3642
  listByService(resourceGroupName, searchServiceName, options) {
@@ -2909,7 +3653,7 @@ class SharedPrivateLinkResourcesImpl {
2909
3653
  throw new Error("maxPageSize is not supported by this operation.");
2910
3654
  }
2911
3655
  return this.listByServicePagingPage(resourceGroupName, searchServiceName, options, settings);
2912
- }
3656
+ },
2913
3657
  };
2914
3658
  }
2915
3659
  listByServicePagingPage(resourceGroupName, searchServiceName, options, settings) {
@@ -2957,10 +3701,10 @@ class SharedPrivateLinkResourcesImpl {
2957
3701
  * the given resource group.
2958
3702
  * @param resourceGroupName The name of the resource group within the current subscription. You can
2959
3703
  * obtain this value from the Azure Resource Manager API or the portal.
2960
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
2961
- * specified resource group.
3704
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
3705
+ * resource group.
2962
3706
  * @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
2963
- * Azure Cognitive Search service within the specified resource group.
3707
+ * Azure AI Search service within the specified resource group.
2964
3708
  * @param sharedPrivateLinkResource The definition of the shared private link resource to create or
2965
3709
  * update.
2966
3710
  * @param options The options parameters.
@@ -2985,8 +3729,8 @@ class SharedPrivateLinkResourcesImpl {
2985
3729
  rawResponse: {
2986
3730
  statusCode: currentRawResponse.status,
2987
3731
  body: currentRawResponse.parsedBody,
2988
- headers: currentRawResponse.headers.toJSON()
2989
- }
3732
+ headers: currentRawResponse.headers.toJSON(),
3733
+ },
2990
3734
  };
2991
3735
  });
2992
3736
  const lro = createLroSpec({
@@ -2996,14 +3740,14 @@ class SharedPrivateLinkResourcesImpl {
2996
3740
  searchServiceName,
2997
3741
  sharedPrivateLinkResourceName,
2998
3742
  sharedPrivateLinkResource,
2999
- options
3743
+ options,
3000
3744
  },
3001
- spec: createOrUpdateOperationSpec
3745
+ spec: createOrUpdateOperationSpec,
3002
3746
  });
3003
3747
  const poller = yield coreLro.createHttpPoller(lro, {
3004
3748
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
3005
3749
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
3006
- resourceLocationConfig: "azure-async-operation"
3750
+ resourceLocationConfig: "azure-async-operation",
3007
3751
  });
3008
3752
  yield poller.poll();
3009
3753
  return poller;
@@ -3014,10 +3758,10 @@ class SharedPrivateLinkResourcesImpl {
3014
3758
  * the given resource group.
3015
3759
  * @param resourceGroupName The name of the resource group within the current subscription. You can
3016
3760
  * obtain this value from the Azure Resource Manager API or the portal.
3017
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
3018
- * specified resource group.
3761
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
3762
+ * resource group.
3019
3763
  * @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
3020
- * Azure Cognitive Search service within the specified resource group.
3764
+ * Azure AI Search service within the specified resource group.
3021
3765
  * @param sharedPrivateLinkResource The definition of the shared private link resource to create or
3022
3766
  * update.
3023
3767
  * @param options The options parameters.
@@ -3033,10 +3777,10 @@ class SharedPrivateLinkResourcesImpl {
3033
3777
  * resource group.
3034
3778
  * @param resourceGroupName The name of the resource group within the current subscription. You can
3035
3779
  * obtain this value from the Azure Resource Manager API or the portal.
3036
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
3037
- * specified resource group.
3780
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
3781
+ * resource group.
3038
3782
  * @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
3039
- * Azure Cognitive Search service within the specified resource group.
3783
+ * Azure AI Search service within the specified resource group.
3040
3784
  * @param options The options parameters.
3041
3785
  */
3042
3786
  get(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, options) {
@@ -3044,17 +3788,17 @@ class SharedPrivateLinkResourcesImpl {
3044
3788
  resourceGroupName,
3045
3789
  searchServiceName,
3046
3790
  sharedPrivateLinkResourceName,
3047
- options
3048
- }, getOperationSpec);
3791
+ options,
3792
+ }, getOperationSpec$1);
3049
3793
  }
3050
3794
  /**
3051
3795
  * Initiates the deletion of the shared private link resource from the search service.
3052
3796
  * @param resourceGroupName The name of the resource group within the current subscription. You can
3053
3797
  * obtain this value from the Azure Resource Manager API or the portal.
3054
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
3055
- * specified resource group.
3798
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
3799
+ * resource group.
3056
3800
  * @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
3057
- * Azure Cognitive Search service within the specified resource group.
3801
+ * Azure AI Search service within the specified resource group.
3058
3802
  * @param options The options parameters.
3059
3803
  */
3060
3804
  beginDelete(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, options) {
@@ -3077,8 +3821,8 @@ class SharedPrivateLinkResourcesImpl {
3077
3821
  rawResponse: {
3078
3822
  statusCode: currentRawResponse.status,
3079
3823
  body: currentRawResponse.parsedBody,
3080
- headers: currentRawResponse.headers.toJSON()
3081
- }
3824
+ headers: currentRawResponse.headers.toJSON(),
3825
+ },
3082
3826
  };
3083
3827
  });
3084
3828
  const lro = createLroSpec({
@@ -3087,14 +3831,14 @@ class SharedPrivateLinkResourcesImpl {
3087
3831
  resourceGroupName,
3088
3832
  searchServiceName,
3089
3833
  sharedPrivateLinkResourceName,
3090
- options
3834
+ options,
3091
3835
  },
3092
- spec: deleteOperationSpec
3836
+ spec: deleteOperationSpec,
3093
3837
  });
3094
3838
  const poller = yield coreLro.createHttpPoller(lro, {
3095
3839
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
3096
3840
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
3097
- resourceLocationConfig: "azure-async-operation"
3841
+ resourceLocationConfig: "azure-async-operation",
3098
3842
  });
3099
3843
  yield poller.poll();
3100
3844
  return poller;
@@ -3104,10 +3848,10 @@ class SharedPrivateLinkResourcesImpl {
3104
3848
  * Initiates the deletion of the shared private link resource from the search service.
3105
3849
  * @param resourceGroupName The name of the resource group within the current subscription. You can
3106
3850
  * obtain this value from the Azure Resource Manager API or the portal.
3107
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
3108
- * specified resource group.
3851
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
3852
+ * resource group.
3109
3853
  * @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
3110
- * Azure Cognitive Search service within the specified resource group.
3854
+ * Azure AI Search service within the specified resource group.
3111
3855
  * @param options The options parameters.
3112
3856
  */
3113
3857
  beginDeleteAndWait(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, options) {
@@ -3120,47 +3864,47 @@ class SharedPrivateLinkResourcesImpl {
3120
3864
  * Gets a list of all shared private link resources managed by the given service.
3121
3865
  * @param resourceGroupName The name of the resource group within the current subscription. You can
3122
3866
  * obtain this value from the Azure Resource Manager API or the portal.
3123
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
3124
- * specified resource group.
3867
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
3868
+ * resource group.
3125
3869
  * @param options The options parameters.
3126
3870
  */
3127
3871
  _listByService(resourceGroupName, searchServiceName, options) {
3128
- return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, options }, listByServiceOperationSpec);
3872
+ return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, options }, listByServiceOperationSpec$1);
3129
3873
  }
3130
3874
  /**
3131
3875
  * ListByServiceNext
3132
3876
  * @param resourceGroupName The name of the resource group within the current subscription. You can
3133
3877
  * obtain this value from the Azure Resource Manager API or the portal.
3134
- * @param searchServiceName The name of the Azure Cognitive Search service associated with the
3135
- * specified resource group.
3878
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
3879
+ * resource group.
3136
3880
  * @param nextLink The nextLink from the previous successful call to the ListByService method.
3137
3881
  * @param options The options parameters.
3138
3882
  */
3139
3883
  _listByServiceNext(resourceGroupName, searchServiceName, nextLink, options) {
3140
- return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, nextLink, options }, listByServiceNextOperationSpec);
3884
+ return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, nextLink, options }, listByServiceNextOperationSpec$1);
3141
3885
  }
3142
3886
  }
3143
3887
  // Operation Specifications
3144
- const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3888
+ const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3145
3889
  const createOrUpdateOperationSpec = {
3146
3890
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}",
3147
3891
  httpMethod: "PUT",
3148
3892
  responses: {
3149
3893
  200: {
3150
- bodyMapper: SharedPrivateLinkResource
3894
+ bodyMapper: SharedPrivateLinkResource,
3151
3895
  },
3152
3896
  201: {
3153
- bodyMapper: SharedPrivateLinkResource
3897
+ bodyMapper: SharedPrivateLinkResource,
3154
3898
  },
3155
3899
  202: {
3156
- bodyMapper: SharedPrivateLinkResource
3900
+ bodyMapper: SharedPrivateLinkResource,
3157
3901
  },
3158
3902
  204: {
3159
- bodyMapper: SharedPrivateLinkResource
3903
+ bodyMapper: SharedPrivateLinkResource,
3160
3904
  },
3161
3905
  default: {
3162
- bodyMapper: CloudError
3163
- }
3906
+ bodyMapper: CloudError,
3907
+ },
3164
3908
  },
3165
3909
  requestBody: sharedPrivateLinkResource,
3166
3910
  queryParameters: [apiVersion],
@@ -3169,26 +3913,26 @@ const createOrUpdateOperationSpec = {
3169
3913
  resourceGroupName,
3170
3914
  searchServiceName,
3171
3915
  subscriptionId,
3172
- sharedPrivateLinkResourceName
3916
+ sharedPrivateLinkResourceName,
3173
3917
  ],
3174
3918
  headerParameters: [
3175
3919
  accept,
3176
3920
  clientRequestId,
3177
- contentType
3921
+ contentType,
3178
3922
  ],
3179
3923
  mediaType: "json",
3180
- serializer: serializer$2
3924
+ serializer: serializer$3,
3181
3925
  };
3182
- const getOperationSpec = {
3926
+ const getOperationSpec$1 = {
3183
3927
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}",
3184
3928
  httpMethod: "GET",
3185
3929
  responses: {
3186
3930
  200: {
3187
- bodyMapper: SharedPrivateLinkResource
3931
+ bodyMapper: SharedPrivateLinkResource,
3188
3932
  },
3189
3933
  default: {
3190
- bodyMapper: CloudError
3191
- }
3934
+ bodyMapper: CloudError,
3935
+ },
3192
3936
  },
3193
3937
  queryParameters: [apiVersion],
3194
3938
  urlParameters: [
@@ -3196,10 +3940,10 @@ const getOperationSpec = {
3196
3940
  resourceGroupName,
3197
3941
  searchServiceName,
3198
3942
  subscriptionId,
3199
- sharedPrivateLinkResourceName
3943
+ sharedPrivateLinkResourceName,
3200
3944
  ],
3201
3945
  headerParameters: [accept, clientRequestId],
3202
- serializer: serializer$2
3946
+ serializer: serializer$3,
3203
3947
  };
3204
3948
  const deleteOperationSpec = {
3205
3949
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}",
@@ -3210,8 +3954,8 @@ const deleteOperationSpec = {
3210
3954
  202: {},
3211
3955
  204: {},
3212
3956
  default: {
3213
- bodyMapper: CloudError
3214
- }
3957
+ bodyMapper: CloudError,
3958
+ },
3215
3959
  },
3216
3960
  queryParameters: [apiVersion],
3217
3961
  urlParameters: [
@@ -3219,52 +3963,52 @@ const deleteOperationSpec = {
3219
3963
  resourceGroupName,
3220
3964
  searchServiceName,
3221
3965
  subscriptionId,
3222
- sharedPrivateLinkResourceName
3966
+ sharedPrivateLinkResourceName,
3223
3967
  ],
3224
3968
  headerParameters: [accept, clientRequestId],
3225
- serializer: serializer$2
3969
+ serializer: serializer$3,
3226
3970
  };
3227
- const listByServiceOperationSpec = {
3971
+ const listByServiceOperationSpec$1 = {
3228
3972
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/sharedPrivateLinkResources",
3229
3973
  httpMethod: "GET",
3230
3974
  responses: {
3231
3975
  200: {
3232
- bodyMapper: SharedPrivateLinkResourceListResult
3976
+ bodyMapper: SharedPrivateLinkResourceListResult,
3233
3977
  },
3234
3978
  default: {
3235
- bodyMapper: CloudError
3236
- }
3979
+ bodyMapper: CloudError,
3980
+ },
3237
3981
  },
3238
3982
  queryParameters: [apiVersion],
3239
3983
  urlParameters: [
3240
3984
  $host,
3241
3985
  resourceGroupName,
3242
3986
  searchServiceName,
3243
- subscriptionId
3987
+ subscriptionId,
3244
3988
  ],
3245
3989
  headerParameters: [accept, clientRequestId],
3246
- serializer: serializer$2
3990
+ serializer: serializer$3,
3247
3991
  };
3248
- const listByServiceNextOperationSpec = {
3992
+ const listByServiceNextOperationSpec$1 = {
3249
3993
  path: "{nextLink}",
3250
3994
  httpMethod: "GET",
3251
3995
  responses: {
3252
3996
  200: {
3253
- bodyMapper: SharedPrivateLinkResourceListResult
3997
+ bodyMapper: SharedPrivateLinkResourceListResult,
3254
3998
  },
3255
3999
  default: {
3256
- bodyMapper: CloudError
3257
- }
4000
+ bodyMapper: CloudError,
4001
+ },
3258
4002
  },
3259
4003
  urlParameters: [
3260
4004
  $host,
3261
4005
  resourceGroupName,
3262
4006
  searchServiceName,
3263
4007
  subscriptionId,
3264
- nextLink
4008
+ nextLink,
3265
4009
  ],
3266
4010
  headerParameters: [accept, clientRequestId],
3267
- serializer: serializer$2
4011
+ serializer: serializer$3,
3268
4012
  };
3269
4013
 
3270
4014
  /*
@@ -3285,7 +4029,7 @@ class UsagesImpl {
3285
4029
  this.client = client;
3286
4030
  }
3287
4031
  /**
3288
- * Gets a list of all Search quota usages in the given subscription.
4032
+ * Get a list of all Azure AI Search quota usages across the subscription.
3289
4033
  * @param location The unique location name for a Microsoft Azure geographic region.
3290
4034
  * @param options The options parameters.
3291
4035
  */
@@ -3303,7 +4047,7 @@ class UsagesImpl {
3303
4047
  throw new Error("maxPageSize is not supported by this operation.");
3304
4048
  }
3305
4049
  return this.listBySubscriptionPagingPage(location, options, settings);
3306
- }
4050
+ },
3307
4051
  };
3308
4052
  }
3309
4053
  listBySubscriptionPagingPage(location, options, settings) {
@@ -3347,7 +4091,7 @@ class UsagesImpl {
3347
4091
  });
3348
4092
  }
3349
4093
  /**
3350
- * Gets a list of all Search quota usages in the given subscription.
4094
+ * Get a list of all Azure AI Search quota usages across the subscription.
3351
4095
  * @param location The unique location name for a Microsoft Azure geographic region.
3352
4096
  * @param options The options parameters.
3353
4097
  */
@@ -3365,46 +4109,328 @@ class UsagesImpl {
3365
4109
  }
3366
4110
  }
3367
4111
  // Operation Specifications
3368
- const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
4112
+ const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3369
4113
  const listBySubscriptionOperationSpec = {
3370
4114
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages",
3371
4115
  httpMethod: "GET",
3372
4116
  responses: {
3373
4117
  200: {
3374
- bodyMapper: QuotaUsagesListResult
4118
+ bodyMapper: QuotaUsagesListResult,
3375
4119
  },
3376
4120
  default: {
3377
- bodyMapper: CloudError
3378
- }
4121
+ bodyMapper: CloudError,
4122
+ },
3379
4123
  },
3380
4124
  queryParameters: [apiVersion],
3381
4125
  urlParameters: [
3382
4126
  $host,
3383
4127
  subscriptionId,
3384
- location
4128
+ location,
3385
4129
  ],
3386
4130
  headerParameters: [accept, clientRequestId],
3387
- serializer: serializer$1
4131
+ serializer: serializer$2,
3388
4132
  };
3389
4133
  const listBySubscriptionNextOperationSpec = {
3390
4134
  path: "{nextLink}",
3391
4135
  httpMethod: "GET",
3392
4136
  responses: {
3393
4137
  200: {
3394
- bodyMapper: QuotaUsagesListResult
4138
+ bodyMapper: QuotaUsagesListResult,
3395
4139
  },
3396
4140
  default: {
3397
- bodyMapper: CloudError
3398
- }
4141
+ bodyMapper: CloudError,
4142
+ },
3399
4143
  },
3400
4144
  urlParameters: [
3401
4145
  $host,
3402
4146
  subscriptionId,
3403
4147
  nextLink,
3404
- location
4148
+ location,
3405
4149
  ],
3406
4150
  headerParameters: [accept, clientRequestId],
3407
- serializer: serializer$1
4151
+ serializer: serializer$2,
4152
+ };
4153
+
4154
+ /*
4155
+ * Copyright (c) Microsoft Corporation.
4156
+ * Licensed under the MIT License.
4157
+ *
4158
+ * Code generated by Microsoft (R) AutoRest Code Generator.
4159
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
4160
+ */
4161
+ /// <reference lib="esnext.asynciterable" />
4162
+ /** Class containing NetworkSecurityPerimeterConfigurations operations. */
4163
+ class NetworkSecurityPerimeterConfigurationsImpl {
4164
+ /**
4165
+ * Initialize a new instance of the class NetworkSecurityPerimeterConfigurations class.
4166
+ * @param client Reference to the service client
4167
+ */
4168
+ constructor(client) {
4169
+ this.client = client;
4170
+ }
4171
+ /**
4172
+ * Gets a list of network security perimeter configurations for a search service.
4173
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
4174
+ * obtain this value from the Azure Resource Manager API or the portal.
4175
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
4176
+ * resource group.
4177
+ * @param options The options parameters.
4178
+ */
4179
+ listByService(resourceGroupName, searchServiceName, options) {
4180
+ const iter = this.listByServicePagingAll(resourceGroupName, searchServiceName, options);
4181
+ return {
4182
+ next() {
4183
+ return iter.next();
4184
+ },
4185
+ [Symbol.asyncIterator]() {
4186
+ return this;
4187
+ },
4188
+ byPage: (settings) => {
4189
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
4190
+ throw new Error("maxPageSize is not supported by this operation.");
4191
+ }
4192
+ return this.listByServicePagingPage(resourceGroupName, searchServiceName, options, settings);
4193
+ },
4194
+ };
4195
+ }
4196
+ listByServicePagingPage(resourceGroupName, searchServiceName, options, settings) {
4197
+ return tslib.__asyncGenerator(this, arguments, function* listByServicePagingPage_1() {
4198
+ let result;
4199
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
4200
+ if (!continuationToken) {
4201
+ result = yield tslib.__await(this._listByService(resourceGroupName, searchServiceName, options));
4202
+ let page = result.value || [];
4203
+ continuationToken = result.nextLink;
4204
+ setContinuationToken(page, continuationToken);
4205
+ yield yield tslib.__await(page);
4206
+ }
4207
+ while (continuationToken) {
4208
+ result = yield tslib.__await(this._listByServiceNext(resourceGroupName, searchServiceName, continuationToken, options));
4209
+ continuationToken = result.nextLink;
4210
+ let page = result.value || [];
4211
+ setContinuationToken(page, continuationToken);
4212
+ yield yield tslib.__await(page);
4213
+ }
4214
+ });
4215
+ }
4216
+ listByServicePagingAll(resourceGroupName, searchServiceName, options) {
4217
+ return tslib.__asyncGenerator(this, arguments, function* listByServicePagingAll_1() {
4218
+ var _a, e_1, _b, _c;
4219
+ try {
4220
+ for (var _d = true, _e = tslib.__asyncValues(this.listByServicePagingPage(resourceGroupName, searchServiceName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
4221
+ _c = _f.value;
4222
+ _d = false;
4223
+ const page = _c;
4224
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4225
+ }
4226
+ }
4227
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
4228
+ finally {
4229
+ try {
4230
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
4231
+ }
4232
+ finally { if (e_1) throw e_1.error; }
4233
+ }
4234
+ });
4235
+ }
4236
+ /**
4237
+ * Gets a list of network security perimeter configurations for a search service.
4238
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
4239
+ * obtain this value from the Azure Resource Manager API or the portal.
4240
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
4241
+ * resource group.
4242
+ * @param options The options parameters.
4243
+ */
4244
+ _listByService(resourceGroupName, searchServiceName, options) {
4245
+ return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, options }, listByServiceOperationSpec);
4246
+ }
4247
+ /**
4248
+ * Gets a network security perimeter configuration.
4249
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
4250
+ * obtain this value from the Azure Resource Manager API or the portal.
4251
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
4252
+ * resource group.
4253
+ * @param nspConfigName The network security configuration name.
4254
+ * @param options The options parameters.
4255
+ */
4256
+ get(resourceGroupName, searchServiceName, nspConfigName, options) {
4257
+ return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, nspConfigName, options }, getOperationSpec);
4258
+ }
4259
+ /**
4260
+ * Reconcile network security perimeter configuration for the Azure AI Search resource provider. This
4261
+ * triggers a manual resync with network security perimeter configurations by ensuring the search
4262
+ * service carries the latest configuration.
4263
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
4264
+ * obtain this value from the Azure Resource Manager API or the portal.
4265
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
4266
+ * resource group.
4267
+ * @param nspConfigName The network security configuration name.
4268
+ * @param options The options parameters.
4269
+ */
4270
+ beginReconcile(resourceGroupName, searchServiceName, nspConfigName, options) {
4271
+ return tslib.__awaiter(this, void 0, void 0, function* () {
4272
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
4273
+ return this.client.sendOperationRequest(args, spec);
4274
+ });
4275
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
4276
+ var _a;
4277
+ let currentRawResponse = undefined;
4278
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
4279
+ const callback = (rawResponse, flatResponse) => {
4280
+ currentRawResponse = rawResponse;
4281
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
4282
+ };
4283
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
4284
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
4285
+ return {
4286
+ flatResponse,
4287
+ rawResponse: {
4288
+ statusCode: currentRawResponse.status,
4289
+ body: currentRawResponse.parsedBody,
4290
+ headers: currentRawResponse.headers.toJSON(),
4291
+ },
4292
+ };
4293
+ });
4294
+ const lro = createLroSpec({
4295
+ sendOperationFn,
4296
+ args: { resourceGroupName, searchServiceName, nspConfigName, options },
4297
+ spec: reconcileOperationSpec,
4298
+ });
4299
+ const poller = yield coreLro.createHttpPoller(lro, {
4300
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
4301
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
4302
+ resourceLocationConfig: "location",
4303
+ });
4304
+ yield poller.poll();
4305
+ return poller;
4306
+ });
4307
+ }
4308
+ /**
4309
+ * Reconcile network security perimeter configuration for the Azure AI Search resource provider. This
4310
+ * triggers a manual resync with network security perimeter configurations by ensuring the search
4311
+ * service carries the latest configuration.
4312
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
4313
+ * obtain this value from the Azure Resource Manager API or the portal.
4314
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
4315
+ * resource group.
4316
+ * @param nspConfigName The network security configuration name.
4317
+ * @param options The options parameters.
4318
+ */
4319
+ beginReconcileAndWait(resourceGroupName, searchServiceName, nspConfigName, options) {
4320
+ return tslib.__awaiter(this, void 0, void 0, function* () {
4321
+ const poller = yield this.beginReconcile(resourceGroupName, searchServiceName, nspConfigName, options);
4322
+ return poller.pollUntilDone();
4323
+ });
4324
+ }
4325
+ /**
4326
+ * ListByServiceNext
4327
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
4328
+ * obtain this value from the Azure Resource Manager API or the portal.
4329
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
4330
+ * resource group.
4331
+ * @param nextLink The nextLink from the previous successful call to the ListByService method.
4332
+ * @param options The options parameters.
4333
+ */
4334
+ _listByServiceNext(resourceGroupName, searchServiceName, nextLink, options) {
4335
+ return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, nextLink, options }, listByServiceNextOperationSpec);
4336
+ }
4337
+ }
4338
+ // Operation Specifications
4339
+ const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
4340
+ const listByServiceOperationSpec = {
4341
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/networkSecurityPerimeterConfigurations",
4342
+ httpMethod: "GET",
4343
+ responses: {
4344
+ 200: {
4345
+ bodyMapper: NetworkSecurityPerimeterConfigurationListResult,
4346
+ },
4347
+ default: {
4348
+ bodyMapper: CloudError,
4349
+ },
4350
+ },
4351
+ queryParameters: [apiVersion],
4352
+ urlParameters: [
4353
+ $host,
4354
+ resourceGroupName,
4355
+ searchServiceName,
4356
+ subscriptionId,
4357
+ ],
4358
+ headerParameters: [accept],
4359
+ serializer: serializer$1,
4360
+ };
4361
+ const getOperationSpec = {
4362
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/networkSecurityPerimeterConfigurations/{nspConfigName}",
4363
+ httpMethod: "GET",
4364
+ responses: {
4365
+ 200: {
4366
+ bodyMapper: NetworkSecurityPerimeterConfiguration,
4367
+ },
4368
+ default: {
4369
+ bodyMapper: CloudError,
4370
+ },
4371
+ },
4372
+ queryParameters: [apiVersion],
4373
+ urlParameters: [
4374
+ $host,
4375
+ resourceGroupName,
4376
+ searchServiceName,
4377
+ subscriptionId,
4378
+ nspConfigName,
4379
+ ],
4380
+ headerParameters: [accept],
4381
+ serializer: serializer$1,
4382
+ };
4383
+ const reconcileOperationSpec = {
4384
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/networkSecurityPerimeterConfigurations/{nspConfigName}/reconcile",
4385
+ httpMethod: "POST",
4386
+ responses: {
4387
+ 200: {
4388
+ headersMapper: NetworkSecurityPerimeterConfigurationsReconcileHeaders,
4389
+ },
4390
+ 201: {
4391
+ headersMapper: NetworkSecurityPerimeterConfigurationsReconcileHeaders,
4392
+ },
4393
+ 202: {
4394
+ headersMapper: NetworkSecurityPerimeterConfigurationsReconcileHeaders,
4395
+ },
4396
+ 204: {
4397
+ headersMapper: NetworkSecurityPerimeterConfigurationsReconcileHeaders,
4398
+ },
4399
+ default: {
4400
+ bodyMapper: CloudError,
4401
+ },
4402
+ },
4403
+ queryParameters: [apiVersion],
4404
+ urlParameters: [
4405
+ $host,
4406
+ resourceGroupName,
4407
+ searchServiceName,
4408
+ subscriptionId,
4409
+ nspConfigName,
4410
+ ],
4411
+ headerParameters: [accept],
4412
+ serializer: serializer$1,
4413
+ };
4414
+ const listByServiceNextOperationSpec = {
4415
+ path: "{nextLink}",
4416
+ httpMethod: "GET",
4417
+ responses: {
4418
+ 200: {
4419
+ bodyMapper: NetworkSecurityPerimeterConfigurationListResult,
4420
+ },
4421
+ default: {
4422
+ bodyMapper: CloudError,
4423
+ },
4424
+ },
4425
+ urlParameters: [
4426
+ $host,
4427
+ resourceGroupName,
4428
+ searchServiceName,
4429
+ subscriptionId,
4430
+ nextLink,
4431
+ ],
4432
+ headerParameters: [accept],
4433
+ serializer: serializer$1,
3408
4434
  };
3409
4435
 
3410
4436
  /*
@@ -3436,14 +4462,14 @@ class SearchManagementClient extends coreClient__namespace.ServiceClient {
3436
4462
  }
3437
4463
  const defaults = {
3438
4464
  requestContentType: "application/json; charset=utf-8",
3439
- credential: credentials
4465
+ credential: credentials,
3440
4466
  };
3441
- const packageDetails = `azsdk-js-arm-search/3.2.0`;
4467
+ const packageDetails = `azsdk-js-arm-search/3.3.0-beta.1`;
3442
4468
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
3443
4469
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
3444
4470
  : `${packageDetails}`;
3445
4471
  const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
3446
- userAgentPrefix
4472
+ userAgentPrefix,
3447
4473
  }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
3448
4474
  super(optionsWithDefaults);
3449
4475
  let bearerTokenAuthenticationPolicyFound = false;
@@ -3457,21 +4483,21 @@ class SearchManagementClient extends coreClient__namespace.ServiceClient {
3457
4483
  options.pipeline.getOrderedPolicies().length == 0 ||
3458
4484
  !bearerTokenAuthenticationPolicyFound) {
3459
4485
  this.pipeline.removePolicy({
3460
- name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
4486
+ name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName,
3461
4487
  });
3462
4488
  this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
3463
4489
  credential: credentials,
3464
4490
  scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
3465
4491
  challengeCallbacks: {
3466
- authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
3467
- }
4492
+ authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge,
4493
+ },
3468
4494
  }));
3469
4495
  }
3470
4496
  // Parameter assignments
3471
4497
  this.subscriptionId = subscriptionId;
3472
4498
  // Assigning values to Constant parameters
3473
4499
  this.$host = options.$host || "https://management.azure.com";
3474
- this.apiVersion = options.apiVersion || "2023-11-01";
4500
+ this.apiVersion = options.apiVersion || "2024-03-01-preview";
3475
4501
  this.operations = new OperationsImpl(this);
3476
4502
  this.adminKeys = new AdminKeysImpl(this);
3477
4503
  this.queryKeys = new QueryKeysImpl(this);
@@ -3480,6 +4506,8 @@ class SearchManagementClient extends coreClient__namespace.ServiceClient {
3480
4506
  this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
3481
4507
  this.sharedPrivateLinkResources = new SharedPrivateLinkResourcesImpl(this);
3482
4508
  this.usages = new UsagesImpl(this);
4509
+ this.networkSecurityPerimeterConfigurations =
4510
+ new NetworkSecurityPerimeterConfigurationsImpl(this);
3483
4511
  this.addCustomApiVersionPolicy(options.apiVersion);
3484
4512
  }
3485
4513
  /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
@@ -3505,14 +4533,14 @@ class SearchManagementClient extends coreClient__namespace.ServiceClient {
3505
4533
  }
3506
4534
  return next(request);
3507
4535
  });
3508
- }
4536
+ },
3509
4537
  };
3510
4538
  this.pipeline.addPolicy(apiVersionPolicy);
3511
4539
  }
3512
4540
  /**
3513
4541
  * Gets the quota usage for a search sku in the given subscription.
3514
4542
  * @param location The unique location name for a Microsoft Azure geographic region.
3515
- * @param skuName The unique search service sku name supported by Azure Cognitive Search.
4543
+ * @param skuName The unique SKU name that identifies a billable tier.
3516
4544
  * @param options The options parameters.
3517
4545
  */
3518
4546
  usageBySubscriptionSku(location, skuName, options) {
@@ -3526,21 +4554,21 @@ const usageBySubscriptionSkuOperationSpec = {
3526
4554
  httpMethod: "GET",
3527
4555
  responses: {
3528
4556
  200: {
3529
- bodyMapper: QuotaUsageResult
4557
+ bodyMapper: QuotaUsageResult,
3530
4558
  },
3531
4559
  default: {
3532
- bodyMapper: CloudError
3533
- }
4560
+ bodyMapper: CloudError,
4561
+ },
3534
4562
  },
3535
4563
  queryParameters: [apiVersion],
3536
4564
  urlParameters: [
3537
4565
  $host,
3538
4566
  subscriptionId,
3539
4567
  location,
3540
- skuName
4568
+ skuName,
3541
4569
  ],
3542
4570
  headerParameters: [accept, clientRequestId],
3543
- serializer
4571
+ serializer,
3544
4572
  };
3545
4573
 
3546
4574
  exports.SearchManagementClient = SearchManagementClient;