|
23 | 23 | * An instance of this class provides access to all the operations defined in ConnectedRegistriesClient. |
24 | 24 | */ |
25 | 25 | public interface ConnectedRegistriesClient { |
| 26 | + /** |
| 27 | + * Lists all connected registries for the specified container registry. |
| 28 | + * |
| 29 | + * @param resourceGroupName The name of the resource group. The name is case insensitive. |
| 30 | + * @param registryName The name of the container registry. |
| 31 | + * @param filter An OData filter expression that describes a subset of connectedRegistries to return. The parameters |
| 32 | + * that can be filtered are parent.id (the resource id of the connectedRegistry parent), mode, and connectionState. |
| 33 | + * The supported operator is eq. |
| 34 | + * @throws IllegalArgumentException thrown if parameters fail the validation. |
| 35 | + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
| 36 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
| 37 | + * @return the result of a request to list connected registries for a container registry as paginated response with |
| 38 | + * {@link PagedFlux}. |
| 39 | + */ |
| 40 | + @ServiceMethod(returns = ReturnType.COLLECTION) |
| 41 | + PagedFlux<ConnectedRegistryInner> listAsync(String resourceGroupName, String registryName, String filter); |
| 42 | + |
| 43 | + /** |
| 44 | + * Lists all connected registries for the specified container registry. |
| 45 | + * |
| 46 | + * @param resourceGroupName The name of the resource group. The name is case insensitive. |
| 47 | + * @param registryName The name of the container registry. |
| 48 | + * @throws IllegalArgumentException thrown if parameters fail the validation. |
| 49 | + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
| 50 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
| 51 | + * @return the result of a request to list connected registries for a container registry as paginated response with |
| 52 | + * {@link PagedFlux}. |
| 53 | + */ |
| 54 | + @ServiceMethod(returns = ReturnType.COLLECTION) |
| 55 | + PagedFlux<ConnectedRegistryInner> listAsync(String resourceGroupName, String registryName); |
| 56 | + |
| 57 | + /** |
| 58 | + * Lists all connected registries for the specified container registry. |
| 59 | + * |
| 60 | + * @param resourceGroupName The name of the resource group. The name is case insensitive. |
| 61 | + * @param registryName The name of the container registry. |
| 62 | + * @throws IllegalArgumentException thrown if parameters fail the validation. |
| 63 | + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
| 64 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
| 65 | + * @return the result of a request to list connected registries for a container registry as paginated response with |
| 66 | + * {@link PagedIterable}. |
| 67 | + */ |
| 68 | + @ServiceMethod(returns = ReturnType.COLLECTION) |
| 69 | + PagedIterable<ConnectedRegistryInner> list(String resourceGroupName, String registryName); |
| 70 | + |
| 71 | + /** |
| 72 | + * Lists all connected registries for the specified container registry. |
| 73 | + * |
| 74 | + * @param resourceGroupName The name of the resource group. The name is case insensitive. |
| 75 | + * @param registryName The name of the container registry. |
| 76 | + * @param filter An OData filter expression that describes a subset of connectedRegistries to return. The parameters |
| 77 | + * that can be filtered are parent.id (the resource id of the connectedRegistry parent), mode, and connectionState. |
| 78 | + * The supported operator is eq. |
| 79 | + * @param context The context to associate with this operation. |
| 80 | + * @throws IllegalArgumentException thrown if parameters fail the validation. |
| 81 | + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
| 82 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
| 83 | + * @return the result of a request to list connected registries for a container registry as paginated response with |
| 84 | + * {@link PagedIterable}. |
| 85 | + */ |
| 86 | + @ServiceMethod(returns = ReturnType.COLLECTION) |
| 87 | + PagedIterable<ConnectedRegistryInner> list(String resourceGroupName, String registryName, String filter, |
| 88 | + Context context); |
| 89 | + |
26 | 90 | /** |
27 | 91 | * Gets the properties of the connected registry. |
28 | 92 | * |
@@ -427,70 +491,6 @@ SyncPoller<PollResult<Void>, Void> beginDelete(String resourceGroupName, String |
427 | 491 | @ServiceMethod(returns = ReturnType.SINGLE) |
428 | 492 | void delete(String resourceGroupName, String registryName, String connectedRegistryName, Context context); |
429 | 493 |
|
430 | | - /** |
431 | | - * Lists all connected registries for the specified container registry. |
432 | | - * |
433 | | - * @param resourceGroupName The name of the resource group. The name is case insensitive. |
434 | | - * @param registryName The name of the container registry. |
435 | | - * @param filter An OData filter expression that describes a subset of connectedRegistries to return. The parameters |
436 | | - * that can be filtered are parent.id (the resource id of the connectedRegistry parent), mode, and connectionState. |
437 | | - * The supported operator is eq. |
438 | | - * @throws IllegalArgumentException thrown if parameters fail the validation. |
439 | | - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
440 | | - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
441 | | - * @return the result of a request to list connected registries for a container registry as paginated response with |
442 | | - * {@link PagedFlux}. |
443 | | - */ |
444 | | - @ServiceMethod(returns = ReturnType.COLLECTION) |
445 | | - PagedFlux<ConnectedRegistryInner> listAsync(String resourceGroupName, String registryName, String filter); |
446 | | - |
447 | | - /** |
448 | | - * Lists all connected registries for the specified container registry. |
449 | | - * |
450 | | - * @param resourceGroupName The name of the resource group. The name is case insensitive. |
451 | | - * @param registryName The name of the container registry. |
452 | | - * @throws IllegalArgumentException thrown if parameters fail the validation. |
453 | | - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
454 | | - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
455 | | - * @return the result of a request to list connected registries for a container registry as paginated response with |
456 | | - * {@link PagedFlux}. |
457 | | - */ |
458 | | - @ServiceMethod(returns = ReturnType.COLLECTION) |
459 | | - PagedFlux<ConnectedRegistryInner> listAsync(String resourceGroupName, String registryName); |
460 | | - |
461 | | - /** |
462 | | - * Lists all connected registries for the specified container registry. |
463 | | - * |
464 | | - * @param resourceGroupName The name of the resource group. The name is case insensitive. |
465 | | - * @param registryName The name of the container registry. |
466 | | - * @throws IllegalArgumentException thrown if parameters fail the validation. |
467 | | - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
468 | | - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
469 | | - * @return the result of a request to list connected registries for a container registry as paginated response with |
470 | | - * {@link PagedIterable}. |
471 | | - */ |
472 | | - @ServiceMethod(returns = ReturnType.COLLECTION) |
473 | | - PagedIterable<ConnectedRegistryInner> list(String resourceGroupName, String registryName); |
474 | | - |
475 | | - /** |
476 | | - * Lists all connected registries for the specified container registry. |
477 | | - * |
478 | | - * @param resourceGroupName The name of the resource group. The name is case insensitive. |
479 | | - * @param registryName The name of the container registry. |
480 | | - * @param filter An OData filter expression that describes a subset of connectedRegistries to return. The parameters |
481 | | - * that can be filtered are parent.id (the resource id of the connectedRegistry parent), mode, and connectionState. |
482 | | - * The supported operator is eq. |
483 | | - * @param context The context to associate with this operation. |
484 | | - * @throws IllegalArgumentException thrown if parameters fail the validation. |
485 | | - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
486 | | - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
487 | | - * @return the result of a request to list connected registries for a container registry as paginated response with |
488 | | - * {@link PagedIterable}. |
489 | | - */ |
490 | | - @ServiceMethod(returns = ReturnType.COLLECTION) |
491 | | - PagedIterable<ConnectedRegistryInner> list(String resourceGroupName, String registryName, String filter, |
492 | | - Context context); |
493 | | - |
494 | 494 | /** |
495 | 495 | * Deactivates the connected registry instance. |
496 | 496 | * |
|
0 commit comments