code: public List<VirtualMachineSizeInner> list(String location) {
          return listWithServiceResponseAsync(location).toBlocking().single().body();
      }
docs: Lists all available virtual machine sizes for a subscription in a location.
  
  @param location The location upon which virtual-machine-sizes is queried.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws CloudException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the List&lt;VirtualMachineSizeInner&gt; object if successful.