code: public IntegrationAccountPartnerInner createOrUpdate(String resourceGroupName, String integrationAccountName, String partnerName, IntegrationAccountPartnerInner partner) {
          return createOrUpdateWithServiceResponseAsync(resourceGroupName, integrationAccountName, partnerName, partner).toBlocking().single().body();
      }
docs: Creates or updates an integration account partner.
  
  @param resourceGroupName The resource group name.
  @param integrationAccountName The integration account name.
  @param partnerName The integration account partner name.
  @param partner The integration account partner.
  @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 IntegrationAccountPartnerInner object if successful.