Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions sdk/search/azure-resourcemanager-search/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
# Release History

## 2.55.0-beta.2 (Unreleased)
## 2.55.0-beta.2 (2026-07-16)

### Features Added

### Breaking Changes
* `models.AutoGeneratedDomainNameLabelScope` was added

### Bugs Fixed
#### `models.SearchServiceUpdate` was modified

### Other Changes
* `autoGeneratedDomainNameLabelScope()` was added
* `withAutoGeneratedDomainNameLabelScope(models.AutoGeneratedDomainNameLabelScope)` was added

## 2.54.8 (2026-07-01)

Expand Down
2 changes: 1 addition & 1 deletion sdk/search/azure-resourcemanager-search/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-search</artifactId>
<version>2.55.0-beta.1</version>
<version>2.55.0-beta.2</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
1 change: 1 addition & 0 deletions sdk/search/azure-resourcemanager-search/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@

--add-opens com.azure.core/com.azure.core.implementation.util=ALL-UNNAMED
</javaModulesSurefireArgLine>
<revapi.skip>true</revapi.skip>
</properties>

<developers>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,63 +8,61 @@
import com.azure.core.annotation.ServiceMethod;
import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;
import com.azure.resourcemanager.search.fluent.models.OfferingsListResultInner;
import com.azure.resourcemanager.search.fluent.models.OfferingsResultInner;
import reactor.core.publisher.Mono;

/**
* An instance of this class provides access to all the operations defined in OfferingsClient.
*/
public interface OfferingsClient {
/**
* Lists all of the features and SKUs offered by the Azure AI Search service in each region. Note: This API returns
* a non-ARM resource collection and is not RPC-compliant. It will be replaced with an action-style API in the next
* preview as a breaking change. Customers should avoid taking new dependencies on the current shape.
* Fetches the features and SKUs offered by the Azure AI Search service in each region, along with the recommended
* default region for creating new services.
*
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return response containing the list of offerings available in Azure AI Search, organized by region along with
* {@link Response} on successful completion of {@link Mono}.
* @return response containing the available Azure AI Search offerings, organized by region, along with the
* recommended default region for creating new services along with {@link Response} on successful completion of
* {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono<Response<OfferingsListResultInner>> listWithResponseAsync();
Mono<Response<OfferingsResultInner>> fetchWithResponseAsync();

/**
* Lists all of the features and SKUs offered by the Azure AI Search service in each region. Note: This API returns
* a non-ARM resource collection and is not RPC-compliant. It will be replaced with an action-style API in the next
* preview as a breaking change. Customers should avoid taking new dependencies on the current shape.
* Fetches the features and SKUs offered by the Azure AI Search service in each region, along with the recommended
* default region for creating new services.
*
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return response containing the list of offerings available in Azure AI Search, organized by region on successful
* completion of {@link Mono}.
* @return response containing the available Azure AI Search offerings, organized by region, along with the
* recommended default region for creating new services on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono<OfferingsListResultInner> listAsync();
Mono<OfferingsResultInner> fetchAsync();

/**
* Lists all of the features and SKUs offered by the Azure AI Search service in each region. Note: This API returns
* a non-ARM resource collection and is not RPC-compliant. It will be replaced with an action-style API in the next
* preview as a breaking change. Customers should avoid taking new dependencies on the current shape.
* Fetches the features and SKUs offered by the Azure AI Search service in each region, along with the recommended
* default region for creating new services.
*
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return response containing the list of offerings available in Azure AI Search, organized by region along with
* {@link Response}.
* @return response containing the available Azure AI Search offerings, organized by region, along with the
* recommended default region for creating new services along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<OfferingsListResultInner> listWithResponse(Context context);
Response<OfferingsResultInner> fetchWithResponse(Context context);

/**
* Lists all of the features and SKUs offered by the Azure AI Search service in each region. Note: This API returns
* a non-ARM resource collection and is not RPC-compliant. It will be replaced with an action-style API in the next
* preview as a breaking change. Customers should avoid taking new dependencies on the current shape.
* Fetches the features and SKUs offered by the Azure AI Search service in each region, along with the recommended
* default region for creating new services.
*
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return response containing the list of offerings available in Azure AI Search, organized by region.
* @return response containing the available Azure AI Search offerings, organized by region, along with the
* recommended default region for creating new services.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
OfferingsListResultInner list();
OfferingsResultInner fetch();
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.

package com.azure.resourcemanager.search.fluent.models;

import com.azure.core.annotation.Immutable;
import com.azure.json.JsonReader;
import com.azure.json.JsonSerializable;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
import com.azure.resourcemanager.search.models.OfferingsByRegion;
import java.io.IOException;
import java.util.List;

/**
* Response containing the available Azure AI Search offerings, organized by region, along with the recommended default
* region for creating new services.
*/
@Immutable
public final class OfferingsResultInner implements JsonSerializable<OfferingsResultInner> {
/*
* The recommended default region for creating new Azure AI Search services.
*/
private String defaultRegion;

/*
* The list of Azure AI Search offerings by region.
*/
private List<OfferingsByRegion> regions;

/**
* Creates an instance of OfferingsResultInner class.
*/
private OfferingsResultInner() {
}

/**
* Get the defaultRegion property: The recommended default region for creating new Azure AI Search services.
*
* @return the defaultRegion value.
*/
public String defaultRegion() {
return this.defaultRegion;
}

/**
* Get the regions property: The list of Azure AI Search offerings by region.
*
* @return the regions value.
*/
public List<OfferingsByRegion> regions() {
return this.regions;
}

/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
if (regions() != null) {
regions().forEach(e -> e.validate());
}
}

/**
* {@inheritDoc}
*/
@Override
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
return jsonWriter.writeEndObject();
}

/**
* Reads an instance of OfferingsResultInner from the JsonReader.
*
* @param jsonReader The JsonReader being read.
* @return An instance of OfferingsResultInner if the JsonReader was pointing to an instance of it, or null if it
* was pointing to JSON null.
* @throws IOException If an error occurs while reading the OfferingsResultInner.
*/
public static OfferingsResultInner fromJson(JsonReader jsonReader) throws IOException {
return jsonReader.readObject(reader -> {
OfferingsResultInner deserializedOfferingsResultInner = new OfferingsResultInner();
while (reader.nextToken() != JsonToken.END_OBJECT) {
String fieldName = reader.getFieldName();
reader.nextToken();

if ("defaultRegion".equals(fieldName)) {
deserializedOfferingsResultInner.defaultRegion = reader.getString();
} else if ("regions".equals(fieldName)) {
List<OfferingsByRegion> regions = reader.readArray(reader1 -> OfferingsByRegion.fromJson(reader1));
deserializedOfferingsResultInner.regions = regions;
} else {
reader.skipChildren();
}
}

return deserializedOfferingsResultInner;
});
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
import com.azure.resourcemanager.search.models.AutoGeneratedDomainNameLabelScope;
import com.azure.resourcemanager.search.models.ComputeType;
import com.azure.resourcemanager.search.models.DataPlaneAuthOptions;
import com.azure.resourcemanager.search.models.EncryptionWithCmk;
Expand Down Expand Up @@ -569,6 +570,34 @@ public List<PrivateEndpointConnectionInner> privateEndpointConnections() {
return this.innerProperties() == null ? null : this.innerProperties().privateEndpointConnections();
}

/**
* Get the autoGeneratedDomainNameLabelScope property: Defines the level of reuse for the auto-generated domain name
* label for the search service (e.g. myservice-&lt;uniqueId&gt;.search.windows.net). If not specified, no
* auto-generated domain name label is created for the search service.
*
* @return the autoGeneratedDomainNameLabelScope value.
*/
public AutoGeneratedDomainNameLabelScope autoGeneratedDomainNameLabelScope() {
return this.innerProperties() == null ? null : this.innerProperties().autoGeneratedDomainNameLabelScope();
}

/**
* Set the autoGeneratedDomainNameLabelScope property: Defines the level of reuse for the auto-generated domain name
* label for the search service (e.g. myservice-&lt;uniqueId&gt;.search.windows.net). If not specified, no
* auto-generated domain name label is created for the search service.
*
* @param autoGeneratedDomainNameLabelScope the autoGeneratedDomainNameLabelScope value to set.
* @return the SearchServiceInner object itself.
*/
public SearchServiceInner
withAutoGeneratedDomainNameLabelScope(AutoGeneratedDomainNameLabelScope autoGeneratedDomainNameLabelScope) {
if (this.innerProperties() == null) {
this.innerProperties = new SearchServiceProperties();
}
this.innerProperties().withAutoGeneratedDomainNameLabelScope(autoGeneratedDomainNameLabelScope);
return this;
}

/**
* Get the sharedPrivateLinkResources property: The list of shared private link resources managed by the Azure AI
* Search service.
Expand Down
Loading
Loading