Interface Images


public interface Images
Resource collection API of Images.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String resourceGroupName, String devCenterName, String galleryName, String imageName)
    Gets a gallery image.
    com.azure.core.http.rest.Response<Image>
    getWithResponse(String resourceGroupName, String devCenterName, String galleryName, String imageName, com.azure.core.util.Context context)
    Gets a gallery image.
    com.azure.core.http.rest.PagedIterable<Image>
    listByDevCenter(String resourceGroupName, String devCenterName)
    Lists images for a devcenter.
    com.azure.core.http.rest.PagedIterable<Image>
    listByDevCenter(String resourceGroupName, String devCenterName, Integer top, com.azure.core.util.Context context)
    Lists images for a devcenter.
    com.azure.core.http.rest.PagedIterable<Image>
    listByGallery(String resourceGroupName, String devCenterName, String galleryName)
    Lists images for a gallery.
    com.azure.core.http.rest.PagedIterable<Image>
    listByGallery(String resourceGroupName, String devCenterName, String galleryName, Integer top, com.azure.core.util.Context context)
    Lists images for a gallery.
  • Method Details

    • listByDevCenter

      com.azure.core.http.rest.PagedIterable<Image> listByDevCenter(String resourceGroupName, String devCenterName)
      Lists images for a devcenter.
      Parameters:
      resourceGroupName - Name of the resource group within the Azure subscription.
      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<Image> listByDevCenter(String resourceGroupName, String devCenterName, Integer top, com.azure.core.util.Context context)
      Lists images for a devcenter.
      Parameters:
      resourceGroupName - Name of the resource group within the Azure subscription.
      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<Image> listByGallery(String resourceGroupName, String devCenterName, String galleryName)
      Lists images for a gallery.
      Parameters:
      resourceGroupName - Name of the resource group within the Azure subscription.
      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<Image> listByGallery(String resourceGroupName, String devCenterName, String galleryName, Integer top, com.azure.core.util.Context context)
      Lists images for a gallery.
      Parameters:
      resourceGroupName - Name of the resource group within the Azure subscription.
      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.
    • get

      Image get(String resourceGroupName, String devCenterName, String galleryName, String imageName)
      Gets a gallery image.
      Parameters:
      resourceGroupName - Name of the resource group within the Azure subscription.
      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.
    • getWithResponse

      com.azure.core.http.rest.Response<Image> getWithResponse(String resourceGroupName, String devCenterName, String galleryName, String imageName, com.azure.core.util.Context context)
      Gets a gallery image.
      Parameters:
      resourceGroupName - Name of the resource group within the Azure subscription.
      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.