Partager via


SearchServiceManager Class

public final class SearchServiceManager
extends Manager<SearchManagementClient>

Entry point to Azure Cognitive Search service management.

Method Summary

Modifier and Type Method and Description
static SearchServiceManager authenticate(TokenCredential credential, AzureProfile profile)

Creates an instance of SearchServiceManager that exposes Cognitive Search resource management API entry points.

static SearchServiceManager authenticate(HttpPipeline httpPipeline, AzureProfile profile)

Creates an instance of SearchServiceManager that exposes Cognitive Search resource management API entry points.

static Configurable configure()

Get a Configurable instance that can be used to create SearchServiceManager with optional configuration.

SearchServices searchServices()

Methods inherited from Manager

Methods inherited from java.lang.Object

Method Details

authenticate

public static SearchServiceManager authenticate(TokenCredential credential, AzureProfile profile)

Creates an instance of SearchServiceManager that exposes Cognitive Search resource management API entry points.

Parameters:

credential - the credential to use
profile - the profile to use

Returns:

the SearchServiceManager

authenticate

public static SearchServiceManager authenticate(HttpPipeline httpPipeline, AzureProfile profile)

Creates an instance of SearchServiceManager that exposes Cognitive Search resource management API entry points.

Parameters:

httpPipeline - the HttpPipeline configured with Azure authentication credential.
profile - the profile to use

Returns:

the SearchServiceManager

configure

public static SearchServiceManager.Configurable configure()

Get a Configurable instance that can be used to create SearchServiceManager with optional configuration.

Returns:

Configurable

searchServices

public SearchServices searchServices()

Returns:

the availability set resource management API entry point

Applies to