code: public Observable<SecurityGroupViewResultInner> getVMSecurityRulesAsync(String resourceGroupName, String networkWatcherName, String targetResourceId) {
          return getVMSecurityRulesWithServiceResponseAsync(resourceGroupName, networkWatcherName, targetResourceId).map(new Func1<ServiceResponse<SecurityGroupViewResultInner>, SecurityGroupViewResultInner>() {
              @Override
              public SecurityGroupViewResultInner call(ServiceResponse<SecurityGroupViewResultInner> response) {
                  return response.body();
              }
          });
      }
docs: Gets the configured and effective security group rules on the specified VM.
  
  @param resourceGroupName The name of the resource group.
  @param networkWatcherName The name of the network watcher.
  @param targetResourceId ID of the target VM.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable for the request