|
6 | 6 |
|
7 | 7 | import com.azure.core.annotation.ReturnType; |
8 | 8 | import com.azure.core.annotation.ServiceMethod; |
| 9 | +import com.azure.core.http.rest.PagedFlux; |
| 10 | +import com.azure.core.http.rest.PagedIterable; |
9 | 11 | import com.azure.core.http.rest.Response; |
10 | 12 | import com.azure.core.util.Context; |
11 | 13 | import com.azure.resourcemanager.compute.fluent.models.VirtualMachineImageInner; |
12 | 14 | import com.azure.resourcemanager.compute.fluent.models.VirtualMachineImageResourceInner; |
13 | 15 | import com.azure.resourcemanager.compute.fluent.models.VmImagesInEdgeZoneListResultInner; |
| 16 | +import com.azure.resourcemanager.compute.models.Expand; |
14 | 17 | import java.util.List; |
15 | 18 | import reactor.core.publisher.Mono; |
16 | 19 |
|
@@ -385,4 +388,77 @@ Response<VmImagesInEdgeZoneListResultInner> listByEdgeZoneWithResponse(String lo |
385 | 388 | */ |
386 | 389 | @ServiceMethod(returns = ReturnType.SINGLE) |
387 | 390 | VmImagesInEdgeZoneListResultInner listByEdgeZone(String location, String edgeZone); |
| 391 | + |
| 392 | + /** |
| 393 | + * The listWithProperties operation. |
| 394 | + * |
| 395 | + * @param location The name of a supported Azure region. |
| 396 | + * @param publisherName A valid image publisher. |
| 397 | + * @param offer A valid image publisher offer. |
| 398 | + * @param skus A valid image SKU. |
| 399 | + * @param expand The expand expression to apply on the operation. |
| 400 | + * @param top The top parameter. |
| 401 | + * @param orderby The orderby parameter. |
| 402 | + * @throws IllegalArgumentException thrown if parameters fail the validation. |
| 403 | + * @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server. |
| 404 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
| 405 | + * @return the List Virtual Machine Images operation response as paginated response with {@link PagedFlux}. |
| 406 | + */ |
| 407 | + @ServiceMethod(returns = ReturnType.COLLECTION) |
| 408 | + PagedFlux<VirtualMachineImageInner> listWithPropertiesAsync(String location, String publisherName, String offer, |
| 409 | + String skus, Expand expand, Integer top, String orderby); |
| 410 | + |
| 411 | + /** |
| 412 | + * The listWithProperties operation. |
| 413 | + * |
| 414 | + * @param location The name of a supported Azure region. |
| 415 | + * @param publisherName A valid image publisher. |
| 416 | + * @param offer A valid image publisher offer. |
| 417 | + * @param skus A valid image SKU. |
| 418 | + * @param expand The expand expression to apply on the operation. |
| 419 | + * @throws IllegalArgumentException thrown if parameters fail the validation. |
| 420 | + * @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server. |
| 421 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
| 422 | + * @return the List Virtual Machine Images operation response as paginated response with {@link PagedFlux}. |
| 423 | + */ |
| 424 | + @ServiceMethod(returns = ReturnType.COLLECTION) |
| 425 | + PagedFlux<VirtualMachineImageInner> listWithPropertiesAsync(String location, String publisherName, String offer, |
| 426 | + String skus, Expand expand); |
| 427 | + |
| 428 | + /** |
| 429 | + * The listWithProperties operation. |
| 430 | + * |
| 431 | + * @param location The name of a supported Azure region. |
| 432 | + * @param publisherName A valid image publisher. |
| 433 | + * @param offer A valid image publisher offer. |
| 434 | + * @param skus A valid image SKU. |
| 435 | + * @param expand The expand expression to apply on the operation. |
| 436 | + * @throws IllegalArgumentException thrown if parameters fail the validation. |
| 437 | + * @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server. |
| 438 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
| 439 | + * @return the List Virtual Machine Images operation response as paginated response with {@link PagedIterable}. |
| 440 | + */ |
| 441 | + @ServiceMethod(returns = ReturnType.COLLECTION) |
| 442 | + PagedIterable<VirtualMachineImageInner> listWithProperties(String location, String publisherName, String offer, |
| 443 | + String skus, Expand expand); |
| 444 | + |
| 445 | + /** |
| 446 | + * The listWithProperties operation. |
| 447 | + * |
| 448 | + * @param location The name of a supported Azure region. |
| 449 | + * @param publisherName A valid image publisher. |
| 450 | + * @param offer A valid image publisher offer. |
| 451 | + * @param skus A valid image SKU. |
| 452 | + * @param expand The expand expression to apply on the operation. |
| 453 | + * @param top The top parameter. |
| 454 | + * @param orderby The orderby parameter. |
| 455 | + * @param context The context to associate with this operation. |
| 456 | + * @throws IllegalArgumentException thrown if parameters fail the validation. |
| 457 | + * @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server. |
| 458 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
| 459 | + * @return the List Virtual Machine Images operation response as paginated response with {@link PagedIterable}. |
| 460 | + */ |
| 461 | + @ServiceMethod(returns = ReturnType.COLLECTION) |
| 462 | + PagedIterable<VirtualMachineImageInner> listWithProperties(String location, String publisherName, String offer, |
| 463 | + String skus, Expand expand, Integer top, String orderby, Context context); |
388 | 464 | } |
0 commit comments