Interface ImageVersionsClient
public interface ImageVersionsClient
An instance of this class provides access to all the operations defined in ImageVersionsClient.
-
Method Summary
Modifier and TypeMethodDescriptionget
(String resourceGroupName, String devCenterName, String galleryName, String imageName, String versionName) Gets an image version.com.azure.core.http.rest.Response<ImageVersionInner>
getWithResponse
(String resourceGroupName, String devCenterName, String galleryName, String imageName, String versionName, com.azure.core.util.Context context) Gets an image version.com.azure.core.http.rest.PagedIterable<ImageVersionInner>
listByImage
(String resourceGroupName, String devCenterName, String galleryName, String imageName) Lists versions for an image.com.azure.core.http.rest.PagedIterable<ImageVersionInner>
listByImage
(String resourceGroupName, String devCenterName, String galleryName, String imageName, com.azure.core.util.Context context) Lists versions for an image.
-
Method Details
-
listByImage
com.azure.core.http.rest.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
. - 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.
-
listByImage
com.azure.core.http.rest.PagedIterable<ImageVersionInner> listByImage(String resourceGroupName, String devCenterName, String galleryName, String imageName, com.azure.core.util.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
. - 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<ImageVersionInner> getWithResponse(String resourceGroupName, String devCenterName, String galleryName, String imageName, String versionName, com.azure.core.util.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
. - 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
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.
- 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.
-