Share via


ImageVersionsClient Interface

public interface ImageVersionsClient

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

Method Details

get

public abstract ImageVersionInner get(String resourceGroupName, String devCenterName, String galleryName, String imageName, String versionName)

Gets an image version.

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.
versionName - The version of the image.

Returns:

an image version.

getWithResponse

public abstract Response<ImageVersionInner> getWithResponse(String resourceGroupName, String devCenterName, String galleryName, String imageName, String versionName, Context context)

Gets an image version.

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.
versionName - The version of the image.
context - The context to associate with this operation.

Returns:

an image version along with Response<T>.

listByImage

public abstract PagedIterable<ImageVersionInner> listByImage(String resourceGroupName, String devCenterName, String galleryName, String imageName)

Lists versions for an 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:

results of the image version list operation as paginated response with PagedIterable<T>.

listByImage

public abstract PagedIterable<ImageVersionInner> listByImage(String resourceGroupName, String devCenterName, String galleryName, String imageName, Context context)

Lists versions for an 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:

results of the image version list operation as paginated response with PagedIterable<T>.

Applies to