Skip to content

Commit d55cdf5

Browse files
[AutoPR azure-resourcemanager-search]-generated-from-SDK Generation - Java-6075076 (#48618)
* Configurations: 'specification/search/resource-manager/Microsoft.Search/Search/tspconfig.yaml', API Version: 2026-03-01-preview, SDK Release Type: beta, and CommitSHA: 'f90ba8622a186403cc11d43b8977d6bfd8410742' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6075076 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * Update CHANGELOG.md --------- Co-authored-by: Weidong Xu <weidxu@microsoft.com>
1 parent 51f7888 commit d55cdf5

File tree

71 files changed

+2274
-235
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+2274
-235
lines changed

sdk/search/azure-resourcemanager-search/CHANGELOG.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
# Release History
22

3-
## 2.55.0-beta.1 (Unreleased)
3+
## 2.55.0-beta.1 (2026-03-27)
44

5-
### Breaking Changes
5+
### Other Changes
6+
7+
#### Dependency Updates
68

7-
- Changed `IdentityType`, `PublicNetworkAccess`, `SharedPrivateLinkResourceProvisioningState`, `SharedPrivateLinkResourceStatus`, `SkuName` from sealed `enum` to `ExpandableStringEnum`.
9+
- Updated `api-version` to `2026-03-01-preview`
810

911
## 2.54.5 (2026-01-29)
1012

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
// Code generated by Microsoft (R) TypeSpec Code Generator.
4+
5+
package com.azure.resourcemanager.search.fluent;
6+
7+
import com.azure.core.annotation.ReturnType;
8+
import com.azure.core.annotation.ServiceMethod;
9+
import com.azure.core.http.rest.Response;
10+
import com.azure.core.util.Context;
11+
import com.azure.resourcemanager.search.fluent.models.OfferingsListResultInner;
12+
import reactor.core.publisher.Mono;
13+
14+
/**
15+
* An instance of this class provides access to all the operations defined in OfferingsClient.
16+
*/
17+
public interface OfferingsClient {
18+
/**
19+
* Lists all of the features and SKUs offered by the Azure AI Search service in each region. Note: This API returns
20+
* a non-ARM resource collection and is not RPC-compliant. It will be replaced with an action-style API in the next
21+
* preview as a breaking change. Customers should avoid taking new dependencies on the current shape.
22+
*
23+
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
24+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
25+
* @return response containing the list of offerings available in Azure AI Search, organized by region along with
26+
* {@link Response} on successful completion of {@link Mono}.
27+
*/
28+
@ServiceMethod(returns = ReturnType.SINGLE)
29+
Mono<Response<OfferingsListResultInner>> listWithResponseAsync();
30+
31+
/**
32+
* Lists all of the features and SKUs offered by the Azure AI Search service in each region. Note: This API returns
33+
* a non-ARM resource collection and is not RPC-compliant. It will be replaced with an action-style API in the next
34+
* preview as a breaking change. Customers should avoid taking new dependencies on the current shape.
35+
*
36+
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
37+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
38+
* @return response containing the list of offerings available in Azure AI Search, organized by region on successful
39+
* completion of {@link Mono}.
40+
*/
41+
@ServiceMethod(returns = ReturnType.SINGLE)
42+
Mono<OfferingsListResultInner> listAsync();
43+
44+
/**
45+
* Lists all of the features and SKUs offered by the Azure AI Search service in each region. Note: This API returns
46+
* a non-ARM resource collection and is not RPC-compliant. It will be replaced with an action-style API in the next
47+
* preview as a breaking change. Customers should avoid taking new dependencies on the current shape.
48+
*
49+
* @param context The context to associate with this operation.
50+
* @throws IllegalArgumentException thrown if parameters fail the validation.
51+
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
52+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
53+
* @return response containing the list of offerings available in Azure AI Search, organized by region along with
54+
* {@link Response}.
55+
*/
56+
@ServiceMethod(returns = ReturnType.SINGLE)
57+
Response<OfferingsListResultInner> listWithResponse(Context context);
58+
59+
/**
60+
* Lists all of the features and SKUs offered by the Azure AI Search service in each region. Note: This API returns
61+
* a non-ARM resource collection and is not RPC-compliant. It will be replaced with an action-style API in the next
62+
* preview as a breaking change. Customers should avoid taking new dependencies on the current shape.
63+
*
64+
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
65+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
66+
* @return response containing the list of offerings available in Azure AI Search, organized by region.
67+
*/
68+
@ServiceMethod(returns = ReturnType.SINGLE)
69+
OfferingsListResultInner list();
70+
}

sdk/search/azure-resourcemanager-search/src/main/java/com/azure/resourcemanager/search/fluent/PrivateEndpointConnectionsClient.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,10 @@ PrivateEndpointConnectionInner update(String resourceGroupName, String searchSer
161161

162162
/**
163163
* Disconnects the private endpoint connection and deletes it from the search service.
164+
* Returns 200 (OK) with the deleted connection details on successful deletion, or 404 (Not Found) if the connection
165+
* does not exist.
166+
* NOTE: The behavior of returning 404 is inconsistent with ARM guidelines. Clients should expect a 204 response in
167+
* future versions and avoid new dependencies on the 404 response.
164168
*
165169
* @param resourceGroupName The name of the resource group. The name is case insensitive.
166170
* @param searchServiceName The name of the Azure AI Search service associated with the specified resource group.
@@ -178,6 +182,10 @@ Mono<Response<PrivateEndpointConnectionInner>> deleteWithResponseAsync(String re
178182

179183
/**
180184
* Disconnects the private endpoint connection and deletes it from the search service.
185+
* Returns 200 (OK) with the deleted connection details on successful deletion, or 404 (Not Found) if the connection
186+
* does not exist.
187+
* NOTE: The behavior of returning 404 is inconsistent with ARM guidelines. Clients should expect a 204 response in
188+
* future versions and avoid new dependencies on the 404 response.
181189
*
182190
* @param resourceGroupName The name of the resource group. The name is case insensitive.
183191
* @param searchServiceName The name of the Azure AI Search service associated with the specified resource group.
@@ -195,6 +203,10 @@ Mono<PrivateEndpointConnectionInner> deleteAsync(String resourceGroupName, Strin
195203

196204
/**
197205
* Disconnects the private endpoint connection and deletes it from the search service.
206+
* Returns 200 (OK) with the deleted connection details on successful deletion, or 404 (Not Found) if the connection
207+
* does not exist.
208+
* NOTE: The behavior of returning 404 is inconsistent with ARM guidelines. Clients should expect a 204 response in
209+
* future versions and avoid new dependencies on the 404 response.
198210
*
199211
* @param resourceGroupName The name of the resource group. The name is case insensitive.
200212
* @param searchServiceName The name of the Azure AI Search service associated with the specified resource group.
@@ -213,6 +225,10 @@ Response<PrivateEndpointConnectionInner> deleteWithResponse(String resourceGroup
213225

214226
/**
215227
* Disconnects the private endpoint connection and deletes it from the search service.
228+
* Returns 200 (OK) with the deleted connection details on successful deletion, or 404 (Not Found) if the connection
229+
* does not exist.
230+
* NOTE: The behavior of returning 404 is inconsistent with ARM guidelines. Clients should expect a 204 response in
231+
* future versions and avoid new dependencies on the 404 response.
216232
*
217233
* @param resourceGroupName The name of the resource group. The name is case insensitive.
218234
* @param searchServiceName The name of the Azure AI Search service associated with the specified resource group.

sdk/search/azure-resourcemanager-search/src/main/java/com/azure/resourcemanager/search/fluent/QueryKeysClient.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@ PagedIterable<QueryKeyInner> listBySearchService(String resourceGroupName, Strin
127127
/**
128128
* Deletes the specified query key. Unlike admin keys, query keys are not regenerated. The process for regenerating
129129
* a query key is to delete and then recreate it.
130+
* Returns 200 (OK) on successful deletion, 204 (No Content) if the service exists but the query keys not found, or
131+
* 404 (Not Found) if the service is not found.
132+
* NOTE: The behavior of returning 404 is inconsistent with ARM guidelines. Clients should expect a 204 response in
133+
* future versions and avoid new dependencies on the 404 response.
130134
*
131135
* @param resourceGroupName The name of the resource group. The name is case insensitive.
132136
* @param searchServiceName The name of the Azure AI Search service associated with the specified resource group.
@@ -142,6 +146,10 @@ PagedIterable<QueryKeyInner> listBySearchService(String resourceGroupName, Strin
142146
/**
143147
* Deletes the specified query key. Unlike admin keys, query keys are not regenerated. The process for regenerating
144148
* a query key is to delete and then recreate it.
149+
* Returns 200 (OK) on successful deletion, 204 (No Content) if the service exists but the query keys not found, or
150+
* 404 (Not Found) if the service is not found.
151+
* NOTE: The behavior of returning 404 is inconsistent with ARM guidelines. Clients should expect a 204 response in
152+
* future versions and avoid new dependencies on the 404 response.
145153
*
146154
* @param resourceGroupName The name of the resource group. The name is case insensitive.
147155
* @param searchServiceName The name of the Azure AI Search service associated with the specified resource group.
@@ -157,6 +165,10 @@ PagedIterable<QueryKeyInner> listBySearchService(String resourceGroupName, Strin
157165
/**
158166
* Deletes the specified query key. Unlike admin keys, query keys are not regenerated. The process for regenerating
159167
* a query key is to delete and then recreate it.
168+
* Returns 200 (OK) on successful deletion, 204 (No Content) if the service exists but the query keys not found, or
169+
* 404 (Not Found) if the service is not found.
170+
* NOTE: The behavior of returning 404 is inconsistent with ARM guidelines. Clients should expect a 204 response in
171+
* future versions and avoid new dependencies on the 404 response.
160172
*
161173
* @param resourceGroupName The name of the resource group. The name is case insensitive.
162174
* @param searchServiceName The name of the Azure AI Search service associated with the specified resource group.
@@ -173,6 +185,10 @@ PagedIterable<QueryKeyInner> listBySearchService(String resourceGroupName, Strin
173185
/**
174186
* Deletes the specified query key. Unlike admin keys, query keys are not regenerated. The process for regenerating
175187
* a query key is to delete and then recreate it.
188+
* Returns 200 (OK) on successful deletion, 204 (No Content) if the service exists but the query keys not found, or
189+
* 404 (Not Found) if the service is not found.
190+
* NOTE: The behavior of returning 404 is inconsistent with ARM guidelines. Clients should expect a 204 response in
191+
* future versions and avoid new dependencies on the 404 response.
176192
*
177193
* @param resourceGroupName The name of the resource group. The name is case insensitive.
178194
* @param searchServiceName The name of the Azure AI Search service associated with the specified resource group.

sdk/search/azure-resourcemanager-search/src/main/java/com/azure/resourcemanager/search/fluent/SearchManagementClient.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,13 @@ public interface SearchManagementClient {
5252
*/
5353
Duration getDefaultPollInterval();
5454

55+
/**
56+
* Gets the OfferingsClient object to access its operations.
57+
*
58+
* @return the OfferingsClient object.
59+
*/
60+
OfferingsClient getOfferings();
61+
5562
/**
5663
* Gets the OperationsClient object to access its operations.
5764
*

0 commit comments

Comments
 (0)