ServicesClient Interface

Implements

public interface ServicesClient
extends InnerSupportsGet<SearchServiceInner>, InnerSupportsListing<SearchServiceInner>, InnerSupportsDelete<Void>

An instance of this class provides access to all the operations defined in ServicesClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<SearchServiceInner>,SearchServiceInner> beginCreateOrUpdate(String resourceGroupName, String searchServiceName, SearchServiceInner serviceParam)

Creates or updates a search service in the given resource group.

abstract SyncPoller<PollResult<SearchServiceInner>,SearchServiceInner> beginCreateOrUpdate(String resourceGroupName, String searchServiceName, SearchServiceInner serviceParam, Context context)

Creates or updates a search service in the given resource group.

abstract PollerFlux<PollResult<SearchServiceInner>,SearchServiceInner> beginCreateOrUpdateAsync(String resourceGroupName, String searchServiceName, SearchServiceInner serviceParam)

Creates or updates a search service in the given resource group.

abstract SyncPoller<PollResult<SearchServiceInner>,SearchServiceInner> beginUpgrade(String resourceGroupName, String searchServiceName)

Upgrades the Azure AI Search service to the latest version available.

abstract SyncPoller<PollResult<SearchServiceInner>,SearchServiceInner> beginUpgrade(String resourceGroupName, String searchServiceName, Context context)

Upgrades the Azure AI Search service to the latest version available.

abstract PollerFlux<PollResult<SearchServiceInner>,SearchServiceInner> beginUpgradeAsync(String resourceGroupName, String searchServiceName)

Upgrades the Azure AI Search service to the latest version available.

abstract CheckNameAvailabilityOutput checkNameAvailability(CheckNameAvailabilityInput checkNameAvailabilityInput)

Checks whether or not the given search service name is available for use.

abstract reactor.core.publisher.Mono<CheckNameAvailabilityOutput> checkNameAvailabilityAsync(CheckNameAvailabilityInput checkNameAvailabilityInput)

Checks whether or not the given search service name is available for use.

abstract Response<CheckNameAvailabilityOutput> checkNameAvailabilityWithResponse(CheckNameAvailabilityInput checkNameAvailabilityInput, Context context)

Checks whether or not the given search service name is available for use.

abstract reactor.core.publisher.Mono<Response<CheckNameAvailabilityOutput>> checkNameAvailabilityWithResponseAsync(CheckNameAvailabilityInput checkNameAvailabilityInput)

Checks whether or not the given search service name is available for use.

abstract SearchServiceInner createOrUpdate(String resourceGroupName, String searchServiceName, SearchServiceInner serviceParam)

Creates or updates a search service in the given resource group.

abstract SearchServiceInner createOrUpdate(String resourceGroupName, String searchServiceName, SearchServiceInner serviceParam, Context context)

Creates or updates a search service in the given resource group.

abstract reactor.core.publisher.Mono<SearchServiceInner> createOrUpdateAsync(String resourceGroupName, String searchServiceName, SearchServiceInner serviceParam)

Creates or updates a search service in the given resource group.

abstract reactor.core.publisher.Mono<Response<reactor.core.publisher.Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String searchServiceName, SearchServiceInner serviceParam)

Creates or updates a search service in the given resource group.

abstract void delete(String resourceGroupName, String searchServiceName)

Deletes a search service in the given resource group, along with its associated resources.

abstract reactor.core.publisher.Mono<Void> deleteAsync(String resourceGroupName, String searchServiceName)

Deletes a search service in the given resource group, along with its associated resources.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String searchServiceName, Context context)

Deletes a search service in the given resource group, along with its associated resources.

abstract reactor.core.publisher.Mono<Response<Void>> deleteWithResponseAsync(String resourceGroupName, String searchServiceName)

Deletes a search service in the given resource group, along with its associated resources.

abstract SearchServiceInner getByResourceGroup(String resourceGroupName, String searchServiceName)

Gets the search service with the given name in the given resource group.

abstract reactor.core.publisher.Mono<SearchServiceInner> getByResourceGroupAsync(String resourceGroupName, String searchServiceName)

Gets the search service with the given name in the given resource group.

abstract Response<SearchServiceInner> getByResourceGroupWithResponse(String resourceGroupName, String searchServiceName, Context context)

Gets the search service with the given name in the given resource group.

abstract reactor.core.publisher.Mono<Response<SearchServiceInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String searchServiceName)

Gets the search service with the given name in the given resource group.

abstract PagedIterable<SearchServiceInner> list()

Gets a list of all search services in the given subscription.

abstract PagedIterable<SearchServiceInner> list(Context context)

Gets a list of all search services in the given subscription.

abstract PagedFlux<SearchServiceInner> listAsync()

Gets a list of all search services in the given subscription.

abstract PagedIterable<SearchServiceInner> listByResourceGroup(String resourceGroupName)

Gets a list of all search services in the given resource group.

abstract PagedIterable<SearchServiceInner> listByResourceGroup(String resourceGroupName, Context context)

Gets a list of all search services in the given resource group.

abstract PagedFlux<SearchServiceInner> listByResourceGroupAsync(String resourceGroupName)

Gets a list of all search services in the given resource group.

abstract SearchServiceInner update(String resourceGroupName, String searchServiceName, SearchServiceUpdate serviceParam)

Updates an existing search service in the given resource group.

abstract reactor.core.publisher.Mono<SearchServiceInner> updateAsync(String resourceGroupName, String searchServiceName, SearchServiceUpdate serviceParam)

Updates an existing search service in the given resource group.

abstract Response<SearchServiceInner> updateWithResponse(String resourceGroupName, String searchServiceName, SearchServiceUpdate serviceParam, Context context)

Updates an existing search service in the given resource group.

abstract reactor.core.publisher.Mono<Response<SearchServiceInner>> updateWithResponseAsync(String resourceGroupName, String searchServiceName, SearchServiceUpdate serviceParam)

Updates an existing search service in the given resource group.

abstract SearchServiceInner upgrade(String resourceGroupName, String searchServiceName)

Upgrades the Azure AI Search service to the latest version available.

abstract SearchServiceInner upgrade(String resourceGroupName, String searchServiceName, Context context)

Upgrades the Azure AI Search service to the latest version available.

abstract reactor.core.publisher.Mono<SearchServiceInner> upgradeAsync(String resourceGroupName, String searchServiceName)

Upgrades the Azure AI Search service to the latest version available.

abstract reactor.core.publisher.Mono<Response<reactor.core.publisher.Flux<ByteBuffer>>> upgradeWithResponseAsync(String resourceGroupName, String searchServiceName)

Upgrades the Azure AI Search service to the latest version available.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<SearchServiceInner>,SearchServiceInner> beginCreateOrUpdate(String resourceGroupName, String searchServiceName, SearchServiceInner serviceParam)

Creates or updates a search service in the given resource group. If the search service already exists, all properties will be updated with the given values.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
searchServiceName - The name of the Azure AI Search service associated with the specified resource group.
serviceParam - The definition of the search service to create or update. Create applies to both serverless and dedicated search services; update applies only to dedicated search services.

Returns:

the SyncPoller<T,U> for polling of describes an Azure AI Search service and its current state.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<SearchServiceInner>,SearchServiceInner> beginCreateOrUpdate(String resourceGroupName, String searchServiceName, SearchServiceInner serviceParam, Context context)

Creates or updates a search service in the given resource group. If the search service already exists, all properties will be updated with the given values.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
searchServiceName - The name of the Azure AI Search service associated with the specified resource group.
serviceParam - The definition of the search service to create or update. Create applies to both serverless and dedicated search services; update applies only to dedicated search services.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of describes an Azure AI Search service and its current state.

beginCreateOrUpdateAsync

public abstract PollerFlux<PollResult<SearchServiceInner>,SearchServiceInner> beginCreateOrUpdateAsync(String resourceGroupName, String searchServiceName, SearchServiceInner serviceParam)

Creates or updates a search service in the given resource group. If the search service already exists, all properties will be updated with the given values.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
searchServiceName - The name of the Azure AI Search service associated with the specified resource group.
serviceParam - The definition of the search service to create or update. Create applies to both serverless and dedicated search services; update applies only to dedicated search services.

Returns:

the PollerFlux<T,U> for polling of describes an Azure AI Search service and its current state.

beginUpgrade

public abstract SyncPoller<PollResult<SearchServiceInner>,SearchServiceInner> beginUpgrade(String resourceGroupName, String searchServiceName)

Upgrades the Azure AI Search service to the latest version available.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
searchServiceName - The name of the Azure AI Search service associated with the specified resource group.

Returns:

the SyncPoller<T,U> for polling of describes an Azure AI Search service and its current state.

beginUpgrade

public abstract SyncPoller<PollResult<SearchServiceInner>,SearchServiceInner> beginUpgrade(String resourceGroupName, String searchServiceName, Context context)

Upgrades the Azure AI Search service to the latest version available.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
searchServiceName - The name of the Azure AI Search service associated with the specified resource group.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of describes an Azure AI Search service and its current state.

beginUpgradeAsync

public abstract PollerFlux<PollResult<SearchServiceInner>,SearchServiceInner> beginUpgradeAsync(String resourceGroupName, String searchServiceName)

Upgrades the Azure AI Search service to the latest version available.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
searchServiceName - The name of the Azure AI Search service associated with the specified resource group.

Returns:

the PollerFlux<T,U> for polling of describes an Azure AI Search service and its current state.

checkNameAvailability

public abstract CheckNameAvailabilityOutput checkNameAvailability(CheckNameAvailabilityInput checkNameAvailabilityInput)

Checks whether or not the given search service name is available for use. Search service names must be globally unique since they are part of the service URI (https://<name>.search.windows.net).

Parameters:

checkNameAvailabilityInput - The request body.

Returns:

output of check name availability API.

checkNameAvailabilityAsync

public abstract Mono<CheckNameAvailabilityOutput> checkNameAvailabilityAsync(CheckNameAvailabilityInput checkNameAvailabilityInput)

Checks whether or not the given search service name is available for use. Search service names must be globally unique since they are part of the service URI (https://<name>.search.windows.net).

Parameters:

checkNameAvailabilityInput - The request body.

Returns:

output of check name availability API on successful completion of Mono.

checkNameAvailabilityWithResponse

public abstract Response<CheckNameAvailabilityOutput> checkNameAvailabilityWithResponse(CheckNameAvailabilityInput checkNameAvailabilityInput, Context context)

Checks whether or not the given search service name is available for use. Search service names must be globally unique since they are part of the service URI (https://<name>.search.windows.net).

Parameters:

checkNameAvailabilityInput - The request body.
context - The context to associate with this operation.

Returns:

output of check name availability API along with Response<T>.

checkNameAvailabilityWithResponseAsync

public abstract Mono<Response<CheckNameAvailabilityOutput>> checkNameAvailabilityWithResponseAsync(CheckNameAvailabilityInput checkNameAvailabilityInput)

Checks whether or not the given search service name is available for use. Search service names must be globally unique since they are part of the service URI (https://<name>.search.windows.net).

Parameters:

checkNameAvailabilityInput - The request body.

Returns:

output of check name availability API along with Response<T> on successful completion of Mono.

createOrUpdate

public abstract SearchServiceInner createOrUpdate(String resourceGroupName, String searchServiceName, SearchServiceInner serviceParam)

Creates or updates a search service in the given resource group. If the search service already exists, all properties will be updated with the given values.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
searchServiceName - The name of the Azure AI Search service associated with the specified resource group.
serviceParam - The definition of the search service to create or update. Create applies to both serverless and dedicated search services; update applies only to dedicated search services.

Returns:

describes an Azure AI Search service and its current state.

createOrUpdate

public abstract SearchServiceInner createOrUpdate(String resourceGroupName, String searchServiceName, SearchServiceInner serviceParam, Context context)

Creates or updates a search service in the given resource group. If the search service already exists, all properties will be updated with the given values.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
searchServiceName - The name of the Azure AI Search service associated with the specified resource group.
serviceParam - The definition of the search service to create or update. Create applies to both serverless and dedicated search services; update applies only to dedicated search services.
context - The context to associate with this operation.

Returns:

describes an Azure AI Search service and its current state.

createOrUpdateAsync

public abstract Mono<SearchServiceInner> createOrUpdateAsync(String resourceGroupName, String searchServiceName, SearchServiceInner serviceParam)

Creates or updates a search service in the given resource group. If the search service already exists, all properties will be updated with the given values.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
searchServiceName - The name of the Azure AI Search service associated with the specified resource group.
serviceParam - The definition of the search service to create or update. Create applies to both serverless and dedicated search services; update applies only to dedicated search services.

Returns:

describes an Azure AI Search service and its current state on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String searchServiceName, SearchServiceInner serviceParam)

Creates or updates a search service in the given resource group. If the search service already exists, all properties will be updated with the given values.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
searchServiceName - The name of the Azure AI Search service associated with the specified resource group.
serviceParam - The definition of the search service to create or update. Create applies to both serverless and dedicated search services; update applies only to dedicated search services.

Returns:

describes an Azure AI Search service and its current state along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String searchServiceName)

Deletes a search service in the given resource group, along with its associated resources. Returns 200 (OK) on successful deletion, or 204 (No Content) if the service is not found.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
searchServiceName - The name of the Azure AI Search service associated with the specified resource group.

deleteAsync

public abstract Mono<Void> deleteAsync(String resourceGroupName, String searchServiceName)

Deletes a search service in the given resource group, along with its associated resources. Returns 200 (OK) on successful deletion, or 204 (No Content) if the service is not found.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
searchServiceName - The name of the Azure AI Search service associated with the specified resource group.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponse

public abstract Response<Void> deleteWithResponse(String resourceGroupName, String searchServiceName, Context context)

Deletes a search service in the given resource group, along with its associated resources. Returns 200 (OK) on successful deletion, or 204 (No Content) if the service is not found.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
searchServiceName - The name of the Azure AI Search service associated with the specified resource group.
context - The context to associate with this operation.

Returns:

deleteWithResponseAsync

public abstract Mono<Response<Void>> deleteWithResponseAsync(String resourceGroupName, String searchServiceName)

Deletes a search service in the given resource group, along with its associated resources. Returns 200 (OK) on successful deletion, or 204 (No Content) if the service is not found.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
searchServiceName - The name of the Azure AI Search service associated with the specified resource group.

Returns:

the Response<T> on successful completion of Mono.

getByResourceGroup

public abstract SearchServiceInner getByResourceGroup(String resourceGroupName, String searchServiceName)

Gets the search service with the given name in the given resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
searchServiceName - The name of the Azure AI Search service associated with the specified resource group.

Returns:

the search service with the given name in the given resource group.

getByResourceGroupAsync

public abstract Mono<SearchServiceInner> getByResourceGroupAsync(String resourceGroupName, String searchServiceName)

Gets the search service with the given name in the given resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
searchServiceName - The name of the Azure AI Search service associated with the specified resource group.

Returns:

the search service with the given name in the given resource group on successful completion of Mono.

getByResourceGroupWithResponse

public abstract Response<SearchServiceInner> getByResourceGroupWithResponse(String resourceGroupName, String searchServiceName, Context context)

Gets the search service with the given name in the given resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
searchServiceName - The name of the Azure AI Search service associated with the specified resource group.
context - The context to associate with this operation.

Returns:

the search service with the given name in the given resource group along with Response<T>.

getByResourceGroupWithResponseAsync

public abstract Mono<Response<SearchServiceInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String searchServiceName)

Gets the search service with the given name in the given resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
searchServiceName - The name of the Azure AI Search service associated with the specified resource group.

Returns:

the search service with the given name in the given resource group along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable<SearchServiceInner> list()

Gets a list of all search services in the given subscription.

Returns:

a list of all search services in the given subscription as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<SearchServiceInner> list(Context context)

Gets a list of all search services in the given subscription.

Parameters:

context - The context to associate with this operation.

Returns:

a list of all search services in the given subscription as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux<SearchServiceInner> listAsync()

Gets a list of all search services in the given subscription.

Returns:

a list of all search services in the given subscription as paginated response with PagedFlux<T>.

listByResourceGroup

public abstract PagedIterable<SearchServiceInner> listByResourceGroup(String resourceGroupName)

Gets a list of all search services in the given resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.

Returns:

a list of all search services in the given resource group as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<SearchServiceInner> listByResourceGroup(String resourceGroupName, Context context)

Gets a list of all search services in the given resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
context - The context to associate with this operation.

Returns:

a list of all search services in the given resource group as paginated response with PagedIterable<T>.

listByResourceGroupAsync

public abstract PagedFlux<SearchServiceInner> listByResourceGroupAsync(String resourceGroupName)

Gets a list of all search services in the given resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.

Returns:

a list of all search services in the given resource group as paginated response with PagedFlux<T>.

update

public abstract SearchServiceInner update(String resourceGroupName, String searchServiceName, SearchServiceUpdate serviceParam)

Updates an existing search service in the given resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
searchServiceName - The name of the Azure AI Search service associated with the specified resource group.
serviceParam - The definition of the search service to update.

Returns:

describes an Azure AI Search service and its current state.

updateAsync

public abstract Mono<SearchServiceInner> updateAsync(String resourceGroupName, String searchServiceName, SearchServiceUpdate serviceParam)

Updates an existing search service in the given resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
searchServiceName - The name of the Azure AI Search service associated with the specified resource group.
serviceParam - The definition of the search service to update.

Returns:

describes an Azure AI Search service and its current state on successful completion of Mono.

updateWithResponse

public abstract Response<SearchServiceInner> updateWithResponse(String resourceGroupName, String searchServiceName, SearchServiceUpdate serviceParam, Context context)

Updates an existing search service in the given resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
searchServiceName - The name of the Azure AI Search service associated with the specified resource group.
serviceParam - The definition of the search service to update.
context - The context to associate with this operation.

Returns:

describes an Azure AI Search service and its current state along with Response<T>.

updateWithResponseAsync

public abstract Mono<Response<SearchServiceInner>> updateWithResponseAsync(String resourceGroupName, String searchServiceName, SearchServiceUpdate serviceParam)

Updates an existing search service in the given resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
searchServiceName - The name of the Azure AI Search service associated with the specified resource group.
serviceParam - The definition of the search service to update.

Returns:

describes an Azure AI Search service and its current state along with Response<T> on successful completion of Mono.

upgrade

public abstract SearchServiceInner upgrade(String resourceGroupName, String searchServiceName)

Upgrades the Azure AI Search service to the latest version available.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
searchServiceName - The name of the Azure AI Search service associated with the specified resource group.

Returns:

describes an Azure AI Search service and its current state.

upgrade

public abstract SearchServiceInner upgrade(String resourceGroupName, String searchServiceName, Context context)

Upgrades the Azure AI Search service to the latest version available.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
searchServiceName - The name of the Azure AI Search service associated with the specified resource group.
context - The context to associate with this operation.

Returns:

describes an Azure AI Search service and its current state.

upgradeAsync

public abstract Mono<SearchServiceInner> upgradeAsync(String resourceGroupName, String searchServiceName)

Upgrades the Azure AI Search service to the latest version available.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
searchServiceName - The name of the Azure AI Search service associated with the specified resource group.

Returns:

describes an Azure AI Search service and its current state on successful completion of Mono.

upgradeWithResponseAsync

public abstract Mono<Response<Flux<ByteBuffer>>> upgradeWithResponseAsync(String resourceGroupName, String searchServiceName)

Upgrades the Azure AI Search service to the latest version available.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
searchServiceName - The name of the Azure AI Search service associated with the specified resource group.

Returns:

describes an Azure AI Search service and its current state along with Response<T> on successful completion of Mono.

Applies to