|
1 | 1 | // Copyright (c) Microsoft Corporation. All rights reserved. |
2 | 2 | // Licensed under the MIT License. |
3 | | -// Code generated by Microsoft (R) AutoRest Code Generator. |
| 3 | +// Code generated by Microsoft (R) TypeSpec Code Generator. |
4 | 4 |
|
5 | 5 | package com.azure.resourcemanager.redis.fluent; |
6 | 6 |
|
|
22 | 22 | * An instance of this class provides access to all the operations defined in AccessPoliciesClient. |
23 | 23 | */ |
24 | 24 | public interface AccessPoliciesClient { |
| 25 | + /** |
| 26 | + * Gets the detailed information about an access policy of a redis cache. |
| 27 | + * |
| 28 | + * @param resourceGroupName The name of the resource group. The name is case insensitive. |
| 29 | + * @param cacheName The name of the Redis cache. |
| 30 | + * @param accessPolicyName The name of the access policy that is being added to the Redis cache. |
| 31 | + * @throws IllegalArgumentException thrown if parameters fail the validation. |
| 32 | + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
| 33 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
| 34 | + * @return the detailed information about an access policy of a redis cache along with {@link Response} on |
| 35 | + * successful completion of {@link Mono}. |
| 36 | + */ |
| 37 | + @ServiceMethod(returns = ReturnType.SINGLE) |
| 38 | + Mono<Response<RedisCacheAccessPolicyInner>> getWithResponseAsync(String resourceGroupName, String cacheName, |
| 39 | + String accessPolicyName); |
| 40 | + |
| 41 | + /** |
| 42 | + * Gets the detailed information about an access policy of a redis cache. |
| 43 | + * |
| 44 | + * @param resourceGroupName The name of the resource group. The name is case insensitive. |
| 45 | + * @param cacheName The name of the Redis cache. |
| 46 | + * @param accessPolicyName The name of the access policy that is being added to the Redis cache. |
| 47 | + * @throws IllegalArgumentException thrown if parameters fail the validation. |
| 48 | + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
| 49 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
| 50 | + * @return the detailed information about an access policy of a redis cache on successful completion of |
| 51 | + * {@link Mono}. |
| 52 | + */ |
| 53 | + @ServiceMethod(returns = ReturnType.SINGLE) |
| 54 | + Mono<RedisCacheAccessPolicyInner> getAsync(String resourceGroupName, String cacheName, String accessPolicyName); |
| 55 | + |
| 56 | + /** |
| 57 | + * Gets the detailed information about an access policy of a redis cache. |
| 58 | + * |
| 59 | + * @param resourceGroupName The name of the resource group. The name is case insensitive. |
| 60 | + * @param cacheName The name of the Redis cache. |
| 61 | + * @param accessPolicyName The name of the access policy that is being added to the Redis cache. |
| 62 | + * @param context The context to associate with this operation. |
| 63 | + * @throws IllegalArgumentException thrown if parameters fail the validation. |
| 64 | + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
| 65 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
| 66 | + * @return the detailed information about an access policy of a redis cache along with {@link Response}. |
| 67 | + */ |
| 68 | + @ServiceMethod(returns = ReturnType.SINGLE) |
| 69 | + Response<RedisCacheAccessPolicyInner> getWithResponse(String resourceGroupName, String cacheName, |
| 70 | + String accessPolicyName, Context context); |
| 71 | + |
| 72 | + /** |
| 73 | + * Gets the detailed information about an access policy of a redis cache. |
| 74 | + * |
| 75 | + * @param resourceGroupName The name of the resource group. The name is case insensitive. |
| 76 | + * @param cacheName The name of the Redis cache. |
| 77 | + * @param accessPolicyName The name of the access policy that is being added to the Redis cache. |
| 78 | + * @throws IllegalArgumentException thrown if parameters fail the validation. |
| 79 | + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
| 80 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
| 81 | + * @return the detailed information about an access policy of a redis cache. |
| 82 | + */ |
| 83 | + @ServiceMethod(returns = ReturnType.SINGLE) |
| 84 | + RedisCacheAccessPolicyInner get(String resourceGroupName, String cacheName, String accessPolicyName); |
| 85 | + |
25 | 86 | /** |
26 | 87 | * Adds an access policy to the redis cache. |
27 | 88 | * |
@@ -238,67 +299,6 @@ SyncPoller<PollResult<Void>, Void> beginDelete(String resourceGroupName, String |
238 | 299 | @ServiceMethod(returns = ReturnType.SINGLE) |
239 | 300 | void delete(String resourceGroupName, String cacheName, String accessPolicyName, Context context); |
240 | 301 |
|
241 | | - /** |
242 | | - * Gets the detailed information about an access policy of a redis cache. |
243 | | - * |
244 | | - * @param resourceGroupName The name of the resource group. The name is case insensitive. |
245 | | - * @param cacheName The name of the Redis cache. |
246 | | - * @param accessPolicyName The name of the access policy that is being added to the Redis cache. |
247 | | - * @throws IllegalArgumentException thrown if parameters fail the validation. |
248 | | - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
249 | | - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
250 | | - * @return the detailed information about an access policy of a redis cache along with {@link Response} on |
251 | | - * successful completion of {@link Mono}. |
252 | | - */ |
253 | | - @ServiceMethod(returns = ReturnType.SINGLE) |
254 | | - Mono<Response<RedisCacheAccessPolicyInner>> getWithResponseAsync(String resourceGroupName, String cacheName, |
255 | | - String accessPolicyName); |
256 | | - |
257 | | - /** |
258 | | - * Gets the detailed information about an access policy of a redis cache. |
259 | | - * |
260 | | - * @param resourceGroupName The name of the resource group. The name is case insensitive. |
261 | | - * @param cacheName The name of the Redis cache. |
262 | | - * @param accessPolicyName The name of the access policy that is being added to the Redis cache. |
263 | | - * @throws IllegalArgumentException thrown if parameters fail the validation. |
264 | | - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
265 | | - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
266 | | - * @return the detailed information about an access policy of a redis cache on successful completion of |
267 | | - * {@link Mono}. |
268 | | - */ |
269 | | - @ServiceMethod(returns = ReturnType.SINGLE) |
270 | | - Mono<RedisCacheAccessPolicyInner> getAsync(String resourceGroupName, String cacheName, String accessPolicyName); |
271 | | - |
272 | | - /** |
273 | | - * Gets the detailed information about an access policy of a redis cache. |
274 | | - * |
275 | | - * @param resourceGroupName The name of the resource group. The name is case insensitive. |
276 | | - * @param cacheName The name of the Redis cache. |
277 | | - * @param accessPolicyName The name of the access policy that is being added to the Redis cache. |
278 | | - * @param context The context to associate with this operation. |
279 | | - * @throws IllegalArgumentException thrown if parameters fail the validation. |
280 | | - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
281 | | - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
282 | | - * @return the detailed information about an access policy of a redis cache along with {@link Response}. |
283 | | - */ |
284 | | - @ServiceMethod(returns = ReturnType.SINGLE) |
285 | | - Response<RedisCacheAccessPolicyInner> getWithResponse(String resourceGroupName, String cacheName, |
286 | | - String accessPolicyName, Context context); |
287 | | - |
288 | | - /** |
289 | | - * Gets the detailed information about an access policy of a redis cache. |
290 | | - * |
291 | | - * @param resourceGroupName The name of the resource group. The name is case insensitive. |
292 | | - * @param cacheName The name of the Redis cache. |
293 | | - * @param accessPolicyName The name of the access policy that is being added to the Redis cache. |
294 | | - * @throws IllegalArgumentException thrown if parameters fail the validation. |
295 | | - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
296 | | - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
297 | | - * @return the detailed information about an access policy of a redis cache. |
298 | | - */ |
299 | | - @ServiceMethod(returns = ReturnType.SINGLE) |
300 | | - RedisCacheAccessPolicyInner get(String resourceGroupName, String cacheName, String accessPolicyName); |
301 | | - |
302 | 302 | /** |
303 | 303 | * Gets the list of access policies associated with this redis cache. |
304 | 304 | * |
|
0 commit comments