code: public Observable<ConnectivityInformationInner> beginCheckConnectivityAsync(String resourceGroupName, String networkWatcherName, ConnectivityParameters parameters) {
          return beginCheckConnectivityWithServiceResponseAsync(resourceGroupName, networkWatcherName, parameters).map(new Func1<ServiceResponse<ConnectivityInformationInner>, ConnectivityInformationInner>() {
              @Override
              public ConnectivityInformationInner call(ServiceResponse<ConnectivityInformationInner> response) {
                  return response.body();
              }
          });
      }
docs: Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server.
  
  @param resourceGroupName The name of the network watcher resource group.
  @param networkWatcherName The name of the network watcher resource.
  @param parameters Parameters that determine how the connectivity check will be performed.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the ConnectivityInformationInner object