code: public Observable<ConnectionTypeInner> createOrUpdateAsync(String resourceGroupName, String automationAccountName, String connectionTypeName, ConnectionTypeCreateOrUpdateParameters parameters) {
          return createOrUpdateWithServiceResponseAsync(resourceGroupName, automationAccountName, connectionTypeName, parameters).map(new Func1<ServiceResponse<ConnectionTypeInner>, ConnectionTypeInner>() {
              @Override
              public ConnectionTypeInner call(ServiceResponse<ConnectionTypeInner> response) {
                  return response.body();
              }
          });
      }
docs: Create a connectiontype.
  
  @param resourceGroupName Name of an Azure Resource group.
  @param automationAccountName The name of the automation account.
  @param connectionTypeName The parameters supplied to the create or update connectiontype operation.
  @param parameters The parameters supplied to the create or update connectiontype operation.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the ConnectionTypeInner object