Interface VirtualMachineImagesClient
-
public interface VirtualMachineImagesClientAn instance of this class provides access to all the operations defined in VirtualMachineImagesClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VirtualMachineImageInnerget(String location, String publisherName, String offer, String skus, String version)Gets a virtual machine image.Mono<VirtualMachineImageInner>getAsync(String location, String publisherName, String offer, String skus, String version)Gets a virtual machine image.com.azure.core.http.rest.Response<VirtualMachineImageInner>getWithResponse(String location, String publisherName, String offer, String skus, String version, com.azure.core.util.Context context)Gets a virtual machine image.Mono<com.azure.core.http.rest.Response<VirtualMachineImageInner>>getWithResponseAsync(String location, String publisherName, String offer, String skus, String version)Gets a virtual machine image.List<VirtualMachineImageResourceInner>list(String location, String publisherName, String offer, String skus)Gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU.Mono<List<VirtualMachineImageResourceInner>>listAsync(String location, String publisherName, String offer, String skus)Gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU.Mono<List<VirtualMachineImageResourceInner>>listAsync(String location, String publisherName, String offer, String skus, String expand, Integer top, String orderby)Gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU.List<VirtualMachineImageResourceInner>listOffers(String location, String publisherName)Gets a list of virtual machine image offers for the specified location and publisher.Mono<List<VirtualMachineImageResourceInner>>listOffersAsync(String location, String publisherName)Gets a list of virtual machine image offers for the specified location and publisher.com.azure.core.http.rest.Response<List<VirtualMachineImageResourceInner>>listOffersWithResponse(String location, String publisherName, com.azure.core.util.Context context)Gets a list of virtual machine image offers for the specified location and publisher.Mono<com.azure.core.http.rest.Response<List<VirtualMachineImageResourceInner>>>listOffersWithResponseAsync(String location, String publisherName)Gets a list of virtual machine image offers for the specified location and publisher.List<VirtualMachineImageResourceInner>listPublishers(String location)Gets a list of virtual machine image publishers for the specified Azure location.Mono<List<VirtualMachineImageResourceInner>>listPublishersAsync(String location)Gets a list of virtual machine image publishers for the specified Azure location.com.azure.core.http.rest.Response<List<VirtualMachineImageResourceInner>>listPublishersWithResponse(String location, com.azure.core.util.Context context)Gets a list of virtual machine image publishers for the specified Azure location.Mono<com.azure.core.http.rest.Response<List<VirtualMachineImageResourceInner>>>listPublishersWithResponseAsync(String location)Gets a list of virtual machine image publishers for the specified Azure location.List<VirtualMachineImageResourceInner>listSkus(String location, String publisherName, String offer)Gets a list of virtual machine image SKUs for the specified location, publisher, and offer.Mono<List<VirtualMachineImageResourceInner>>listSkusAsync(String location, String publisherName, String offer)Gets a list of virtual machine image SKUs for the specified location, publisher, and offer.com.azure.core.http.rest.Response<List<VirtualMachineImageResourceInner>>listSkusWithResponse(String location, String publisherName, String offer, com.azure.core.util.Context context)Gets a list of virtual machine image SKUs for the specified location, publisher, and offer.Mono<com.azure.core.http.rest.Response<List<VirtualMachineImageResourceInner>>>listSkusWithResponseAsync(String location, String publisherName, String offer)Gets a list of virtual machine image SKUs for the specified location, publisher, and offer.com.azure.core.http.rest.Response<List<VirtualMachineImageResourceInner>>listWithResponse(String location, String publisherName, String offer, String skus, String expand, Integer top, String orderby, com.azure.core.util.Context context)Gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU.Mono<com.azure.core.http.rest.Response<List<VirtualMachineImageResourceInner>>>listWithResponseAsync(String location, String publisherName, String offer, String skus, String expand, Integer top, String orderby)Gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU.
-
-
-
Method Detail
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<VirtualMachineImageInner>> getWithResponseAsync(String location, String publisherName, String offer, String skus, String version)
Gets a virtual machine image.- Parameters:
location- The name of a supported Azure region.publisherName- A valid image publisher.offer- A valid image publisher offer.skus- A valid image SKU.version- A valid image SKU version.- Returns:
- a virtual machine image along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAsync
Mono<VirtualMachineImageInner> getAsync(String location, String publisherName, String offer, String skus, String version)
Gets a virtual machine image.- Parameters:
location- The name of a supported Azure region.publisherName- A valid image publisher.offer- A valid image publisher offer.skus- A valid image SKU.version- A valid image SKU version.- Returns:
- a virtual machine image on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
get
VirtualMachineImageInner get(String location, String publisherName, String offer, String skus, String version)
Gets a virtual machine image.- Parameters:
location- The name of a supported Azure region.publisherName- A valid image publisher.offer- A valid image publisher offer.skus- A valid image SKU.version- A valid image SKU version.- Returns:
- a virtual machine image.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- 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<VirtualMachineImageInner> getWithResponse(String location, String publisherName, String offer, String skus, String version, com.azure.core.util.Context context)
Gets a virtual machine image.- Parameters:
location- The name of a supported Azure region.publisherName- A valid image publisher.offer- A valid image publisher offer.skus- A valid image SKU.version- A valid image SKU version.context- The context to associate with this operation.- Returns:
- a virtual machine image along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listWithResponseAsync
Mono<com.azure.core.http.rest.Response<List<VirtualMachineImageResourceInner>>> listWithResponseAsync(String location, String publisherName, String offer, String skus, String expand, Integer top, String orderby)
Gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU.- Parameters:
location- The name of a supported Azure region.publisherName- A valid image publisher.offer- A valid image publisher offer.skus- A valid image SKU.expand- The expand expression to apply on the operation.top- The top parameter.orderby- The orderby parameter.- Returns:
- a list of all virtual machine image versions for the specified location, publisher, offer, and SKU along
with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAsync
Mono<List<VirtualMachineImageResourceInner>> listAsync(String location, String publisherName, String offer, String skus, String expand, Integer top, String orderby)
Gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU.- Parameters:
location- The name of a supported Azure region.publisherName- A valid image publisher.offer- A valid image publisher offer.skus- A valid image SKU.expand- The expand expression to apply on the operation.top- The top parameter.orderby- The orderby parameter.- Returns:
- a list of all virtual machine image versions for the specified location, publisher, offer, and SKU on
successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAsync
Mono<List<VirtualMachineImageResourceInner>> listAsync(String location, String publisherName, String offer, String skus)
Gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU.- Parameters:
location- The name of a supported Azure region.publisherName- A valid image publisher.offer- A valid image publisher offer.skus- A valid image SKU.- Returns:
- a list of all virtual machine image versions for the specified location, publisher, offer, and SKU on
successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
List<VirtualMachineImageResourceInner> list(String location, String publisherName, String offer, String skus)
Gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU.- Parameters:
location- The name of a supported Azure region.publisherName- A valid image publisher.offer- A valid image publisher offer.skus- A valid image SKU.- Returns:
- a list of all virtual machine image versions for the specified location, publisher, offer, and SKU.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listWithResponse
com.azure.core.http.rest.Response<List<VirtualMachineImageResourceInner>> listWithResponse(String location, String publisherName, String offer, String skus, String expand, Integer top, String orderby, com.azure.core.util.Context context)
Gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU.- Parameters:
location- The name of a supported Azure region.publisherName- A valid image publisher.offer- A valid image publisher offer.skus- A valid image SKU.expand- The expand expression to apply on the operation.top- The top parameter.orderby- The orderby parameter.context- The context to associate with this operation.- Returns:
- a list of all virtual machine image versions for the specified location, publisher, offer, and SKU along
with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listOffersWithResponseAsync
Mono<com.azure.core.http.rest.Response<List<VirtualMachineImageResourceInner>>> listOffersWithResponseAsync(String location, String publisherName)
Gets a list of virtual machine image offers for the specified location and publisher.- Parameters:
location- The name of a supported Azure region.publisherName- A valid image publisher.- Returns:
- a list of virtual machine image offers for the specified location and publisher along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listOffersAsync
Mono<List<VirtualMachineImageResourceInner>> listOffersAsync(String location, String publisherName)
Gets a list of virtual machine image offers for the specified location and publisher.- Parameters:
location- The name of a supported Azure region.publisherName- A valid image publisher.- Returns:
- a list of virtual machine image offers for the specified location and publisher on successful completion
of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listOffers
List<VirtualMachineImageResourceInner> listOffers(String location, String publisherName)
Gets a list of virtual machine image offers for the specified location and publisher.- Parameters:
location- The name of a supported Azure region.publisherName- A valid image publisher.- Returns:
- a list of virtual machine image offers for the specified location and publisher.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listOffersWithResponse
com.azure.core.http.rest.Response<List<VirtualMachineImageResourceInner>> listOffersWithResponse(String location, String publisherName, com.azure.core.util.Context context)
Gets a list of virtual machine image offers for the specified location and publisher.- Parameters:
location- The name of a supported Azure region.publisherName- A valid image publisher.context- The context to associate with this operation.- Returns:
- a list of virtual machine image offers for the specified location and publisher along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listPublishersWithResponseAsync
Mono<com.azure.core.http.rest.Response<List<VirtualMachineImageResourceInner>>> listPublishersWithResponseAsync(String location)
Gets a list of virtual machine image publishers for the specified Azure location.- Parameters:
location- The name of a supported Azure region.- Returns:
- a list of virtual machine image publishers for the specified Azure location along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listPublishersAsync
Mono<List<VirtualMachineImageResourceInner>> listPublishersAsync(String location)
Gets a list of virtual machine image publishers for the specified Azure location.- Parameters:
location- The name of a supported Azure region.- Returns:
- a list of virtual machine image publishers for the specified Azure location on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listPublishers
List<VirtualMachineImageResourceInner> listPublishers(String location)
Gets a list of virtual machine image publishers for the specified Azure location.- Parameters:
location- The name of a supported Azure region.- Returns:
- a list of virtual machine image publishers for the specified Azure location.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listPublishersWithResponse
com.azure.core.http.rest.Response<List<VirtualMachineImageResourceInner>> listPublishersWithResponse(String location, com.azure.core.util.Context context)
Gets a list of virtual machine image publishers for the specified Azure location.- Parameters:
location- The name of a supported Azure region.context- The context to associate with this operation.- Returns:
- a list of virtual machine image publishers for the specified Azure location along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listSkusWithResponseAsync
Mono<com.azure.core.http.rest.Response<List<VirtualMachineImageResourceInner>>> listSkusWithResponseAsync(String location, String publisherName, String offer)
Gets a list of virtual machine image SKUs for the specified location, publisher, and offer.- Parameters:
location- The name of a supported Azure region.publisherName- A valid image publisher.offer- A valid image publisher offer.- Returns:
- a list of virtual machine image SKUs for the specified location, publisher, and offer along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listSkusAsync
Mono<List<VirtualMachineImageResourceInner>> listSkusAsync(String location, String publisherName, String offer)
Gets a list of virtual machine image SKUs for the specified location, publisher, and offer.- Parameters:
location- The name of a supported Azure region.publisherName- A valid image publisher.offer- A valid image publisher offer.- Returns:
- a list of virtual machine image SKUs for the specified location, publisher, and offer on successful
completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listSkus
List<VirtualMachineImageResourceInner> listSkus(String location, String publisherName, String offer)
Gets a list of virtual machine image SKUs for the specified location, publisher, and offer.- Parameters:
location- The name of a supported Azure region.publisherName- A valid image publisher.offer- A valid image publisher offer.- Returns:
- a list of virtual machine image SKUs for the specified location, publisher, and offer.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listSkusWithResponse
com.azure.core.http.rest.Response<List<VirtualMachineImageResourceInner>> listSkusWithResponse(String location, String publisherName, String offer, com.azure.core.util.Context context)
Gets a list of virtual machine image SKUs for the specified location, publisher, and offer.- Parameters:
location- The name of a supported Azure region.publisherName- A valid image publisher.offer- A valid image publisher offer.context- The context to associate with this operation.- Returns:
- a list of virtual machine image SKUs for the specified location, publisher, and offer along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
-