Interface ImagesClient


public interface ImagesClient
An instance of this class provides access to all the operations defined in ImagesClient.
  • Method Details

    • listByDevCenter

      com.azure.core.http.rest.PagedIterable<ImageInner> listByDevCenter(String resourceGroupName, String devCenterName)
      Lists images for a devcenter.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      devCenterName - The name of the devcenter.
      Returns:
      results of the image list operation as paginated response with PagedIterable.
      Throws:
      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.
    • listByDevCenter

      com.azure.core.http.rest.PagedIterable<ImageInner> listByDevCenter(String resourceGroupName, String devCenterName, Integer top, com.azure.core.util.Context context)
      Lists images for a devcenter.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      devCenterName - The name of the devcenter.
      top - The maximum number of resources to return from the operation. Example: '$top=10'.
      context - The context to associate with this operation.
      Returns:
      results of the image list operation as paginated response with PagedIterable.
      Throws:
      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.
    • listByGallery

      com.azure.core.http.rest.PagedIterable<ImageInner> listByGallery(String resourceGroupName, String devCenterName, String galleryName)
      Lists images for a gallery.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      devCenterName - The name of the devcenter.
      galleryName - The name of the gallery.
      Returns:
      results of the image list operation as paginated response with PagedIterable.
      Throws:
      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.
    • listByGallery

      com.azure.core.http.rest.PagedIterable<ImageInner> listByGallery(String resourceGroupName, String devCenterName, String galleryName, Integer top, com.azure.core.util.Context context)
      Lists images for a gallery.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      devCenterName - The name of the devcenter.
      galleryName - The name of the gallery.
      top - The maximum number of resources to return from the operation. Example: '$top=10'.
      context - The context to associate with this operation.
      Returns:
      results of the image list operation as paginated response with PagedIterable.
      Throws:
      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.
    • getWithResponse

      com.azure.core.http.rest.Response<ImageInner> getWithResponse(String resourceGroupName, String devCenterName, String galleryName, String imageName, com.azure.core.util.Context context)
      Gets a gallery image.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      devCenterName - The name of the devcenter.
      galleryName - The name of the gallery.
      imageName - The name of the image.
      context - The context to associate with this operation.
      Returns:
      a gallery image along with Response.
      Throws:
      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.
    • get

      ImageInner get(String resourceGroupName, String devCenterName, String galleryName, String imageName)
      Gets a gallery image.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      devCenterName - The name of the devcenter.
      galleryName - The name of the gallery.
      imageName - The name of the image.
      Returns:
      a gallery image.
      Throws:
      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.