public NetworkInterfaceInner getVirtualMachineScaleSetNetworkInterface(String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, String expand) {
        return getVirtualMachineScaleSetNetworkInterfaceWithServiceResponseAsync(resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, expand).toBlocking().single().body();
    }
public NetworkInterfaceInner getVirtualMachineScaleSetNetworkInterface ( String resourceGroupName , String virtualMachineScaleSetName , String virtualmachineIndex , String networkInterfaceName , String expand ) { return getVirtualMachineScaleSetNetworkInterfaceWithServiceResponseAsync ( resourceGroupName , virtualMachineScaleSetName , virtualmachineIndex , networkInterfaceName , expand ) . toBlocking ( ) . single ( ) . body ( ) ; }
Get the specified network interface in a virtual machine scale set.

@param resourceGroupName The name of the resource group.
@param virtualMachineScaleSetName The name of the virtual machine scale set.
@param virtualmachineIndex The virtual machine index.
@param networkInterfaceName The name of the network interface.
@param expand Expands referenced resources.
@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 NetworkInterfaceInner object if successful.