11// Copyright (c) Microsoft Corporation. All rights reserved.
22// Licensed under the MIT License.
3- // Code generated by Microsoft (R) AutoRest Code Generator.
3+ // Code generated by Microsoft (R) TypeSpec Code Generator.
44
55package com .azure .resourcemanager .search .fluent ;
66
1010import com .azure .core .util .Context ;
1111import com .azure .resourcemanager .search .fluent .models .AdminKeyResultInner ;
1212import com .azure .resourcemanager .search .models .AdminKeyKind ;
13- import java .util .UUID ;
1413import reactor .core .publisher .Mono ;
1514
1615/**
@@ -20,26 +19,21 @@ public interface AdminKeysClient {
2019 /**
2120 * Gets the primary and secondary admin API keys for the specified Azure AI Search service.
2221 *
23- * @param resourceGroupName The name of the resource group within the current subscription. You can obtain this
24- * value from the Azure Resource Manager API or the portal.
22+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2523 * @param searchServiceName The name of the Azure AI Search service associated with the specified resource group.
26- * @param clientRequestId A client-generated GUID value that identifies this request. If specified, this will be
27- * included in response information as a way to track the request.
2824 * @throws IllegalArgumentException thrown if parameters fail the validation.
2925 * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
3026 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
3127 * @return the primary and secondary admin API keys for the specified Azure AI Search service along with
3228 * {@link Response} on successful completion of {@link Mono}.
3329 */
3430 @ ServiceMethod (returns = ReturnType .SINGLE )
35- Mono <Response <AdminKeyResultInner >> getWithResponseAsync (String resourceGroupName , String searchServiceName ,
36- UUID clientRequestId );
31+ Mono <Response <AdminKeyResultInner >> getWithResponseAsync (String resourceGroupName , String searchServiceName );
3732
3833 /**
3934 * Gets the primary and secondary admin API keys for the specified Azure AI Search service.
4035 *
41- * @param resourceGroupName The name of the resource group within the current subscription. You can obtain this
42- * value from the Azure Resource Manager API or the portal.
36+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
4337 * @param searchServiceName The name of the Azure AI Search service associated with the specified resource group.
4438 * @throws IllegalArgumentException thrown if parameters fail the validation.
4539 * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -53,11 +47,8 @@ Mono<Response<AdminKeyResultInner>> getWithResponseAsync(String resourceGroupNam
5347 /**
5448 * Gets the primary and secondary admin API keys for the specified Azure AI Search service.
5549 *
56- * @param resourceGroupName The name of the resource group within the current subscription. You can obtain this
57- * value from the Azure Resource Manager API or the portal.
50+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
5851 * @param searchServiceName The name of the Azure AI Search service associated with the specified resource group.
59- * @param clientRequestId A client-generated GUID value that identifies this request. If specified, this will be
60- * included in response information as a way to track the request.
6152 * @param context The context to associate with this operation.
6253 * @throws IllegalArgumentException thrown if parameters fail the validation.
6354 * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -66,14 +57,12 @@ Mono<Response<AdminKeyResultInner>> getWithResponseAsync(String resourceGroupNam
6657 * {@link Response}.
6758 */
6859 @ ServiceMethod (returns = ReturnType .SINGLE )
69- Response <AdminKeyResultInner > getWithResponse (String resourceGroupName , String searchServiceName ,
70- UUID clientRequestId , Context context );
60+ Response <AdminKeyResultInner > getWithResponse (String resourceGroupName , String searchServiceName , Context context );
7161
7262 /**
7363 * Gets the primary and secondary admin API keys for the specified Azure AI Search service.
7464 *
75- * @param resourceGroupName The name of the resource group within the current subscription. You can obtain this
76- * value from the Azure Resource Manager API or the portal.
65+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
7766 * @param searchServiceName The name of the Azure AI Search service associated with the specified resource group.
7867 * @throws IllegalArgumentException thrown if parameters fail the validation.
7968 * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -86,12 +75,9 @@ Response<AdminKeyResultInner> getWithResponse(String resourceGroupName, String s
8675 /**
8776 * Regenerates either the primary or secondary admin API key. You can only regenerate one key at a time.
8877 *
89- * @param resourceGroupName The name of the resource group within the current subscription. You can obtain this
90- * value from the Azure Resource Manager API or the portal.
78+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
9179 * @param searchServiceName The name of the Azure AI Search service associated with the specified resource group.
9280 * @param keyKind Specifies which key to regenerate. Valid values include 'primary' and 'secondary'.
93- * @param clientRequestId A client-generated GUID value that identifies this request. If specified, this will be
94- * included in response information as a way to track the request.
9581 * @throws IllegalArgumentException thrown if parameters fail the validation.
9682 * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
9783 * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -100,13 +86,12 @@ Response<AdminKeyResultInner> getWithResponse(String resourceGroupName, String s
10086 */
10187 @ ServiceMethod (returns = ReturnType .SINGLE )
10288 Mono <Response <AdminKeyResultInner >> regenerateWithResponseAsync (String resourceGroupName , String searchServiceName ,
103- AdminKeyKind keyKind , UUID clientRequestId );
89+ AdminKeyKind keyKind );
10490
10591 /**
10692 * Regenerates either the primary or secondary admin API key. You can only regenerate one key at a time.
10793 *
108- * @param resourceGroupName The name of the resource group within the current subscription. You can obtain this
109- * value from the Azure Resource Manager API or the portal.
94+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
11095 * @param searchServiceName The name of the Azure AI Search service associated with the specified resource group.
11196 * @param keyKind Specifies which key to regenerate. Valid values include 'primary' and 'secondary'.
11297 * @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -121,12 +106,9 @@ Mono<Response<AdminKeyResultInner>> regenerateWithResponseAsync(String resourceG
121106 /**
122107 * Regenerates either the primary or secondary admin API key. You can only regenerate one key at a time.
123108 *
124- * @param resourceGroupName The name of the resource group within the current subscription. You can obtain this
125- * value from the Azure Resource Manager API or the portal.
109+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
126110 * @param searchServiceName The name of the Azure AI Search service associated with the specified resource group.
127111 * @param keyKind Specifies which key to regenerate. Valid values include 'primary' and 'secondary'.
128- * @param clientRequestId A client-generated GUID value that identifies this request. If specified, this will be
129- * included in response information as a way to track the request.
130112 * @param context The context to associate with this operation.
131113 * @throws IllegalArgumentException thrown if parameters fail the validation.
132114 * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -136,13 +118,12 @@ Mono<Response<AdminKeyResultInner>> regenerateWithResponseAsync(String resourceG
136118 */
137119 @ ServiceMethod (returns = ReturnType .SINGLE )
138120 Response <AdminKeyResultInner > regenerateWithResponse (String resourceGroupName , String searchServiceName ,
139- AdminKeyKind keyKind , UUID clientRequestId , Context context );
121+ AdminKeyKind keyKind , Context context );
140122
141123 /**
142124 * Regenerates either the primary or secondary admin API key. You can only regenerate one key at a time.
143125 *
144- * @param resourceGroupName The name of the resource group within the current subscription. You can obtain this
145- * value from the Azure Resource Manager API or the portal.
126+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
146127 * @param searchServiceName The name of the Azure AI Search service associated with the specified resource group.
147128 * @param keyKind Specifies which key to regenerate. Valid values include 'primary' and 'secondary'.
148129 * @throws IllegalArgumentException thrown if parameters fail the validation.
0 commit comments