Interface VirtualMachineSizesClient


public interface VirtualMachineSizesClient
An instance of this class provides access to all the operations defined in VirtualMachineSizesClient.
  • Method Details

    • listAsync

      com.azure.core.http.rest.PagedFlux<VirtualMachineSizeInner> listAsync(String location)
      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

      com.azure.core.http.rest.PagedIterable<VirtualMachineSizeInner> list(String location)
      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.