public VirtualMachineExtensionImageInner get(String location, String publisherName, String type, String version) {
        return getWithServiceResponseAsync(location, publisherName, type, version).toBlocking().single().body();
    }
public VirtualMachineExtensionImageInner get ( String location , String publisherName , String type , String version ) { return getWithServiceResponseAsync ( location , publisherName , type , version ) . toBlocking ( ) . single ( ) . body ( ) ; }
Gets a virtual machine extension image.

@param location The name of a supported Azure region.
@param publisherName the String value
@param type the String value
@param version the String value
@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 VirtualMachineExtensionImageInner object if successful.