public interface QueryKeysClient
| Modifier and Type | Method and Description |
|---|---|
QueryKeyInner |
create(String resourceGroupName,
String searchServiceName,
String name)
Generates a new query key for the specified search service.
|
Mono<QueryKeyInner> |
createAsync(String resourceGroupName,
String searchServiceName,
String name)
Generates a new query key for the specified search service.
|
Mono<QueryKeyInner> |
createAsync(String resourceGroupName,
String searchServiceName,
String name,
UUID clientRequestId)
Generates a new query key for the specified search service.
|
com.azure.core.http.rest.Response<QueryKeyInner> |
createWithResponse(String resourceGroupName,
String searchServiceName,
String name,
UUID clientRequestId,
com.azure.core.util.Context context)
Generates a new query key for the specified search service.
|
Mono<com.azure.core.http.rest.Response<QueryKeyInner>> |
createWithResponseAsync(String resourceGroupName,
String searchServiceName,
String name,
UUID clientRequestId)
Generates a new query key for the specified search service.
|
void |
delete(String resourceGroupName,
String searchServiceName,
String key)
Deletes the specified query key.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String searchServiceName,
String key)
Deletes the specified query key.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String searchServiceName,
String key,
UUID clientRequestId)
Deletes the specified query key.
|
com.azure.core.http.rest.Response<Void> |
deleteWithResponse(String resourceGroupName,
String searchServiceName,
String key,
UUID clientRequestId,
com.azure.core.util.Context context)
Deletes the specified query key.
|
Mono<com.azure.core.http.rest.Response<Void>> |
deleteWithResponseAsync(String resourceGroupName,
String searchServiceName,
String key,
UUID clientRequestId)
Deletes the specified query key.
|
com.azure.core.http.rest.PagedIterable<QueryKeyInner> |
listBySearchService(String resourceGroupName,
String searchServiceName)
Returns the list of query API keys for the given Azure Cognitive Search service.
|
com.azure.core.http.rest.PagedIterable<QueryKeyInner> |
listBySearchService(String resourceGroupName,
String searchServiceName,
UUID clientRequestId,
com.azure.core.util.Context context)
Returns the list of query API keys for the given Azure Cognitive Search service.
|
com.azure.core.http.rest.PagedFlux<QueryKeyInner> |
listBySearchServiceAsync(String resourceGroupName,
String searchServiceName)
Returns the list of query API keys for the given Azure Cognitive Search service.
|
com.azure.core.http.rest.PagedFlux<QueryKeyInner> |
listBySearchServiceAsync(String resourceGroupName,
String searchServiceName,
UUID clientRequestId)
Returns the list of query API keys for the given Azure Cognitive Search service.
|
Mono<com.azure.core.http.rest.Response<QueryKeyInner>> createWithResponseAsync(String resourceGroupName, String searchServiceName, String name, UUID clientRequestId)
resourceGroupName - The name of the resource group within the current subscription. You can obtain this
value from the Azure Resource Manager API or the portal.searchServiceName - The name of the Azure Cognitive Search service associated with the specified resource
group.name - The name of the new query API key.clientRequestId - A client-generated GUID value that identifies this request. If specified, this will be
included in response information as a way to track the request.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<QueryKeyInner> createAsync(String resourceGroupName, String searchServiceName, String name, UUID clientRequestId)
resourceGroupName - The name of the resource group within the current subscription. You can obtain this
value from the Azure Resource Manager API or the portal.searchServiceName - The name of the Azure Cognitive Search service associated with the specified resource
group.name - The name of the new query API key.clientRequestId - A client-generated GUID value that identifies this request. If specified, this will be
included in response information as a way to track the request.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<QueryKeyInner> createAsync(String resourceGroupName, String searchServiceName, String name)
resourceGroupName - The name of the resource group within the current subscription. You can obtain this
value from the Azure Resource Manager API or the portal.searchServiceName - The name of the Azure Cognitive Search service associated with the specified resource
group.name - The name of the new query API key.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.QueryKeyInner create(String resourceGroupName, String searchServiceName, String name)
resourceGroupName - The name of the resource group within the current subscription. You can obtain this
value from the Azure Resource Manager API or the portal.searchServiceName - The name of the Azure Cognitive Search service associated with the specified resource
group.name - The name of the new query API key.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<QueryKeyInner> createWithResponse(String resourceGroupName, String searchServiceName, String name, UUID clientRequestId, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group within the current subscription. You can obtain this
value from the Azure Resource Manager API or the portal.searchServiceName - The name of the Azure Cognitive Search service associated with the specified resource
group.name - The name of the new query API key.clientRequestId - A client-generated GUID value that identifies this request. If specified, this will be
included in response information as a way to track the request.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<QueryKeyInner> listBySearchServiceAsync(String resourceGroupName, String searchServiceName, UUID clientRequestId)
resourceGroupName - The name of the resource group within the current subscription. You can obtain this
value from the Azure Resource Manager API or the portal.searchServiceName - The name of the Azure Cognitive Search service associated with the specified resource
group.clientRequestId - A client-generated GUID value that identifies this request. If specified, this will be
included in response information as a way to track the request.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<QueryKeyInner> listBySearchServiceAsync(String resourceGroupName, String searchServiceName)
resourceGroupName - The name of the resource group within the current subscription. You can obtain this
value from the Azure Resource Manager API or the portal.searchServiceName - The name of the Azure Cognitive Search service associated with the specified resource
group.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<QueryKeyInner> listBySearchService(String resourceGroupName, String searchServiceName)
resourceGroupName - The name of the resource group within the current subscription. You can obtain this
value from the Azure Resource Manager API or the portal.searchServiceName - The name of the Azure Cognitive Search service associated with the specified resource
group.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<QueryKeyInner> listBySearchService(String resourceGroupName, String searchServiceName, UUID clientRequestId, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group within the current subscription. You can obtain this
value from the Azure Resource Manager API or the portal.searchServiceName - The name of the Azure Cognitive Search service associated with the specified resource
group.clientRequestId - A client-generated GUID value that identifies this request. If specified, this will be
included in response information as a way to track the request.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String searchServiceName, String key, UUID clientRequestId)
resourceGroupName - The name of the resource group within the current subscription. You can obtain this
value from the Azure Resource Manager API or the portal.searchServiceName - The name of the Azure Cognitive Search service associated with the specified resource
group.key - The query key to be deleted. Query keys are identified by value, not by name.clientRequestId - A client-generated GUID value that identifies this request. If specified, this will be
included in response information as a way to track the request.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<Void> deleteAsync(String resourceGroupName, String searchServiceName, String key, UUID clientRequestId)
resourceGroupName - The name of the resource group within the current subscription. You can obtain this
value from the Azure Resource Manager API or the portal.searchServiceName - The name of the Azure Cognitive Search service associated with the specified resource
group.key - The query key to be deleted. Query keys are identified by value, not by name.clientRequestId - A client-generated GUID value that identifies this request. If specified, this will be
included in response information as a way to track the request.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<Void> deleteAsync(String resourceGroupName, String searchServiceName, String key)
resourceGroupName - The name of the resource group within the current subscription. You can obtain this
value from the Azure Resource Manager API or the portal.searchServiceName - The name of the Azure Cognitive Search service associated with the specified resource
group.key - The query key to be deleted. Query keys are identified by value, not by name.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void delete(String resourceGroupName, String searchServiceName, String key)
resourceGroupName - The name of the resource group within the current subscription. You can obtain this
value from the Azure Resource Manager API or the portal.searchServiceName - The name of the Azure Cognitive Search service associated with the specified resource
group.key - The query key to be deleted. Query keys are identified by value, not by name.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String searchServiceName, String key, UUID clientRequestId, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group within the current subscription. You can obtain this
value from the Azure Resource Manager API or the portal.searchServiceName - The name of the Azure Cognitive Search service associated with the specified resource
group.key - The query key to be deleted. Query keys are identified by value, not by name.clientRequestId - A client-generated GUID value that identifies this request. If specified, this will be
included in response information as a way to track the request.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Copyright © 2021 Microsoft Corporation. All rights reserved.