Interface VirtualMachineSizesClient
public interface VirtualMachineSizesClient
An instance of this class provides access to all the operations defined in VirtualMachineSizesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.http.rest.PagedIterable<VirtualMachineSizeInner>This API is deprecated.com.azure.core.http.rest.PagedIterable<VirtualMachineSizeInner>This API is deprecated.com.azure.core.http.rest.PagedFlux<VirtualMachineSizeInner>This API is deprecated.
-
Method Details
-
listAsync
This API is deprecated. Use [Resources Skus](https://docs.microsoft.com/rest/api/compute/resourceskus/list).- Parameters:
location- The location upon which virtual-machine-sizes is queried.- Returns:
- the List Virtual Machine operation response as paginated response with
PagedFlux. - 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
This API is deprecated. Use [Resources Skus](https://docs.microsoft.com/rest/api/compute/resourceskus/list).- Parameters:
location- The location upon which virtual-machine-sizes is queried.- Returns:
- the List Virtual Machine operation response as paginated response with
PagedIterable. - 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
com.azure.core.http.rest.PagedIterable<VirtualMachineSizeInner> list(String location, com.azure.core.util.Context context) This API is deprecated. Use [Resources Skus](https://docs.microsoft.com/rest/api/compute/resourceskus/list).- Parameters:
location- The location upon which virtual-machine-sizes is queried.context- The context to associate with this operation.- Returns:
- the List Virtual Machine operation response as paginated response with
PagedIterable. - 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.
-