Partager via


ImagesClient Interface

public interface ImagesClient

An instance of this class provides access to all the operations defined in ImagesClient.

Method Summary

Modifier and Type Method and Description
abstract ImageInner get(String resourceGroupName, String devCenterName, String galleryName, String imageName)

Gets a gallery image.

abstract Response<ImageInner> getWithResponse(String resourceGroupName, String devCenterName, String galleryName, String imageName, Context context)

Gets a gallery image.

abstract PagedIterable<ImageInner> listByDevCenter(String resourceGroupName, String devCenterName)

Lists images for a devcenter.

abstract PagedIterable<ImageInner> listByDevCenter(String resourceGroupName, String devCenterName, Integer top, Context context)

Lists images for a devcenter.

abstract PagedIterable<ImageInner> listByGallery(String resourceGroupName, String devCenterName, String galleryName)

Lists images for a gallery.

abstract PagedIterable<ImageInner> listByGallery(String resourceGroupName, String devCenterName, String galleryName, Integer top, Context context)

Lists images for a gallery.

Method Details

get

public abstract 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.

getWithResponse

public abstract Response<ImageInner> getWithResponse(String resourceGroupName, String devCenterName, String galleryName, String imageName, 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<T>.

listByDevCenter

public abstract 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<T>.

listByDevCenter

public abstract PagedIterable<ImageInner> listByDevCenter(String resourceGroupName, String devCenterName, Integer top, 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<T>.

listByGallery

public abstract 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<T>.

listByGallery

public abstract PagedIterable<ImageInner> listByGallery(String resourceGroupName, String devCenterName, String galleryName, Integer top, 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<T>.

Applies to