public interface AdminKeysClient
| Modifier and Type | Method and Description |
|---|---|
AdminKeyResultInner |
get(String resourceGroupName,
String searchServiceName)
Gets the primary and secondary admin API keys for the specified Azure Cognitive Search service.
|
Mono<AdminKeyResultInner> |
getAsync(String resourceGroupName,
String searchServiceName)
Gets the primary and secondary admin API keys for the specified Azure Cognitive Search service.
|
Mono<AdminKeyResultInner> |
getAsync(String resourceGroupName,
String searchServiceName,
UUID clientRequestId)
Gets the primary and secondary admin API keys for the specified Azure Cognitive Search service.
|
com.azure.core.http.rest.Response<AdminKeyResultInner> |
getWithResponse(String resourceGroupName,
String searchServiceName,
UUID clientRequestId,
com.azure.core.util.Context context)
Gets the primary and secondary admin API keys for the specified Azure Cognitive Search service.
|
Mono<com.azure.core.http.rest.Response<AdminKeyResultInner>> |
getWithResponseAsync(String resourceGroupName,
String searchServiceName,
UUID clientRequestId)
Gets the primary and secondary admin API keys for the specified Azure Cognitive Search service.
|
AdminKeyResultInner |
regenerate(String resourceGroupName,
String searchServiceName,
AdminKeyKind keyKind)
Regenerates either the primary or secondary admin API key.
|
Mono<AdminKeyResultInner> |
regenerateAsync(String resourceGroupName,
String searchServiceName,
AdminKeyKind keyKind)
Regenerates either the primary or secondary admin API key.
|
Mono<AdminKeyResultInner> |
regenerateAsync(String resourceGroupName,
String searchServiceName,
AdminKeyKind keyKind,
UUID clientRequestId)
Regenerates either the primary or secondary admin API key.
|
com.azure.core.http.rest.Response<AdminKeyResultInner> |
regenerateWithResponse(String resourceGroupName,
String searchServiceName,
AdminKeyKind keyKind,
UUID clientRequestId,
com.azure.core.util.Context context)
Regenerates either the primary or secondary admin API key.
|
Mono<com.azure.core.http.rest.Response<AdminKeyResultInner>> |
regenerateWithResponseAsync(String resourceGroupName,
String searchServiceName,
AdminKeyKind keyKind,
UUID clientRequestId)
Regenerates either the primary or secondary admin API key.
|
Mono<com.azure.core.http.rest.Response<AdminKeyResultInner>> getWithResponseAsync(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.Mono<AdminKeyResultInner> getAsync(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.Mono<AdminKeyResultInner> getAsync(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.AdminKeyResultInner get(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.Response<AdminKeyResultInner> getWithResponse(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<AdminKeyResultInner>> regenerateWithResponseAsync(String resourceGroupName, String searchServiceName, AdminKeyKind keyKind, 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.keyKind - Specifies which key to regenerate. Valid values include 'primary' and 'secondary'.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<AdminKeyResultInner> regenerateAsync(String resourceGroupName, String searchServiceName, AdminKeyKind keyKind, 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.keyKind - Specifies which key to regenerate. Valid values include 'primary' and 'secondary'.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<AdminKeyResultInner> regenerateAsync(String resourceGroupName, String searchServiceName, AdminKeyKind keyKind)
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.keyKind - Specifies which key to regenerate. Valid values include 'primary' and 'secondary'.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.AdminKeyResultInner regenerate(String resourceGroupName, String searchServiceName, AdminKeyKind keyKind)
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.keyKind - Specifies which key to regenerate. Valid values include 'primary' and 'secondary'.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<AdminKeyResultInner> regenerateWithResponse(String resourceGroupName, String searchServiceName, AdminKeyKind keyKind, 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.keyKind - Specifies which key to regenerate. Valid values include 'primary' and 'secondary'.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.