public ServiceFuture<List<VirtualMachineSizeInner>> listAsync(String location, final ServiceCallback<List<VirtualMachineSizeInner>> serviceCallback) {
        return ServiceFuture.fromResponse(listWithServiceResponseAsync(location), serviceCallback);
    }
public ServiceFuture < List < VirtualMachineSizeInner > > listAsync ( String location , final ServiceCallback < List < VirtualMachineSizeInner > > serviceCallback ) { return ServiceFuture . fromResponse ( listWithServiceResponseAsync ( location ) , serviceCallback ) ; }
Lists all available virtual machine sizes for a subscription in a location.

@param location The location upon which virtual-machine-sizes is queried.
@param serviceCallback the async ServiceCallback to handle successful and failed responses.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the {@link ServiceFuture} object